ArcGIS API for Silverlight - Library Reference
IdentityManager Class Methods
See Also  Send comments on this topic
ESRI.ArcGIS.Client Namespace : IdentityManager Class


For a list of all members of this type, see IdentityManager members.

Public Methods

 NameDescription
public MethodAddCredentialAdds a new IdentityManager.Credential the IdentityManager will use for accessing the resources.  
public MethodFindCredential Returns the token credential for the resource identified by the specified url. Optionally you can provide an user name to find credentials for a specific user.  
public MethodFindServerInfo Returns information about the server that is hosting the specified url.  
public MethodGenerateCredentialAsync Generates a token credential object asynchronously. You need to provide the service URL, the username and the password. This is a helper method typically called by the UI challenging the user.  
public MethodGetCredentialAsync Returns a Credential object that can be used to access the secured resource identified by the input url. If required the user will be challenged for a username and password which is used to generate a token. The IdentityManager sets up a timer to update the Credential object with a new token prior to the expiration time. This method is typically called internally when a request fails due to an "invalid credentials" error.  
public MethodRegisterServers Register secure servers and the token endpoints. The Identity Manager makes its best guess to determine the location of the secure server and token endpoint so in most cases calling registerServers is not necessary. However if the location of your server or token endpoint is non-standard use this method to register the location.  
public MethodRemoveCredential Removes an existing credential so the challenge method will be called the next time an access to the resources is needed.  
Top

See Also

© ESRI, Inc. All Rights Reserved.