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 AuthenticationOptionKey
authenticationOptionKey
PartialAuthnState
firstFactorAuthnState
RegistrationForm
form
String
invitationCode
boolean
rememberMeSet
SandboxAuthnRouter
sandboxRouter
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AuthenticationTriggeringContext
authenticationTriggeredFirstFactor()
static AuthenticationTriggeringContext
authenticationTriggeredFirstFactor(boolean rememberMeSet)
static AuthenticationTriggeringContext
authenticationTriggeredSecondFactor(boolean rememberMeSet, PartialAuthnState postFirstFactorAuthnState)
boolean
isRegistrationTriggered()
boolean
isSandboxTriggered()
static AuthenticationTriggeringContext
registrationTriggeredAuthn(RegistrationForm form, String invitationCode, AuthenticationOptionKey authenticationOptionKey)
static AuthenticationTriggeringContext
sandboxTriggeredFirstFactor(SandboxAuthnRouter sandboxRouter)
static AuthenticationTriggeringContext
sandboxTriggeredSecondFactor(PartialAuthnState postFirstFactorAuthnState, SandboxAuthnRouter sandboxRouter)
String
toString()
-
-
-
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()
-
-