Enum Class AuthorizationServer

java.lang.Object
java.lang.Enum<AuthorizationServer>
io.micronaut.security.oauth2.endpoint.endsession.request.AuthorizationServer
All Implemented Interfaces:
Serializable, Comparable<AuthorizationServer>, Constable

public enum AuthorizationServer extends Enum<AuthorizationServer>
Authorization Servers.
Since:
3.2.0
Author:
Sergio del Amo
  • Enum Constant Details

  • Method Details

    • values

      public static AuthorizationServer[] 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 AuthorizationServer 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
    • infer

      @NonNull public static @NonNull Optional<AuthorizationServer> infer(@NonNull @NonNull String issuer)
      Parameters:
      issuer - Issuer url
      Returns:
      An Authorization Server if it could be infered based on the contents of the issuer or empty if not