public final enum

AuthenticationState

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.atlassian.bitbucket.scm.AuthenticationState

Class Overview

Indicates the result of a user's authentication attempt when messaging the client using ScmRequest#sendAuthenticationError.

Summary

Enum Values
AuthenticationState  AUTHENTICATED  Indicates that authentication has succeeded. 
AuthenticationState  CAPTCHA_REQUIRED  Indicates that the user's account is locked and they must navigate to the Stash Web UI and solve a CAPTCHA test. 
AuthenticationState  NOT_AUTHENTICATED  Indicates that authentication failed or no attempt to authenticate was made. 
AuthenticationState  UNLICENSED  Indicates that authentication succeeded but the user account is not licensed to use Stash. 
Public Methods
static AuthenticationState valueOf(String name)
final static AuthenticationState[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final AuthenticationState AUTHENTICATED

Indicates that authentication has succeeded.

public static final AuthenticationState CAPTCHA_REQUIRED

Indicates that the user's account is locked and they must navigate to the Stash Web UI and solve a CAPTCHA test.

public static final AuthenticationState NOT_AUTHENTICATED

Indicates that authentication failed or no attempt to authenticate was made.

public static final AuthenticationState UNLICENSED

Indicates that authentication succeeded but the user account is not licensed to use Stash.

Public Methods

public static AuthenticationState valueOf (String name)

public static final AuthenticationState[] values ()