AuthProviderCallbackState Class
Provides request HTTP headers, body, and query parameters to the AuthProviderPlugin.handleCallback method for user authentication. This class allows you to group the information to be passed in rather than passing headers, body, and query parameters individually.
AuthProviderPlugin Interface
Use this interface to create a custom OAuth-based authentication provider plug-in for single sign-on in to Salesforce.
AuthToken Class
Contains methods for providing the access token associated with an authentication provider for an authenticated user, except for the Janrain provider.
CommunitiesUtil Class
Contains methods for getting information about a community user.
ConnectedAppPlugin Class
Extend the behavior of a connected app. This class gives you more control over the interaction between Salesforce and your connected app. You can customize how a connected app is invoked depending on the protocol used. You can intercept SAML XML generated by the Salesforce identity provider and add custom code before passing it to the target service provider.
InvocationContext Enum
The context in which the connected app is invoked, such as the protocol flow used and the token type issued, if any. Developers can use the context information to write code that is unique to the type of invocation.
JWS Class
Contains methods that apply a digital signature to a JSON Web Token (JWT), using a JSON Web Signature (JWS) data structure. This class creates the signed JWT bearer token, which can be used to request an OAuth access token in the OAuth 2.0 JWT bearer token flow.
JWT Class
Generates the JSON Claims Set in a JSON Web Token (JWT). The resulting Base64-encoded payload can be passed as an argument to create an instance of the Auth.JWS class.
JWTBearerTokenExchange Class
Contains methods that POST the signed JWT bearer token to a token endpoint to request an access token, in the OAuth 2.0 JWT bearer token flow.
SamlJitHandler Interface
Use this interface to control and customize Just-in-Time user provisioning logic during SAML single sign-on.
SessionManagement Class
Contains methods for customizing security levels, two-factor authentication, and trusted IP ranges for a current session.
SessionLevel Enum
An Auth.SessionLevel enum value is used by the SessionManagement.setSessionLevel method.
UserData Class
Stores user information for Auth.RegistrationHandler.
VerificationPolicy Enum
The Auth.VerificationPolicy enum contains an identity verification policy value used by the SessionManagement.generateVerificationUrl method.
Auth Exceptions
The Auth namespace contains these exception classes.