ePages 7.1.0 - DE_EPAGES/OAuthTokenClient/API/Object/OAuth2Credentials.pm

Package DE_EPAGES::OAuthTokenClient::API::Object::OAuth2Credentials

Wrapper object for OAuth2 credentials

Functions

accessToken
clientId
clientSecret
clientSecretDigest
id
name
shopGUID

accessToken

Returns the access token.

Syntax
$Credentials = $Credentials->accessToken;
Return
$Credentials (string)
OAuth2 access token

clientId

Returns the client id.

Syntax
$clientId = $Credentials->clientId;
Return
$clientId (string)
OAuth2 client id

clientSecret

Returns the client secret.

Syntax
$clientSecret = $Credentials->clientSecret;
Return
$clientSecret (string)
OAuth2 client secret

clientSecretDigest

Returns the client secret digest.

Syntax
$clientSecretDigest = $Credentials->clientSecretDigest;
Return
$clientSecretDigest (string)
OAuth2 client secret digest

id

Returns the actual id.

Syntax
$id = $Credentials->id;
Return
$id (string)
OAuth2 id

name

Returns the id name.

Syntax
$name = $Credentials->name;
Return
$name (string)
OAuth2 name

shopGUID

Returns the shop guid.

Syntax
$shopGUID = $Credentials->shopGUID;
Return
$shopGUID (string)
OAuth2 shop guid