Package com.okta.sdk.resource.model
Enum OAuthGrantType
- All Implemented Interfaces:
- Serializable,- Comparable<OAuthGrantType>,- java.lang.constant.Constable
Array of OAuth 2.0 grant type strings
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescription
- 
Method SummaryModifier and TypeMethodDescriptionstatic OAuthGrantTypegetValue()toString()toUrlQueryString(String prefix) Convert the instance into URL query string.static OAuthGrantTypeReturns the enum constant of this type with the specified name.static OAuthGrantType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
- 
Enum Constant Details- 
AUTHORIZATION_CODE
- 
CLIENT_CREDENTIALS
- 
IMPLICIT
- 
INTERACTION_CODE
- 
PASSWORD
- 
REFRESH_TOKEN
- 
URN_IETF_PARAMS_OAUTH_GRANT_TYPE_DEVICE_CODE
- 
URN_IETF_PARAMS_OAUTH_GRANT_TYPE_JWT_BEARER
- 
URN_IETF_PARAMS_OAUTH_GRANT_TYPE_SAML2_BEARER
- 
URN_IETF_PARAMS_OAUTH_GRANT_TYPE_TOKEN_EXCHANGE
- 
URN_OPENID_PARAMS_GRANT_TYPE_CIBA
- 
UNKNOWN_DEFAULT_OPEN_API
 
- 
- 
Method Details- 
valuesReturns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
 
- 
valueOfReturns 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 name
- NullPointerException- if the argument is null
 
- 
getValue
- 
toString- Overrides:
- toStringin class- Enum<OAuthGrantType>
 
- 
fromValue
- 
toUrlQueryStringConvert the instance into URL query string.- Parameters:
- prefix- prefix of the query string
- Returns:
- URL query string
 
 
-