GetTokenType

Description

Gets the access token type returned by the authorization server.

Applies to

TokenResponse objects

Syntax

objectname.GetTokenType ( )

Argument

Description

objectname

A reference to the TokenResponse object in which you want to get the access token type.


Return value

String.

Returns the access token type if it succeeds and empty string (“”) if an error occurs.

Examples

The following example shows the use of the GetTokenType function to get the token type:

string ls_tokentype
TokenResponse lnv_TokenResponse

ls_tokentype = lnv_TokenResponse.gettokentype( )

See also

GetAccessToken

GetBody

GetExpiresIn

GetHeader

GetHeaders

GetRefreshToken

GetStatusCode

GetStatusText

GetTokenError