Gemstone Security Library
Show/Hide TOC

# APIAuthenticationHandlerHandleChallengeAsync Method

Returns a 401 Unauthorized response with the WWW-Authenticate header.

## Definition

Namespace: Gemstone.Security.AuthenticationProviders
Assembly: Gemstone.Security (in Gemstone.Security.dll) Version: 1.0.181 -- Release Build+ddfc5abcc226f4dec0986b2a0da5f8a889a81a36
C#
View Source Request Example

    protected override Task HandleChallengeAsync(
    	AuthenticationProperties properties
    )

VB
View Source Request Example

    Protected Overrides Function HandleChallengeAsync (
    	properties As AuthenticationProperties
    ) As Task

C++
View Source Request Example

    protected:
    virtual Task^ HandleChallengeAsync(
    	AuthenticationProperties^ properties
    ) override

JavaScript
View Source Request Example

    function HandleChallengeAsync(properties);

#### Parameters

properties AuthenticationProperties

  [Missing <param name="properties"/> documentation for "M:Gemstone.Security.AuthenticationProviders.APIAuthenticationHandler.HandleChallengeAsync(Microsoft.AspNetCore.Authentication.AuthenticationProperties)"]

#### Return Value

Task

[Missing <returns> documentation for "M:Gemstone.Security.AuthenticationProviders.APIAuthenticationHandler.HandleChallengeAsync(Microsoft.AspNetCore.Authentication.AuthenticationProperties)"]

## See Also

#### Reference

APIAuthenticationHandler Class
Gemstone.Security.AuthenticationProviders Namespace