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.

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.