Enum OAuth2SignatureType
- java.lang.Object
-
- java.lang.Enum<OAuth2SignatureType>
-
- com.github.scribejava.core.builder.api.OAuth2SignatureType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<OAuth2SignatureType>
@Deprecated public enum OAuth2SignatureType extends java.lang.Enum<OAuth2SignatureType>
Deprecated.useBearerSignature
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BEARER_AUTHORIZATION_REQUEST_HEADER_FIELDDeprecated.BEARER_URI_QUERY_PARAMETERDeprecated.
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description abstract voidsignRequest(java.lang.String accessToken, OAuthRequest request)Deprecated.static OAuth2SignatureTypevalueOf(java.lang.String name)Deprecated.Returns the enum constant of this type with the specified name.static OAuth2SignatureType[]values()Deprecated.Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BEARER_AUTHORIZATION_REQUEST_HEADER_FIELD
@Deprecated public static final OAuth2SignatureType BEARER_AUTHORIZATION_REQUEST_HEADER_FIELD
Deprecated.
-
BEARER_URI_QUERY_PARAMETER
@Deprecated public static final OAuth2SignatureType BEARER_URI_QUERY_PARAMETER
Deprecated.
-
-
Method Detail
-
values
public static OAuth2SignatureType[] values()
Deprecated.Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (OAuth2SignatureType c : OAuth2SignatureType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OAuth2SignatureType valueOf(java.lang.String name)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
signRequest
public abstract void signRequest(java.lang.String accessToken, OAuthRequest request)Deprecated.
-
-