AuthenticatorProps
AuthenticatorProps =
object
Defined in: packages/expo-arcgis-toolkit/src/Authenticator.tsx:90
Properties
Section titled “Properties”iapConfigurations?
Section titled “iapConfigurations?”
optionaliapConfigurations?:IapConfiguration[]
Defined in: packages/expo-arcgis-toolkit/src/Authenticator.tsx:97
The Identity-Aware Proxies to sign in through.
oAuthUserConfigurations?
Section titled “oAuthUserConfigurations?”
optionaloAuthUserConfigurations?: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.
promptForUntrustedHosts?
Section titled “promptForUntrustedHosts?”
optionalpromptForUntrustedHosts?: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.
Default
Section titled “Default”falsePlatform
Section titled “Platform”ios — the Kotlin Toolkit always asks.
setAsArcGISAuthenticationChallengeHandler?
Section titled “setAsArcGISAuthenticationChallengeHandler?”
optionalsetAsArcGISAuthenticationChallengeHandler?: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).
Default
Section titled “Default”truesetAsNetworkAuthenticationChallengeHandler?
Section titled “setAsNetworkAuthenticationChallengeHandler?”
optionalsetAsNetworkAuthenticationChallengeHandler?: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).
Default
Section titled “Default”true