SimpleWebTokenWrapAuthenticationModule.Authenticate Method
Returns an instance of the Authorization class in response to an authentication challenge from a server.
Namespace: Microsoft.Workflow.Client.Security
Assembly: Microsoft.Workflow.Client (in Microsoft.Workflow.Client.dll)
Syntax
'Declaration
Public Function Authenticate ( _
challenge As String, _
request As WebRequest, _
credentials As ICredentials _
) As Authorization
'Usage
Dim instance As SimpleWebTokenWrapAuthenticationModule
Dim challenge As String
Dim request As WebRequest
Dim credentials As ICredentials
Dim returnValue As Authorization
returnValue = instance.Authenticate(challenge, _
request, credentials)
public Authorization Authenticate(
string challenge,
WebRequest request,
ICredentials credentials
)
public:
virtual Authorization^ Authenticate(
String^ challenge,
WebRequest^ request,
ICredentials^ credentials
) sealed
abstract Authenticate :
challenge:string *
request:WebRequest *
credentials:ICredentials -> Authorization
override Authenticate :
challenge:string *
request:WebRequest *
credentials:ICredentials -> Authorization
public final function Authenticate(
challenge : String,
request : WebRequest,
credentials : ICredentials
) : Authorization
Parameters
- challenge
Type: System.String
The authentication challenge sent by the server.
- request
Type: System.Net.WebRequest
The WebRequest instance associated with the challenge.
- credentials
Type: System.Net.ICredentials
The credentials associated with the challenge.
Return Value
Type: System.Net.Authorization
An instance of the Authorization class in response to an authentication challenge from a server.
Implements
IAuthenticationModule.Authenticate(String, WebRequest, ICredentials)