WWW-Authenticate HTTP Header

WWW-Authenticate

Authentication method used to access the resource.

Accepted Values

The header accepts one of the following patterns.

  • <type> realm="<realm>", charset="<charset>"

  • <type> realm="<realm>"

  • <type>

Where the value of these patterns is defined as:
<type>

A known authentication method.

Options:

  • basic

  • nearer

  • digest

  • hoba

  • mutual

  • negotiate

  • oauth

  • scram-sha-1

  • scram-sha-256

  • vapid

charset

Encoding scheme to use when submitting authentication details.

realm

A text description of the authenticated area.

Example

WWW-Authenticate: Digest
WWW-Authenticate: Basic realm="My protected area", charset="UTF-8"

Parse

Enter a WWW-Authenticate header below to parse and return details about it.

Reference

https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/WWW-Authenticate