Enum Class FlowType

java.lang.Object
java.lang.Enum<FlowType>
com.atlassian.oauth2.provider.api.token.FlowType
All Implemented Interfaces:
Serializable, Comparable<FlowType>, Constable

public enum FlowType extends Enum<FlowType>
Enum to represent the different types of OAuth2 flows supported by the provider
Since:
3.1.14
  • Enum Constant Details

    • PKCE

      public static final FlowType PKCE
    • AUTHORIZATION_CODE

      public static final FlowType AUTHORIZATION_CODE
  • Field Details

    • PUBLIC_FLOWS

      public static final Set<FlowType> PUBLIC_FLOWS
      Flows that do not require a client secret
  • Method Details

    • values

      public static FlowType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static FlowType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • fromIdentifier

      public static FlowType fromIdentifier(@Nullable String identifier)
    • getFlowIdentifier

      public String getFlowIdentifier()