AuthRequestHandler Interface
Use this interface to handle authorization request responses.
When using this interface, the following limits are overridden. See Execution Governors and Limits in the Apex Developer Guide.
Overridden Limits
| Limit Name | Overridden Value |
|---|---|
| Total number of SOQL queries issued | 2 |
| Total number of records retrieved by a single SOSL query | 2 |
| Total number of DML statements issued | 1 |
| Total number of records processed as a result of DML statements | 1 |
| Total number of callouts (HTTP requests or web services calls) in a transaction | 2 |
The following are methods for AuthRequestHandler.
-
Handles authorization request response.
Handles authorization request response.
public RichMessaging.AuthRequestResult handleAuthRequest(RichMessaging.AuthRequestResponse var1)
- var1: Type: RichMessaging.AuthRequestResponse The authorization response.
Type: RichMessaging.AuthRequestResult
This is an example implementation of the RichMessaging.AuthRequestHandler interface.