@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.OK
String getUserName()
LoginReason getReason()
LoginReason
Set<DeniedReason> getDeniedReasons()
getReason()
!= LoginReason.AUTHENTICATION_DENIED
.LoginInfo getLoginInfo()
LoginInfo
associated with the user or null if the getUserName()
returns null.Copyright © 2002-2017 Atlassian. All Rights Reserved.