Package org.openiam.mq.constants.api
Enum OAuthAPI
- java.lang.Object
-
- java.lang.Enum<OAuthAPI>
-
- org.openiam.mq.constants.api.OAuthAPI
-
- All Implemented Interfaces:
Serializable
,Comparable<OAuthAPI>
,OpenIAMAPI
public enum OAuthAPI extends Enum<OAuthAPI> implements OpenIAMAPI
Created by alexander on 28/09/16.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.openiam.mq.constants.api.OpenIAMAPI
OpenIAMAPI.OpenIAMAPIResolver<T extends OpenIAMAPI>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DeAuthorizeClient
GET_OAUTH_TOKENS_BY_USERID
GetAuthorizedScopes
GetAuthorizedScopesForRequest
Deprecated.GetAuthorizedScopesRFC6749
To follow https://datatracker.ietf.org/doc/html/rfc6749#section-3.3 We should provide "default scopes" in case authorization request has not "scope" param, otherwise we must provide requested by User Scopes (based on our Authz module)GetClient
GetOAuthCode
GetOAuthToken
GetOAuthTokenByRefreshToken
REVOKE_ID_TOKEN
REVOKE_TOKEN
SaveClientScopeAuthorization
SaveOAuthCode
SaveOAuthToken
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OAuthAPI
valueOf(String name)
Returns the enum constant of this type with the specified name.static OAuthAPI[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.-
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Methods inherited from interface org.openiam.mq.constants.api.OpenIAMAPI
isRegisterInAuditLog, name
-
-
-
-
Enum Constant Detail
-
SaveClientScopeAuthorization
public static final OAuthAPI SaveClientScopeAuthorization
-
SaveOAuthCode
public static final OAuthAPI SaveOAuthCode
-
SaveOAuthToken
public static final OAuthAPI SaveOAuthToken
-
GetAuthorizedScopes
public static final OAuthAPI GetAuthorizedScopes
-
GetOAuthCode
public static final OAuthAPI GetOAuthCode
-
GetOAuthToken
public static final OAuthAPI GetOAuthToken
-
GetOAuthTokenByRefreshToken
public static final OAuthAPI GetOAuthTokenByRefreshToken
-
GetClient
public static final OAuthAPI GetClient
-
GetAuthorizedScopesForRequest
@Deprecated(since="4.2.1.1") public static final OAuthAPI GetAuthorizedScopesForRequest
Deprecated.Please useGetAuthorizedScopesRFC6749
instead
-
GetAuthorizedScopesRFC6749
public static final OAuthAPI GetAuthorizedScopesRFC6749
To follow https://datatracker.ietf.org/doc/html/rfc6749#section-3.3 We should provide "default scopes" in case authorization request has not "scope" param, otherwise we must provide requested by User Scopes (based on our Authz module)
-
DeAuthorizeClient
public static final OAuthAPI DeAuthorizeClient
-
REVOKE_TOKEN
public static final OAuthAPI REVOKE_TOKEN
-
GET_OAUTH_TOKENS_BY_USERID
public static final OAuthAPI GET_OAUTH_TOKENS_BY_USERID
-
REVOKE_ID_TOKEN
public static final OAuthAPI REVOKE_ID_TOKEN
-
-
Method Detail
-
values
public static OAuthAPI[] values()
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 (OAuthAPI c : OAuthAPI.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OAuthAPI valueOf(String name)
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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-