Enum Class NuxeoOAuth2TokenType

java.lang.Object
java.lang.Enum<NuxeoOAuth2TokenType>
org.nuxeo.ecm.platform.oauth2.enums.NuxeoOAuth2TokenType
All Implemented Interfaces:
Serializable, Comparable<NuxeoOAuth2TokenType>, Constable

public enum NuxeoOAuth2TokenType extends Enum<NuxeoOAuth2TokenType>
OAuth2 token type can be:
Since:
11.1
  • Enum Constant Details

  • Field Details

    • value

      protected final String value
    • predicate

      protected final Predicate predicate
  • Method Details

    • values

      public static NuxeoOAuth2TokenType[] 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 NuxeoOAuth2TokenType 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
    • getValue

      public String getValue()
    • getPredicate

      public Predicate getPredicate()