Package sh.ory.model
Enum AuthenticatorAssuranceLevel
- All Implemented Interfaces:
Serializable,Comparable<AuthenticatorAssuranceLevel>,java.lang.constant.Constable
public enum AuthenticatorAssuranceLevel extends Enum<AuthenticatorAssuranceLevel>
The authenticator assurance level can be one of \"aal1\", \"aal2\", or \"aal3\". A higher number means that it is harder for an attacker to compromise the account. Generally, \"aal1\" implies that one authentication factor was used while AAL2 implies that two factors (e.g. password + TOTP) have been used. To learn more about these levels please head over to: https://www.ory.sh/kratos/docs/concepts/credentials
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAuthenticatorAssuranceLevel.AdapterNested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
-
Method Summary
Modifier and Type Method Description static AuthenticatorAssuranceLevelfromValue(String value)StringgetValue()StringtoString()static AuthenticatorAssuranceLevelvalueOf(String name)Returns the enum constant of this type with the specified name.static AuthenticatorAssuranceLevel[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
AAL0
-
AAL1
-
AAL2
-
AAL3
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
getValue
-
toString
- Overrides:
toStringin classEnum<AuthenticatorAssuranceLevel>
-
fromValue
-