Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

AuthRequestResult Class

This class contains the result from handling the authorization request response.

Namespace

AuthRequestResult Constructors

The following are constructors for AuthRequestResult.

AuthRequestResult(redirectPageReference, resultStatus, expirationDateTime)

Creates a new instance of the RichMessaging.AuthRequestResult class.

Signature

public AuthRequestResult(System.PageReference redirectPageReference, RichMessaging.AuthRequestResultStatus resultStatus, Datetime expirationDateTime)

Parameters

AuthRequestResult Properties

The following are properties for AuthRequestResult.

expirationDateTime

The expiration date and time.

Signature

public Datetime expirationDateTime {get; set;}

Property Value

Type: Datetime

redirectPageReference

The reference to the redirect page.

Signature

public System.PageReference redirectPageReference {get; set;}

Property Value

Type: System.PageReference

resultStatus

The result status value.

Signature

public RichMessaging.AuthRequestResultStatus resultStatus {get; set;}