public class BearerToken extends Object
Modifier and Type | Field and Description |
---|---|
static String |
NAME
The name of the
Bearer challenge scheme. |
static CredentialsParser<BearerToken> |
PARSER
The parser for
Bearer credentials. |
Constructor and Description |
---|
BearerToken(String token)
Construct a new set of
Bearer authorization credentials. |
public static final String NAME
Bearer
challenge scheme.public static final CredentialsParser<BearerToken> PARSER
Bearer
credentials.public BearerToken(String token) throws MalformedHeaderException
Bearer
authorization credentials.token
- The token.IllegalArgumentException
- If the token is null.MalformedHeaderException
- If the token is an empty string.Copyright © 2010-2018, ForgeRock All Rights Reserved.