public enum SignatureType extends Enum<SignatureType>
| 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(OAuth2AccessToken accessToken,
OAuthRequest request) |
static SignatureType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SignatureType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SignatureType BEARER_AUTHORIZATION_REQUEST_HEADER_FIELD
public static final SignatureType BEARER_URI_QUERY_PARAMETER
public static SignatureType[] values()
for (SignatureType c : SignatureType.values()) System.out.println(c);
public static SignatureType 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(OAuth2AccessToken accessToken, OAuthRequest request)
Copyright © 2017. All rights reserved.