AksServiceAccessToken Class

Describes the access token that can be specified in the Authorization header of scoring requests to Webservice.

Create a new instance of WebServiceAccessToken.

Inheritance
AksServiceAccessToken

Constructor

AksServiceAccessToken(access_token, token_type, refresh_after, expiry_on)

Parameters

Name Description
access_token
Required
str

The access token.

refresh_after
Required

Time after which access token should be fetched again.

expiry_on
Required

Expiration time of the access token.

token_type
Required
str

The type of access token.

access_token
Required
str

The access token.

refresh_after
Required

Time after which access token should be fetched again.

expiry_on
Required

Expiration time of the access token.

token_type
Required
str

The type of access token.