gluu
|
公開メンバ関数 | |
String | getParamName () |
String | getValue () |
Enum<? extends LdapEnum > | resolveByValue (String value) |
String | toString () |
静的公開メンバ関数 | |
[static initializer] | |
static GrantType | fromString (String param) |
static String [] | toStringArray (GrantType[] grantTypes) |
static GrantType | getByValue (String value) |
公開変数類 | |
AUTHORIZATION_CODE =("authorization_code") | |
IMPLICIT =("implicit") | |
RESOURCE_OWNER_PASSWORD_CREDENTIALS =("password") | |
CLIENT_CREDENTIALS =("client_credentials") | |
REFRESH_TOKEN =("refresh_token") | |
OXAUTH_UMA_TICKET =("urn:ietf:params:oauth:grant-type:uma-ticket") | |
非公開メンバ関数 | |
GrantType () | |
GrantType (String value) | |
非公開変数類 | |
final String | value |
静的非公開変数類 | |
static Map< String, GrantType > | mapByValues = new HashMap<String, GrantType>() |
This class allows to enumerate and identify the possible values of the parameter grant_type for access token requests.
|
inlineprivate |
|
inlineprivate |
|
inlinestatic |
|
inlinestatic |
Returns the corresponding GrantType for a parameter grant_type of the access token requests. For the extension grant type, the parameter should be a valid URI.
param | The grant_type parameter. |
null
.
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
inline |
Returns a string representation of the object. In this case the parameter name for the grant_type parameter.
|
inlinestatic |
org.xdi.oxauth.model.common.GrantType.AUTHORIZATION_CODE =("authorization_code") |
The authorization code is obtained by using an authorization server as an intermediary between the client and resource owner. Instead of requesting authorization directly from the resource owner, the client directs the resource owner to an authorization server (via its user- agent as defined in [RFC2616]), which in turn directs the resource owner back to the client with the authorization code.
org.xdi.oxauth.model.common.GrantType.CLIENT_CREDENTIALS =("client_credentials") |
The client credentials (or other forms of client authentication) can be used as an authorization grant when the authorization scope is limited to the protected resources under the control of the client, or to protected resources previously arranged with the authorization server. Client credentials are used as an authorization grant typically when the client is acting on its own behalf (the client is also the resource owner), or is requesting access to protected resources based on an authorization previously arranged with the authorization server.
org.xdi.oxauth.model.common.GrantType.IMPLICIT =("implicit") |
The implicit grant type is used to obtain access tokens (it does not support the issuance of refresh tokens) and is optimized for public clients known to operate a particular redirection URI. These clients are typically implemented in a browser using a scripting language such as JavaScript.
|
staticprivate |
org.xdi.oxauth.model.common.GrantType.OXAUTH_UMA_TICKET =("urn:ietf:params:oauth:grant-type:uma-ticket") |
Representing a requesting party, to use a permission ticket to request an OAuth 2.0 access token to gain access to a protected resource asynchronously from the time a resource owner grants access.
org.xdi.oxauth.model.common.GrantType.REFRESH_TOKEN =("refresh_token") |
If the authorization server issued a refresh token to the client, the client makes a refresh request to the token endpoint.
org.xdi.oxauth.model.common.GrantType.RESOURCE_OWNER_PASSWORD_CREDENTIALS =("password") |
The resource owner password credentials (i.e. username and password) can be used directly as an authorization grant to obtain an access token. The credentials should only be used when there is a high degree of trust between the resource owner and the client (e.g. its device operating system or a highly privileged application), and when other authorization grant types are not available (such as an authorization code).
|
private |