Visual Basic (Declaration) | |
---|---|
Public Delegate Sub IdentityManager.ChallengeDelegate( _ ByVal url As String, _ ByVal completeHandler As Action(Of IdentityManager.Credential,Exception), _ Optional ByVal generateTokenOptions As IdentityManager.GenerateTokenOptions _ ) |
C# | |
---|---|
public delegate void IdentityManager.ChallengeDelegate( string url, Action<IdentityManager.Credential,Exception> completeHandler, IdentityManager.GenerateTokenOptions generateTokenOptions ) |
The callback must absolutely be called by the challenge method either with a credential or with an error else the process will be stuck waiting for an answer.
Parameters
- url
- The service url.
- completeHandler
- The callback.
- generateTokenOptions
- The options use to generate a token (referer, proxyUrl, token validity).
Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7