Package net.openid.appauth
Class GrantTypeValues
- java.lang.Object
-
- net.openid.appauth.GrantTypeValues
-
public final class GrantTypeValues extends Object
The grant type values defined by the OAuth2 spec, and used inauthorization
anddynamic client registration
requests.
-
-
Field Summary
Fields Modifier and Type Field Description static String
AUTHORIZATION_CODE
The grant type used for exchanging an authorization code for one or more tokens.static String
IMPLICIT
The grant type used when obtaining an access token.static String
REFRESH_TOKEN
The grant type used when exchanging a refresh token for a new token.
-
-
-
Field Detail
-
AUTHORIZATION_CODE
public static final String AUTHORIZATION_CODE
The grant type used for exchanging an authorization code for one or more tokens.- See Also:
“The OAuth 2.0 Authorization Framework (RFC 6749), Section 4.1.3 https://tools.ietf.org/html/rfc6749#section-4.1.3”
, Constant Field Values
-
IMPLICIT
public static final String IMPLICIT
The grant type used when obtaining an access token.- See Also:
“The OAuth 2.0 Authorization Framework (RFC 6749), Section 4.2 https://tools.ietf.org/html/rfc6749#section-4.2”
, Constant Field Values
-
REFRESH_TOKEN
public static final String REFRESH_TOKEN
The grant type used when exchanging a refresh token for a new token.- See Also:
“The OAuth 2.0 Authorization Framework (RFC 6749), Section 6 https://tools.ietf.org/html/rfc6749#section-6”
, Constant Field Values
-
-