Package org.keycloak.adapters.spi
Enum AuthOutcome
- java.lang.Object
-
- java.lang.Enum<AuthOutcome>
-
- org.keycloak.adapters.spi.AuthOutcome
-
- All Implemented Interfaces:
Serializable,Comparable<AuthOutcome>
public enum AuthOutcome extends Enum<AuthOutcome>
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTHENTICATEDFAILEDLOGGED_OUTNOT_ATTEMPTEDNOT_AUTHENTICATED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AuthOutcomevalueOf(String name)Returns the enum constant of this type with the specified name.static AuthOutcome[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NOT_ATTEMPTED
public static final AuthOutcome NOT_ATTEMPTED
-
FAILED
public static final AuthOutcome FAILED
-
AUTHENTICATED
public static final AuthOutcome AUTHENTICATED
-
NOT_AUTHENTICATED
public static final AuthOutcome NOT_AUTHENTICATED
-
LOGGED_OUT
public static final AuthOutcome LOGGED_OUT
-
-
Method Detail
-
values
public static AuthOutcome[] 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 (AuthOutcome c : AuthOutcome.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AuthOutcome 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 nameNullPointerException- if the argument is null
-
-