Class SandboxAuthenticationResult
java.lang.Object
pl.edu.icm.unity.engine.api.authn.sandbox.SandboxAuthenticationResult
- All Implemented Interfaces:
AuthenticationResult
-
Nested Class Summary
Nested classes/interfaces inherited from interface pl.edu.icm.unity.engine.api.authn.AuthenticationResult
AuthenticationResult.DenyReason, AuthenticationResult.ErrorResult, AuthenticationResult.ResolvableError, AuthenticationResult.Status, AuthenticationResult.SuccessResult -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSandboxAuthenticationResult(AuthenticationResult base, SandboxAuthnContext sandboxAuthnInfo) -
Method Summary
Modifier and TypeMethodDescriptionasRemote()static SandboxAuthenticationResultWe have two cases (what is sort of design flaw): we can get sandbox result directly (a typical case) or we can get LocalAuthnResult, in case when we have sandbox authn in account association flow, and user needs to provide existing account to associate unknwon remote with it.booleanisRemote()toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface pl.edu.icm.unity.engine.api.authn.AuthenticationResult
asLocal
-
Field Details
-
sandboxAuthnInfo
-
-
Constructor Details
-
SandboxAuthenticationResult
-
-
Method Details
-
getInstanceFromResult
We have two cases (what is sort of design flaw): we can get sandbox result directly (a typical case) or we can get LocalAuthnResult, in case when we have sandbox authn in account association flow, and user needs to provide existing account to associate unknwon remote with it. -
getStatus
- Specified by:
getStatusin interfaceAuthenticationResult
-
isRemote
public boolean isRemote()- Specified by:
isRemotein interfaceAuthenticationResult
-
toStringFull
- Specified by:
toStringFullin interfaceAuthenticationResult
-
getSuccessResult
- Specified by:
getSuccessResultin interfaceAuthenticationResult
-
getErrorResult
- Specified by:
getErrorResultin interfaceAuthenticationResult
-
toString
-
asRemote
- Specified by:
asRemotein interfaceAuthenticationResult
-
getDenyReason
- Specified by:
getDenyReasonin interfaceAuthenticationResult
-