Newer Version Available

This content describes an older version of this product. View Latest

AuthRequestResponse Class

This class contains authorization request response data.

Namespace

AuthRequestResponse Constructors

The following are constructors for AuthRequestResponse.

AuthRequestResponse(accessToken, contextRecordId, authProviderName)

Creates a new instance of the RichMessaging.AuthRequestResponse class.

Signature

public AuthRequestResponse(String accessToken, String contextRecordId, String authProviderName)

Parameters

accessToken
Type: String
The authorization access token.
contextRecordId
Type: String
The context record ID.
authProviderName
Type: String
The provider name.

AuthRequestResponse Methods

The following are methods for AuthRequestResponse.

getAccessToken()

Gets the authorization access token.

Signature

public String getAccessToken()

Return Value

Type: String

The access token.

getAuthProviderName()

Get the authorization provider name.

Signature

public String getAuthProviderName()

Return Value

Type: String

The authorization provider name.

getContextRecordId()

Gets the context record ID.

Signature

public String getContextRecordId()

Return Value

Type: String

The context record ID.