Visual Basic (Declaration) | |
---|---|
Public Sub GenerateCredentialAsync( _ ByVal url As String, _ ByVal userName As String, _ ByVal password As String, _ ByVal callback As Action(Of IdentityManager.Credential,Exception), _ Optional ByVal generateTokenOptions As IdentityManager.GenerateTokenOptions _ ) |
C# | |
---|---|
public void GenerateCredentialAsync( string url, string userName, string password, Action<IdentityManager.Credential,Exception> callback, IdentityManager.GenerateTokenOptions generateTokenOptions ) |
Parameters
- url
- The URL.
- userName
- The user name.
- password
- The password.
- callback
- The method called when the process getting a credential object is complete.
- generateTokenOptions
- The optional infos concerning the token to generate (referer, proxyURL).
Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7