Skip to content
GuidesToolkitAPI

AuthenticatorProps

AuthenticatorProps = object

Defined in: packages/expo-arcgis-toolkit/src/Authenticator.tsx:90

optional iapConfigurations?: IapConfiguration[]

Defined in: packages/expo-arcgis-toolkit/src/Authenticator.tsx:97

The Identity-Aware Proxies to sign in through.


optional oAuthUserConfigurations?: OAuthUserConfiguration[]

Defined in: packages/expo-arcgis-toolkit/src/Authenticator.tsx:95

The OAuth apps to sign in with: a challenge from a portal with one signs in with OAuth, any other with a username and password.


optional promptForUntrustedHosts?: boolean

Defined in: packages/expo-arcgis-toolkit/src/Authenticator.tsx:108

Whether it asks the user to trust a host whose certificate isn’t trusted (self-signed, expired…). Otherwise, the host’s requests fail as they do without an authenticator.

iOS’s App Transport Security rejects such a host before the SDK can ask. Allow the host in the app’s Info.plist first: NSAppTransportSecurity › NSExceptionDomains › the host › NSExceptionAllowsInsecureHTTPLoads, e.g. through ios.infoPlist in app.json.

false

ios — the Kotlin Toolkit always asks.


setAsArcGISAuthenticationChallengeHandler?

Section titled “setAsArcGISAuthenticationChallengeHandler?”

optional setAsArcGISAuthenticationChallengeHandler?: boolean

Defined in: packages/expo-arcgis-toolkit/src/Authenticator.tsx:114

Whether it handles the ArcGIS challenges: token, OAuth and IAP sign-ins. Otherwise, expo-arcgis’s handler keeps them (a login stored with setTokenCredential).

true

setAsNetworkAuthenticationChallengeHandler?

Section titled “setAsNetworkAuthenticationChallengeHandler?”

optional setAsNetworkAuthenticationChallengeHandler?: boolean

Defined in: packages/expo-arcgis-toolkit/src/Authenticator.tsx:120

Whether it handles the network challenges: logins to IWA servers, client certificates and untrusted hosts. Otherwise, the handler before it keeps them (setAllowUntrustedHosts).

true