Comparteix a través de


OAuthBearerAuthenticationProvider.OnApplyChallenge Property

 

Handles applying the authentication challenge to the response message.

Namespace:   Microsoft.Owin.Security.OAuth
Assembly:  Microsoft.Owin.Security.OAuth (in Microsoft.Owin.Security.OAuth.dll)

Syntax

public Func<OAuthChallengeContext, Task> OnApplyChallenge { get; set; }
public:
property Func<OAuthChallengeContext^, Task^>^ OnApplyChallenge {
    Func<OAuthChallengeContext^, Task^>^ get();
    void set(Func<OAuthChallengeContext^, Task^>^ value);
}
member OnApplyChallenge : Func<OAuthChallengeContext, Task> with get, set
Public Property OnApplyChallenge As Func(Of OAuthChallengeContext, Task)

Property Value

Type: System.Func<OAuthChallengeContext, Task>

Returns Func<T, TResult>.

See Also

OAuthBearerAuthenticationProvider Class
Microsoft.Owin.Security.OAuth Namespace

Return to top