Package org.oa4mp.delegation.server.jwt
Enum FlowType
- java.lang.Object
-
- java.lang.Enum<FlowType>
-
- org.oa4mp.delegation.server.jwt.FlowType
-
- All Implemented Interfaces:
edu.uiuc.ncsa.security.util.functor.FunctorType
,Serializable
,Comparable<FlowType>
public enum FlowType extends Enum<FlowType> implements edu.uiuc.ncsa.security.util.functor.FunctorType
Created by Jeff Gaynor
on 2/15/20 at 8:27 AM
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACCEPT_REQUESTS
Allows for accepting requests.ACCESS_TOKEN
Allows for issuing access tokensAT_DO_TEMPLATES
GET_CERT
GET_CLAIMS
ID_TOKEN
Allows for issuing id tokensREFRESH_TOKEN
USER_INFO
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getValue()
static FlowType
valueOf(String name)
Returns the enum constant of this type with the specified name.static FlowType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACCESS_TOKEN
public static final FlowType ACCESS_TOKEN
Allows for issuing access tokens
-
ID_TOKEN
public static final FlowType ID_TOKEN
Allows for issuing id tokens
-
REFRESH_TOKEN
public static final FlowType REFRESH_TOKEN
-
USER_INFO
public static final FlowType USER_INFO
-
GET_CERT
public static final FlowType GET_CERT
-
GET_CLAIMS
public static final FlowType GET_CLAIMS
-
AT_DO_TEMPLATES
public static final FlowType AT_DO_TEMPLATES
-
ACCEPT_REQUESTS
public static final FlowType ACCEPT_REQUESTS
Allows for accepting requests. If this is set to false, then any attempt to access the system generates an exception. It effectively is the same as setting all other state variables to false.
-
-
Method Detail
-
values
public static FlowType[] 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 (FlowType c : FlowType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FlowType 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
-
getValue
public String getValue()
- Specified by:
getValue
in interfaceedu.uiuc.ncsa.security.util.functor.FunctorType
-
-