Builder

public final class Builder

Builder for UrlForAuthenticationConfig.

Constructors

Functions

Link copied to clipboard

Set the access type.

Link copied to clipboard
Link copied to clipboard

Set whether the scopes granted to the application will be included in the response.

Link copied to clipboard

Set the login name (usually email) to prefill during authorization flow. If a Grant for the provided email already exists, a Grant's re-auth will automatically be initiated.

Link copied to clipboard

Set the prompt parameter to force the consent screen to be displayed even if the user has already given consent to your application.

Link copied to clipboard

Set the integration provider type that you already had set up with Nylas for this application. If not set, the user is directed to the Hosted Login screen and prompted to select a provider.

Link copied to clipboard

Set the scopes that identify the resources that your application could access on the user's behalf. If no scope is given, all of the default integration's scopes are used.

Link copied to clipboard

Set the state to be returned after authentication.