NAME
Akamai::Edgegrid - User agent for Akamai {OPEN} Edgegrid
VERSION
Version 1.0
SYNOPSIS
use Akamai::Edgegrid;
my $agent = new Akamai::Edgegrid(
config_file => "$ENV{HOME}/.edgerc",
section => "default");
my $baseurl = "https://" . $agent->{host};
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/introduction/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.