Constructor
new CSCAuthContext(accessTokennon-null, tokenType)
- Description:
Creates a new CSCAuthContext instance. Token type is set to default value that is "Bearer".
Parameters:
Name | Type | Default | Description |
---|---|---|---|
accessToken |
string | the access token |
|
tokenType |
string |
Bearer
|
the token type |
Methods
getAccessToken() → {string}
- Description:
Returns the access token required for CSC based services.
Returns:
CSC Provider access token
- Type
- string
getTokenType() → {string}
- Description:
Returns the type of access token.
Returns:
token type
- Type
- string