Package | Description |
---|---|
org.libj.net |
Modifier and Type | Class and Description |
---|---|
class |
Basic
The "Authorization: Basic" header schemes.
|
class |
Bearer
The "Authorization: Bearer" header schemes.
|
Modifier and Type | Method and Description |
---|---|
protected abstract AuthScheme |
AuthScheme.decode(String authorization)
Returns a
AuthScheme instance by decoding the authorization
header string. |
AuthScheme |
AuthScheme.parse(String authorization)
Returns a
AuthScheme instance by parsing the authorization
header string, or null if the specified string is null. |
static AuthScheme |
AuthScheme.parse(String authorization,
Class<? extends AuthScheme>... schemes)
Returns an instance of a
AuthScheme subclass specified in
schemes that matches the spec of the authorization header
string. |
Copyright © 2020 LibJ. All rights reserved.