AsposeCellsCloud::OAuthApi

Load the API package

use AsposeCellsCloud::Object::OAuthApi;

All URIs are relative to https://api.aspose.cloud/v1.1/

Method | HTTP request | Description ------------- | ------------- | ------------- o_auth_post | POST /oauth2/token | Get Access token

o_auth_post

AccessTokenResponse o_auth_post(grant_type => $grant_type, client_id => $client_id, client_secret => $client_secret)

Get Access token

Example

use Data::Dumper;
use AsposeCellsCloud::OAuthApi;
my $api_instance = AsposeCellsCloud::OAuthApi->new(
);

my $grant_type = 'grant_type_example'; # string | Grant Type
my $client_id = 'client_id_example'; # string | App SID
my $client_secret = 'client_secret_example'; # string | App Key

eval { 
    my $result = $api_instance->o_auth_post(grant_type => $grant_type, client_id => $client_id, client_secret => $client_secret);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling OAuthApi->o_auth_post: $@\n";
}

Parameters

Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- grant_type | string| Grant Type | client_id | string| App SID | client_secret | string| App Key |

Return type

AccessTokenResponse

Authorization

No authorization required

HTTP request headers

[Back to top] [Back to API list] [Back to Model list] [Back to README]