public class OAuth2BearerWWWAuthenticateHeader
extends org.forgerock.http.protocol.Header
WWW-Authenticate
message header. For more information, see RFC 6750.Modifier and Type | Field and Description |
---|---|
static String |
NAME
The name of the header that this object represents.
|
Constructor and Description |
---|
OAuth2BearerWWWAuthenticateHeader()
Constructs a new empty header.
|
OAuth2BearerWWWAuthenticateHeader(org.forgerock.http.oauth2.OAuth2Error error)
Constructs a new header with the provided error.
|
Modifier and Type | Method and Description |
---|---|
String |
getName() |
org.forgerock.http.oauth2.OAuth2Error |
getOAuth2Error()
Returns the OAuth 2.0 error represented by this header.
|
List<String> |
getValues() |
static OAuth2BearerWWWAuthenticateHeader |
valueOf(org.forgerock.http.protocol.Message message)
Constructs a new header, initialized from the specified message.
|
static OAuth2BearerWWWAuthenticateHeader |
valueOf(String string)
Constructs a new header, initialized from the specified string value.
|
public static final String NAME
public OAuth2BearerWWWAuthenticateHeader()
public OAuth2BearerWWWAuthenticateHeader(org.forgerock.http.oauth2.OAuth2Error error)
error
- The possibly null OAuth 2.0 error.public static OAuth2BearerWWWAuthenticateHeader valueOf(org.forgerock.http.protocol.Message message)
message
- The message to initialize the header from.public static OAuth2BearerWWWAuthenticateHeader valueOf(String string)
string
- The value to initialize the header from.public String getName()
getName
in class org.forgerock.http.protocol.Header
public org.forgerock.http.oauth2.OAuth2Error getOAuth2Error()
Copyright © 2025 Open Identity Platform Community. All rights reserved.