public enum AuthenticationState extends Enum<AuthenticationState>
| Enum Constant and Description | 
|---|
| AUTHENTICATEDIndicates that authentication has succeeded. | 
| CAPTCHA_REQUIREDIndicates that the user's account is locked and they must navigate to the Stash Web UI and solve a CAPTCHA test. | 
| NOT_AUTHENTICATEDIndicates that authentication failed or no attempt to authenticate was made. | 
| UNLICENSEDIndicates that authentication succeeded but the user account is not licensed to use Stash. | 
| Modifier and Type | Method and Description | 
|---|---|
| static AuthenticationState | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static AuthenticationState[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final AuthenticationState AUTHENTICATED
public static final AuthenticationState NOT_AUTHENTICATED
public static final AuthenticationState UNLICENSED
public static final AuthenticationState CAPTCHA_REQUIRED
public static AuthenticationState[] values()
for (AuthenticationState c : AuthenticationState.values()) System.out.println(c);
public static AuthenticationState valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2024 Atlassian. All rights reserved.