public enum OAuth2SignatureType extends Enum<OAuth2SignatureType>
| Enum Constant and Description |
|---|
BEARER_AUTHORIZATION_REQUEST_HEADER_FIELD
https://tools.ietf.org/html/rfc6750#section-2.1
|
BEARER_URI_QUERY_PARAMETER
https://tools.ietf.org/html/rfc6750#section-2.3
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
signRequest(String accessToken,
OAuthRequest request) |
static OAuth2SignatureType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OAuth2SignatureType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OAuth2SignatureType BEARER_AUTHORIZATION_REQUEST_HEADER_FIELD
public static final OAuth2SignatureType BEARER_URI_QUERY_PARAMETER
public static OAuth2SignatureType[] values()
for (OAuth2SignatureType c : OAuth2SignatureType.values()) System.out.println(c);
public static OAuth2SignatureType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic abstract void signRequest(String accessToken, OAuthRequest request)
Copyright © 2018. All rights reserved.