OptionalautoOptionalgrantThe application's OAuth grant (from the app object). Pass GrantType.ClientCredentials for machine-to-machine connectors so their fields are submitted to the server and no browser window is opened. Omit for redirect grants (authorization_code / PKCE), the default.
OptionalpayloadThe key value pairs of auth data.
The application slug.
OptionaltimeoutMaximum time in milliseconds to wait for authentication before giving up. Set to 0 to wait indefinitely. Defaults to 5 minutes.
OptionaltypeThe authentication type to use — an AuthType for native applications, or
one of a universal connector's own types (a key of
Application.auth_type_options). If not provided, it defaults to keybased
when a payload is given, otherwise oauth2.
Whether to close the authentication window automatically.