public enum AuthorizationServer extends java.lang.Enum<AuthorizationServer>
Modifier and Type | Method and Description |
---|---|
static java.util.Optional<AuthorizationServer> |
infer(java.lang.String issuer) |
static AuthorizationServer |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AuthorizationServer[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthorizationServer OKTA
public static final AuthorizationServer COGNITO
public static final AuthorizationServer KEYCLOAK
public static final AuthorizationServer AUTH0
public static AuthorizationServer[] values()
for (AuthorizationServer c : AuthorizationServer.values()) System.out.println(c);
public static AuthorizationServer valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null@NonNull public static java.util.Optional<AuthorizationServer> infer(@NonNull java.lang.String issuer)
issuer
- Issuer url