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.
Whether to close the authentication window automatically.