createWithChallengeCancelable static method
- ArcGISAuthenticationChallenge challenge,
- {required String username,
- required String password,
- int tokenExpirationInterval = 0}
Cancelable version of createWithChallenge. See that method for more information.
Implementation
static Future<CancelableOperation<TokenCredential>>
createWithChallengeCancelable(ArcGISAuthenticationChallenge challenge,
{required String username,
required String password,
int tokenExpirationInterval = 0}) async {
await _packageInfoCompleter.future;
return _createWithChallengeCancelable(challenge,
username: username,
password: password,
tokenExpirationInterval: tokenExpirationInterval);
}