HostAuthenticationAttribute.ChallengeAsync Method (HttpAuthenticationChallengeContext, CancellationToken)

 

Namespace:   System.Web.Http
Assembly:  System.Web.Http.Owin (in System.Web.Http.Owin.dll)

Syntax

public Task ChallengeAsync(
    HttpAuthenticationChallengeContext context,
    CancellationToken cancellationToken
)
public:
virtual Task^ ChallengeAsync(
    HttpAuthenticationChallengeContext^ context,
    CancellationToken cancellationToken
) sealed
abstract ChallengeAsync : 
        context:HttpAuthenticationChallengeContext *
        cancellationToken:CancellationToken -> Task
override ChallengeAsync : 
        context:HttpAuthenticationChallengeContext *
        cancellationToken:CancellationToken -> Task
Public Function ChallengeAsync (
    context As HttpAuthenticationChallengeContext,
    cancellationToken As CancellationToken
) As Task

Parameters

Return Value

Type: System.Threading.Tasks.Task

Implements

IAuthenticationFilter.ChallengeAsync(HttpAuthenticationChallengeContext, CancellationToken)

See Also

HostAuthenticationAttribute Class
System.Web.Http Namespace

Return to top