Package io.inversion.action.security
Enum AuthScheme.AuthSchemeType
- java.lang.Object
-
- java.lang.Enum<AuthScheme.AuthSchemeType>
-
- io.inversion.action.security.AuthScheme.AuthSchemeType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<AuthScheme.AuthSchemeType>
- Enclosing class:
- AuthScheme
public static enum AuthScheme.AuthSchemeType extends java.lang.Enum<AuthScheme.AuthSchemeType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description apiKeyhttpoauth2openIdConnect
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AuthScheme.AuthSchemeTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static AuthScheme.AuthSchemeType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
http
public static final AuthScheme.AuthSchemeType http
-
apiKey
public static final AuthScheme.AuthSchemeType apiKey
-
openIdConnect
public static final AuthScheme.AuthSchemeType openIdConnect
-
oauth2
public static final AuthScheme.AuthSchemeType oauth2
-
-
Method Detail
-
values
public static AuthScheme.AuthSchemeType[] 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 (AuthScheme.AuthSchemeType c : AuthScheme.AuthSchemeType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AuthScheme.AuthSchemeType valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-