AuthenticationHandler.ApplyResponseChallengeAsync Method

Override this method to dela with 401 challenge concerns, if an authentication scheme in question deals an authentication interaction as part of it's request flow. (like adding a response header, or changing the 401 result to 302 of a login page or external sign-in location.)

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

Syntax

'Declaration
Protected Overridable Function ApplyResponseChallengeAsync As Task
'Usage
Dim returnValue As Task 

returnValue = Me.ApplyResponseChallengeAsync()
protected virtual Task ApplyResponseChallengeAsync()
protected:
virtual Task^ ApplyResponseChallengeAsync()
abstract ApplyResponseChallengeAsync : unit -> Task  
override ApplyResponseChallengeAsync : unit -> Task
protected function ApplyResponseChallengeAsync() : Task

Return Value

Type: System.Threading.Tasks.Task

See Also

Reference

AuthenticationHandler Class

Microsoft.Owin.Security.Infrastructure Namespace