NAME
Akamai::Edgegrid - User agent for Akamai {OPEN} Edgegrid
VERSION
Version 1.0
SYNOPSIS
use Akamai::Edgegrid;
my $baseurl = 'https://akaa-bbbbbbbbbbbbb.luna.akamaiapis.net';
my $agent = new Akamai::Edgegrid(
client_token => 'cccccccccccccccc',
client_secret => 'sssssssssssssssss',
access_token => 'aaaaaaaaaaaaaaaaaaaa'
);
my $resp = $agent->get("$baseurl/diagnostic-tools/v1/locations");
print $resp->content;
DESCRIPTION
This module implements the Akamai {OPEN} Edgegrid Authentication scheme as specified by https://developer.akamai.com/stuff/Getting_Started_with_OPEN_APIs/Client_Auth.html.
CONSTRUCTOR METHOD
- $ua = Akamai::Edgegrid->new( %options )
-
This method constructs a new
Akamai::EdgeGrid
object and returns it. This is a subclass ofLWP::UserAgent
and accepts all Key/value pair arguments accepted by the parent class. In addition The following required key/value pairs must be provided:KEY SOURCE ------------- ----------------------------------------------- client_token from "Credentials" section of Manage APIs UI client_secret from "Credentials" section of Manage APIs UI access_token from "Authorizations" section of Manage APIs UI
The following optional key/value pairs may be provided:
KEY DESCRIPTION --------------- ------------------------------------------------------- debug if true enables additional logging headers_to_sign listref of header names to sign (in order) (default []) max_body maximum body size for POSTS (default 2048)
AUTHOR
Jonathan Landis, <jlandis at akamai.com>
BUGS
Please report any bugs or feature requests to the web interface at https://github.com/akamai-open/edgegrid-perl/issues.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc Akamai::Edgegrid
You can also look for information at:
Akamai's OPEN Developer Community
Github issues (report bugs here)
https://github.com/akamai-open/AkamaiOPEN-edgegrid-perl/issues
AnnoCPAN: Annotated CPAN documentation
CPAN Ratings
Search CPAN
LICENSE AND COPYRIGHT
Copyright 2014 Akamai Technologies, Inc. All rights reserved
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
L<http://www.apache.org/licenses/LICENSE-2.0>
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.