createNetworkSecured

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.

Return

Returns a TokenCredential.

Since

200.1.0