Interface AuthenticationResult
-
- All Known Implementing Classes:
LocalAuthenticationResult
,RemoteAuthenticationResult
,SandboxAuthenticationResult
public interface AuthenticationResult
Base contract of authentication result - have remote and local authn variants.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
AuthenticationResult.DenyReason
static class
AuthenticationResult.ErrorResult
static class
AuthenticationResult.ResolvableError
static class
AuthenticationResult.Status
static class
AuthenticationResult.SuccessResult
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default LocalAuthenticationResult
asLocal()
default RemoteAuthenticationResult
asRemote()
Optional<AuthenticationResult.DenyReason>
getDenyReason()
AuthenticationResult.ErrorResult
getErrorResult()
AuthenticationResult.Status
getStatus()
AuthenticationResult.SuccessResult
getSuccessResult()
boolean
isRemote()
String
toStringFull()
-
-
-
Method Detail
-
getStatus
AuthenticationResult.Status getStatus()
-
getDenyReason
Optional<AuthenticationResult.DenyReason> getDenyReason()
-
isRemote
boolean isRemote()
-
toStringFull
String toStringFull()
-
getSuccessResult
AuthenticationResult.SuccessResult getSuccessResult()
-
getErrorResult
AuthenticationResult.ErrorResult getErrorResult()
-
asRemote
default RemoteAuthenticationResult asRemote()
-
asLocal
default LocalAuthenticationResult asLocal()
-
-