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

access_token
str
Required

The access token.

refresh_after
datetime
Required

Time after which access token should be fetched again.

expiry_on
datetime
Required

Expiration time of the access token.

token_type
str
Required

The type of access token.

access_token
str
Required

The access token.

refresh_after
datetime
Required

Time after which access token should be fetched again.

expiry_on
datetime
Required

Expiration time of the access token.

token_type
str
Required

The type of access token.