Enum OidcTenantConfig.ApplicationType

    • Enum Constant Detail

      • WEB_APP

        public static final OidcTenantConfig.ApplicationType WEB_APP
        A WEB_APP is a client that serves pages, usually a frontend 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 will be used if the Authorization header is set and Authorization Code Flow - if not.
    • Method Detail

      • values

        public static OidcTenantConfig.ApplicationType[] 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 (OidcTenantConfig.ApplicationType c : OidcTenantConfig.ApplicationType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static OidcTenantConfig.ApplicationType 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 name
        NullPointerException - if the argument is null