Dialog Authenticator
Displays appropriate Authentication UI when an authentication challenge is issued.
For example, when an ArcGISAuthenticationChallenge is issued and the AuthenticatorState has a corresponding OAuthUserConfiguration, then a Custom Tab will be launched to complete the OAuth sign in.
Server trust prompts and username/password prompts will be displayed in a dialog. All other prompts will be displayed differently based on their type:
OAuth and IAP challenges will be displayed in a browser.
Client certificate challenges will be displayed using the Android certificate picker.
For alternate behavior, see the Authenticator component.
Since
200.8.0
Parameters
the object that holds the state to handle authentication challenges.
the Modifier to be applied to this DialogAuthenticator.
this will be called when an authentication challenge is pending and the browser should be launched. Use this if you wish to handle browser challenges from your own activity rather than using the AuthenticationActivity, more information can be found in the Authenticator Toolkit README.
See also
Displays appropriate Authentication UI when an authentication challenge is issued.
For example, when an ArcGISAuthenticationChallenge is issued and the AuthenticatorState has a corresponding OAuthUserConfiguration, then a Custom Tab will be launched to complete the OAuth sign in.
Server trust prompts and username/password prompts will be displayed in a dialog. All other prompts will be displayed differently based on their type:
OAuth and IAP challenges will be displayed in a browser.
Client certificate challenges will be displayed using the Android certificate picker.
For alternate behavior, see the Authenticator component.
Since
200.8.0
Parameters
the object that holds the state to handle authentication challenges.
the Modifier to apply to this Authenticator.
See also
Deprecated
as of 200.8.0 and will be removed in an upcoming release, use the DialogAuthenticator composable with BrowserAuthenticationChallenge instead.
Replace with
DialogAuthenticator(AuthenticatorState, Modifier, BrowserAuthenticationChallenge)
Displays appropriate Authentication UI when an authentication challenge is issued.
For example, when an ArcGISAuthenticationChallenge is issued and the AuthenticatorState has a corresponding OAuthUserConfiguration, then a Custom Tab will be launched to complete the OAuth sign in.
Server trust prompts and username/password prompts will be displayed in a dialog. All other prompts will be displayed differently based on their type:
OAuth and IAP challenges will be displayed in a browser.
Client certificate challenges will be displayed using the Android certificate picker.
For alternate behavior, see the Authenticator component.
Since
200.2.0
Parameters
the object that holds the state to handle authentication challenges.
the Modifier to be applied to this DialogAuthenticator.
if not null, this will be called when an OAuth challenge is pending and the browser should be launched. Use this if you wish to handle OAuth challenges from your own activity rather than using the AuthenticationActivity.