C# (CSharp) Esri.ArcGISRuntime.Toolkit.Security Namespace

Classes

Name Description
CredentialManager Helper class for managing the storage of credentials in the credential locker
CredentialManager.CachedCredential
OAuthAuthorizeHandler WinPhone OAuthAuthorize handler which encapsulates the redirection of the user to the OAuth authorization URI by using a WebView.
SignInChallengeHandler Desktop component that handles the authorization errors returned by the requests to the ArcGIS resources.

This component is designed to work with the IdentityManager. It can be initialized with code like: IdentityManager.Current.ChallengeHandler = new Esri.ArcGISRuntime.Toolkit.Security.SignInChallengeHandler();

Optionally, depending on the AllowSaveCredentials value, the credentials may be cached in the IsolatedStorage in a secure manner. By default the SignInChallengeHandler doesn't allow saving the Credentials. To allow it, the SignInChallengeHandler can be instantiated with code like: IdentityManager.Current.ChallengeHandler = new Esri.ArcGISRuntime.Toolkit.Security.SignInChallengeHandler { AllowSaveCredentials = true, CredentialSaveOption = CredentialSaveOption.Selected };