@PublicApi
public interface LoginResult
| Modifier and Type | Method and Description |
|---|---|
Set<DeniedReason> |
getDeniedReasons()
Returns a Set of DenialReason objects, which can be used to determine the reason why a login request has been
denied.
|
LoginInfo |
getLoginInfo() |
LoginReason |
getReason()
If the login fails then this enum describes why
|
String |
getUserName() |
boolean |
isOK() |
boolean isOK()
getReason() will equals LoginReason.OKString getUserName()
LoginReason getReason()
LoginReasonSet<DeniedReason> getDeniedReasons()
getReason() != LoginReason.AUTHENTICATION_DENIED.LoginInfo getLoginInfo()
LoginInfo associated with the user or null if the getUserName() returns null.Copyright © 2002-2019 Atlassian. All Rights Reserved.