Enum Class OidcTenantConfig.ApplicationType

java.lang.Object
java.lang.Enum<OidcTenantConfig.ApplicationType>
io.quarkus.oidc.OidcTenantConfig.ApplicationType
All Implemented Interfaces:
Serializable, Comparable<OidcTenantConfig.ApplicationType>, Constable
Enclosing class:
OidcTenantConfig

public static enum OidcTenantConfig.ApplicationType extends Enum<OidcTenantConfig.ApplicationType>
  • Enum Constant Details

    • WEB_APP

      public static final OidcTenantConfig.ApplicationType WEB_APP
      A WEB_APP is a client that serves pages, usually a front-end application. For this type of client the Authorization Code Flow is defined as the preferred method for authenticating users.
    • SERVICE

      public static final OidcTenantConfig.ApplicationType SERVICE
      A SERVICE is a client that has a set of protected HTTP resources, usually a backend application following the RESTful Architectural Design. For this type of client, the Bearer Authorization method is defined as the preferred method for authenticating and authorizing users.
    • HYBRID

      public static final OidcTenantConfig.ApplicationType HYBRID
      A combined SERVICE and WEB_APP client. For this type of client, the Bearer Authorization method is used if the Authorization header is set and Authorization Code Flow - if not.
  • Method Details

    • values

      public static OidcTenantConfig.ApplicationType[] 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 OidcTenantConfig.ApplicationType 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