Class AuthenticationTriggeringContext
- java.lang.Object
-
- pl.edu.icm.unity.engine.api.authn.remote.AuthenticationTriggeringContext
-
public class AuthenticationTriggeringContext extends Object
-
-
Field Summary
Fields Modifier and Type Field Description AuthenticationOptionKeyauthenticationOptionKeyPartialAuthnStatefirstFactorAuthnStateRegistrationFormformStringinvitationCodebooleanrememberMeSetSandboxAuthnRoutersandboxRouter
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AuthenticationTriggeringContextauthenticationTriggeredFirstFactor()static AuthenticationTriggeringContextauthenticationTriggeredFirstFactor(boolean rememberMeSet)static AuthenticationTriggeringContextauthenticationTriggeredSecondFactor(boolean rememberMeSet, PartialAuthnState postFirstFactorAuthnState)booleanisRegistrationTriggered()booleanisSandboxTriggered()static AuthenticationTriggeringContextregistrationTriggeredAuthn(RegistrationForm form, String invitationCode, AuthenticationOptionKey authenticationOptionKey)static AuthenticationTriggeringContextsandboxTriggeredFirstFactor(SandboxAuthnRouter sandboxRouter)static AuthenticationTriggeringContextsandboxTriggeredSecondFactor(PartialAuthnState postFirstFactorAuthnState, SandboxAuthnRouter sandboxRouter)StringtoString()
-
-
-
Field Detail
-
rememberMeSet
public final boolean rememberMeSet
-
firstFactorAuthnState
public final PartialAuthnState firstFactorAuthnState
-
authenticationOptionKey
public final AuthenticationOptionKey authenticationOptionKey
-
form
public final RegistrationForm form
-
invitationCode
public final String invitationCode
-
sandboxRouter
public final SandboxAuthnRouter sandboxRouter
-
-
Method Detail
-
registrationTriggeredAuthn
public static AuthenticationTriggeringContext registrationTriggeredAuthn(RegistrationForm form, String invitationCode, AuthenticationOptionKey authenticationOptionKey)
-
authenticationTriggeredFirstFactor
public static AuthenticationTriggeringContext authenticationTriggeredFirstFactor(boolean rememberMeSet)
-
authenticationTriggeredFirstFactor
public static AuthenticationTriggeringContext authenticationTriggeredFirstFactor()
-
authenticationTriggeredSecondFactor
public static AuthenticationTriggeringContext authenticationTriggeredSecondFactor(boolean rememberMeSet, PartialAuthnState postFirstFactorAuthnState)
-
sandboxTriggeredFirstFactor
public static AuthenticationTriggeringContext sandboxTriggeredFirstFactor(SandboxAuthnRouter sandboxRouter)
-
sandboxTriggeredSecondFactor
public static AuthenticationTriggeringContext sandboxTriggeredSecondFactor(PartialAuthnState postFirstFactorAuthnState, SandboxAuthnRouter sandboxRouter)
-
isRegistrationTriggered
public boolean isRegistrationTriggered()
-
isSandboxTriggered
public boolean isSandboxTriggered()
-
-