SecurityHelper.LookupChallenge Method
Find response challenge details for a specific authentication middleware.
Namespace: Microsoft.Owin.Security.Infrastructure
Assembly: Microsoft.Owin.Security (in Microsoft.Owin.Security.dll)
Syntax
'Declaration
Public Function LookupChallenge ( _
authenticationType As String, _
authenticationMode As AuthenticationMode _
) As AuthenticationResponseChallenge
'Usage
Dim instance As SecurityHelper
Dim authenticationType As String
Dim authenticationMode As AuthenticationMode
Dim returnValue As AuthenticationResponseChallenge
returnValue = instance.LookupChallenge(authenticationType, _
authenticationMode)
public AuthenticationResponseChallenge LookupChallenge(
string authenticationType,
AuthenticationMode authenticationMode
)
public:
AuthenticationResponseChallenge^ LookupChallenge(
String^ authenticationType,
AuthenticationMode authenticationMode
)
member LookupChallenge :
authenticationType:string *
authenticationMode:AuthenticationMode -> AuthenticationResponseChallenge
public function LookupChallenge(
authenticationType : String,
authenticationMode : AuthenticationMode
) : AuthenticationResponseChallenge
Parameters
- authenticationType
Type: System.String
The authentication type to look for.
- authenticationMode
Type: Microsoft.Owin.Security.AuthenticationMode
The authentication mode the middleware is running under.
Return Value
Type: Microsoft.Owin.Security.AuthenticationResponseChallenge
The information instructing the middleware how it should behave.