Package com.atlassian.bitbucket.auth
Enum Class RememberMeMode
- All Implemented Interfaces:
- Serializable,- Comparable<RememberMeMode>,- Constable
Controls whether remember-me authentication is disabled, always performed or only performed when a checkbox is
 checked on the login form.
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum Constants
- 
Method SummaryModifier and TypeMethodDescriptionstatic RememberMeModegetId()static RememberMeModeReturns the enum constant of this class with the specified name.static RememberMeMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
- 
Enum Constant Details- 
ALWAYSRemember-me authentication is enabled and always performed on form-based login. The 'Remember my login' checkbox is not displayed on the login form.
- 
OPTIONALRemember-me authentication is enabled but only performed when a user checks the 'Remember my login' checkbox on the login form.
- 
NEVERRemember-me authentication is disabled. No remember-me cookies are returned. Any provided remember-me cookies are not accepted for authentication. The 'Remember my login' checkbox is not displayed on the login form.
 
- 
- 
Method Details- 
valuesReturns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
 
- 
valueOfReturns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
- NullPointerException- if the argument is null
 
- 
getId
- 
fromId
 
-