@Deprecated public abstract class OAuth2Utils extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CLIENT_ID
Deprecated.
Constant to use while parsing and formatting parameter maps for OAuth2 requests
|
static String |
GRANT_TYPE
Deprecated.
Constant to use while parsing and formatting parameter maps for OAuth2 requests
|
static String |
REDIRECT_URI
Deprecated.
Constant to use while parsing and formatting parameter maps for OAuth2 requests
|
static String |
RESPONSE_TYPE
Deprecated.
Constant to use while parsing and formatting parameter maps for OAuth2 requests
|
static String |
SCOPE
Deprecated.
Constant to use while parsing and formatting parameter maps for OAuth2 requests
|
static String |
SCOPE_PREFIX
Deprecated.
Constant to use as a prefix for scope approval
|
static String |
STATE
Deprecated.
Constant to use while parsing and formatting parameter maps for OAuth2 requests
|
static String |
USER_OAUTH_APPROVAL
Deprecated.
Constant to use while parsing and formatting parameter maps for OAuth2 requests
|
Constructor and Description |
---|
OAuth2Utils()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
containsAll(Set<String> target,
Set<String> members)
Deprecated.
Compare 2 sets and check that one contains all members of the other.
|
static Map<String,String> |
extractMap(String query)
Deprecated.
Extract a map from a query string.
|
static String |
formatParameterList(Collection<String> value)
Deprecated.
Formats a set of string values into a format appropriate for sending as a single-valued form value.
|
static Set<String> |
parseParameterList(String values)
Deprecated.
Parses a string parameter value into a set of strings.
|
public static final String CLIENT_ID
public static final String STATE
public static final String SCOPE
public static final String REDIRECT_URI
public static final String RESPONSE_TYPE
public static final String USER_OAUTH_APPROVAL
public static final String SCOPE_PREFIX
public static final String GRANT_TYPE
public static Set<String> parseParameterList(String values)
values
- The values of the set.public static String formatParameterList(Collection<String> value)
value
- The value of the parameter.public static Map<String,String> extractMap(String query)
query
- a query (or fragment) string from a URICopyright © 2019. All rights reserved.