C# 클래스 Esri.ArcGISRuntime.Toolkit.Security.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 };
상속: IChallengeHandler
파일 보기 프로젝트 열기: Esri/arcgis-toolkit-dotnet

공개 메소드들

메소드 설명
ClearCredentialsCache ( ) : void

Clears all ArcGISRuntime credentials from the Credential Locker.

CreateCredentialAsync ( CredentialRequestInfo credentialRequestInfo ) : Task

Challenge for getting the credential allowing to access to the specified ArcGIS resource.

SignInChallengeHandler ( ) : System

Initializes a new instance of the SignInChallengeHandler class.

비공개 메소드들

메소드 설명
CreateCertificateCredentialAsync ( CredentialRequestInfo credentialRequestInfo ) : Task
CreateOAuthCredentialAsync ( CredentialRequestInfo credentialRequestInfo ) : Task
GetResourceName ( string url ) : string
GetSuffix ( string url ) : string
RetrieveAllSavedCredentials ( ) : IEnumerable

Retrieves all ArcGISRuntime credentials stored in the isolated storage.

SameOwningSystem ( ServerInfo info1, ServerInfo info2 ) : bool
SetSignInDialogCredentialSaveOption ( ) : void
SignInChallengeHandler ( SignInDialog signInDialog ) : System

Initializes a new instance of the SignInChallengeHandler class.

SignInDialogCreateCredentialAsync ( CredentialRequestInfo credentialRequestInfo ) : Task

메소드 상세

ClearCredentialsCache() 공개 메소드

Clears all ArcGISRuntime credentials from the Credential Locker.
public ClearCredentialsCache ( ) : void
리턴 void

CreateCredentialAsync() 공개 메소드

Challenge for getting the credential allowing to access to the specified ArcGIS resource.
public CreateCredentialAsync ( CredentialRequestInfo credentialRequestInfo ) : Task
credentialRequestInfo CredentialRequestInfo Information about the ArcGIS resource that needs a credential for getting access to.
리턴 Task

SignInChallengeHandler() 공개 메소드

Initializes a new instance of the SignInChallengeHandler class.
public SignInChallengeHandler ( ) : System
리턴 System