Companion

object Companion

Functions

Link copied to clipboard
suspend fun create(url: String, username: String, password: String, tokenExpirationInterval: Int? = null): Result<TokenCredential>

Creates a TokenCredential with information needed to access an ArcGIS resource.

Link copied to clipboard
suspend fun createNetworkSecured(url: String, username: String, tokenExpirationInterval: Int? = null): Result<TokenCredential>

Creates a TokenCredential with information needed to access an ArcGIS resource. If the required network credential is not available in the network credential store, a network authentication challenge is expected to be issued.

Link copied to clipboard
suspend fun createWithChallenge(challenge: ArcGISAuthenticationChallenge, username: String, password: String, tokenExpirationInterval: Int? = null): Result<TokenCredential>

Creates a TokenCredential with information needed to access an ArcGIS resource.