Documentation ¶
Index ¶
- Constants
- Variables
- type EdgeAuthenticationBegin
- type EdgeAuthenticationEnd
- type EdgeAuthenticationLoginLink
- type EdgeAuthenticationLoginLinkTrigger
- func (e *EdgeAuthenticationLoginLinkTrigger) AuthenticatorType() model.AuthenticatorType
- func (e *EdgeAuthenticationLoginLinkTrigger) GetTarget(idx int) string
- func (e *EdgeAuthenticationLoginLinkTrigger) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, ...) (interaction.Node, error)
- func (e *EdgeAuthenticationLoginLinkTrigger) IsDefaultAuthenticator() bool
- type EdgeAuthenticationOOB
- type EdgeAuthenticationOOBTrigger
- func (e *EdgeAuthenticationOOBTrigger) AuthenticatorType() model.AuthenticatorType
- func (e *EdgeAuthenticationOOBTrigger) GetOOBOTPChannel(idx int) model.AuthenticatorOOBChannel
- func (e *EdgeAuthenticationOOBTrigger) GetOOBOTPTarget(idx int) string
- func (e *EdgeAuthenticationOOBTrigger) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, ...) (interaction.Node, error)
- func (e *EdgeAuthenticationOOBTrigger) IsDefaultAuthenticator() bool
- type EdgeAuthenticationPasskey
- type EdgeAuthenticationPassword
- func (e *EdgeAuthenticationPassword) AuthenticatorType() model.AuthenticatorType
- func (e *EdgeAuthenticationPassword) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, ...) (interaction.Node, error)
- func (e *EdgeAuthenticationPassword) IsDefaultAuthenticator() bool
- type EdgeAuthenticationTOTP
- type EdgeAuthenticationWhatsapp
- type EdgeAuthenticationWhatsappTrigger
- func (e *EdgeAuthenticationWhatsappTrigger) AuthenticatorType() model.AuthenticatorType
- func (e *EdgeAuthenticationWhatsappTrigger) GetPhone(idx int) string
- func (e *EdgeAuthenticationWhatsappTrigger) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, ...) (interaction.Node, error)
- func (e *EdgeAuthenticationWhatsappTrigger) IsDefaultAuthenticator() bool
- type EdgeChangePassword
- type EdgeChangePasswordBegin
- type EdgeCheckIdentityConflict
- type EdgeConfirmTerminateOtherSessionsBegin
- type EdgeConfirmTerminateOtherSessionsEnd
- type EdgeConsumeRecoveryCode
- type EdgeCreateAuthenticatorBegin
- type EdgeCreateAuthenticatorEnd
- type EdgeCreateAuthenticatorLoginLinkOTP
- type EdgeCreateAuthenticatorLoginLinkOTPSetup
- func (e *EdgeCreateAuthenticatorLoginLinkOTPSetup) AuthenticatorType() model.AuthenticatorType
- func (e *EdgeCreateAuthenticatorLoginLinkOTPSetup) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, ...) (interaction.Node, error)
- func (e *EdgeCreateAuthenticatorLoginLinkOTPSetup) IsDefaultAuthenticator() bool
- type EdgeCreateAuthenticatorOOB
- type EdgeCreateAuthenticatorOOBSetup
- func (e *EdgeCreateAuthenticatorOOBSetup) AuthenticatorType() model.AuthenticatorType
- func (e *EdgeCreateAuthenticatorOOBSetup) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, ...) (interaction.Node, error)
- func (e *EdgeCreateAuthenticatorOOBSetup) IsDefaultAuthenticator() bool
- type EdgeCreateAuthenticatorPasskey
- func (e *EdgeCreateAuthenticatorPasskey) AuthenticatorType() model.AuthenticatorType
- func (e *EdgeCreateAuthenticatorPasskey) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, ...) (interaction.Node, error)
- func (e *EdgeCreateAuthenticatorPasskey) IsDefaultAuthenticator() bool
- type EdgeCreateAuthenticatorPassword
- func (e *EdgeCreateAuthenticatorPassword) AuthenticatorType() model.AuthenticatorType
- func (e *EdgeCreateAuthenticatorPassword) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, ...) (interaction.Node, error)
- func (e *EdgeCreateAuthenticatorPassword) IsDefaultAuthenticator() bool
- type EdgeCreateAuthenticatorTOTP
- type EdgeCreateAuthenticatorTOTPSetup
- func (e *EdgeCreateAuthenticatorTOTPSetup) AuthenticatorType() model.AuthenticatorType
- func (e *EdgeCreateAuthenticatorTOTPSetup) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, ...) (interaction.Node, error)
- func (e *EdgeCreateAuthenticatorTOTPSetup) IsDefaultAuthenticator() bool
- type EdgeCreateAuthenticatorWhatsappOTP
- type EdgeCreateAuthenticatorWhatsappOTPSetup
- func (e *EdgeCreateAuthenticatorWhatsappOTPSetup) AuthenticatorType() model.AuthenticatorType
- func (e *EdgeCreateAuthenticatorWhatsappOTPSetup) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, ...) (interaction.Node, error)
- func (e *EdgeCreateAuthenticatorWhatsappOTPSetup) IsDefaultAuthenticator() bool
- type EdgeCreateIdentityBegin
- type EdgeCreateIdentityEnd
- type EdgeDoCreateAuthenticator
- type EdgeDoCreateIdentity
- type EdgeDoCreateUser
- type EdgeDoEnsureSession
- type EdgeDoGenerateRecoveryCode
- type EdgeDoRemoveAuthenticator
- type EdgeDoRemoveIdentity
- type EdgeDoResetLockoutAttempts
- type EdgeDoUpdateAuthenticator
- type EdgeDoUpdateIdentity
- type EdgeDoUseAuthenticator
- type EdgeDoUseIdentity
- type EdgeDoUseUser
- type EdgeDoVerifyIdentity
- type EdgeEnsurePasswordChange
- type EdgeEnsureRemoveAnonymousIdentity
- type EdgeEnsureVerificationBegin
- type EdgeEnsureVerificationEnd
- type EdgeForgotPasswordBegin
- type EdgeForgotPasswordSelectLoginID
- type EdgeGenerateRecoveryCode
- type EdgeGenerateRecoveryCodeEnd
- type EdgeIncompatibleInput
- type EdgeOOBResendCode
- type EdgePromptCreatePasskey
- type EdgePromptCreatePasskeyBegin
- type EdgeReauthenticationBegin
- type EdgeRemoveAuthenticator
- type EdgeRemoveIdentity
- type EdgeResetPassword
- type EdgeSelectIdentityBegin
- type EdgeSelectIdentityEnd
- type EdgeSettingsActionEnd
- type EdgeTerminal
- type EdgeUpdateIdentityBegin
- type EdgeUpdateIdentityEnd
- type EdgeUseDeviceToken
- type EdgeUseIdentityAnonymous
- type EdgeUseIdentityBiometric
- type EdgeUseIdentityLoginID
- type EdgeUseIdentityOAuthProvider
- type EdgeUseIdentityOAuthUserInfo
- type EdgeUseIdentityPasskey
- type EdgeUseIdentitySIWE
- type EdgeValidateUser
- type EdgeVerifyIdentity
- type EdgeVerifyIdentityCheckCode
- type EdgeVerifyIdentityResendCode
- type EdgeVerifyIdentityViaWhatsapp
- type EdgeVerifyIdentityViaWhatsappCheckCode
- type EdgeWhatsappOTPResendCode
- type EnsureSessionMode
- type InputAuthenticationLoginLink
- type InputAuthenticationLoginLinkTrigger
- type InputAuthenticationOOB
- type InputAuthenticationOOBTrigger
- type InputAuthenticationPasskey
- type InputAuthenticationPassword
- type InputAuthenticationStage
- type InputAuthenticationTOTP
- type InputAuthenticationWhatsapp
- type InputAuthenticationWhatsappTrigger
- type InputChangePassword
- type InputConfirmTerminateOtherSessionsEnd
- type InputConsumeRecoveryCode
- type InputCreateAuthenticatorLoginLinkOTP
- type InputCreateAuthenticatorLoginLinkOTPSetup
- type InputCreateAuthenticatorLoginLinkOTPSetupSelect
- type InputCreateAuthenticatorOOB
- type InputCreateAuthenticatorOOBSetup
- type InputCreateAuthenticatorOOBSetupSelect
- type InputCreateAuthenticatorPasskey
- type InputCreateAuthenticatorPassword
- type InputCreateAuthenticatorTOTP
- type InputCreateAuthenticatorTOTPSetup
- type InputCreateAuthenticatorWhatsappOTP
- type InputCreateAuthenticatorWhatsappOTPSetup
- type InputCreateAuthenticatorWhatsappOTPSetupSelect
- type InputCreateDeviceToken
- type InputGenerateRecoveryCodeEnd
- type InputOOBResendCode
- type InputPromptCreatePasskey
- type InputRemoveAuthenticator
- type InputRemoveIdentity
- type InputResetPassword
- type InputResetPasswordByCode
- type InputUseDeviceToken
- type InputUseIdentityAnonymous
- type InputUseIdentityBiometric
- type InputUseIdentityLoginID
- type InputUseIdentityOAuthProvider
- type InputUseIdentityOAuthUserInfo
- type InputUseIdentityPasskey
- type InputUseIdentitySIWE
- type InputVerifyIdentity
- type InputVerifyIdentityCheckCode
- type InputVerifyIdentityResendCode
- type InputVerifyIdentityViaWhatsapp
- type InputVerifyIdentityViaWhatsappCheckCode
- type InputWhatsappOTPResendCode
- type NodeAuthenticationBegin
- func (n *NodeAuthenticationBegin) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
- func (n *NodeAuthenticationBegin) GetAuthenticationEdges() ([]interaction.Edge, error)
- func (n *NodeAuthenticationBegin) GetAuthenticationStage() authn.AuthenticationStage
- func (n *NodeAuthenticationBegin) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
- func (n *NodeAuthenticationBegin) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
- type NodeAuthenticationEnd
- func (n *NodeAuthenticationEnd) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
- func (n *NodeAuthenticationEnd) FillDetails(err error) error
- func (n *NodeAuthenticationEnd) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
- func (n *NodeAuthenticationEnd) IsFailure() (err error)
- func (n *NodeAuthenticationEnd) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
- type NodeAuthenticationLoginLink
- func (n *NodeAuthenticationLoginLink) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
- func (n *NodeAuthenticationLoginLink) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
- func (n *NodeAuthenticationLoginLink) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
- type NodeAuthenticationLoginLinkTrigger
- func (n *NodeAuthenticationLoginLinkTrigger) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
- func (n *NodeAuthenticationLoginLinkTrigger) GetAuthenticatorIndex() int
- func (n *NodeAuthenticationLoginLinkTrigger) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
- func (n *NodeAuthenticationLoginLinkTrigger) GetLoginLinkOTPChannel() string
- func (n *NodeAuthenticationLoginLinkTrigger) GetLoginLinkOTPOOBType() interaction.OOBType
- func (n *NodeAuthenticationLoginLinkTrigger) GetLoginLinkOTPTarget() string
- func (n *NodeAuthenticationLoginLinkTrigger) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
- type NodeAuthenticationOOB
- func (n *NodeAuthenticationOOB) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
- func (n *NodeAuthenticationOOB) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
- func (n *NodeAuthenticationOOB) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
- type NodeAuthenticationOOBTrigger
- func (n *NodeAuthenticationOOBTrigger) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
- func (n *NodeAuthenticationOOBTrigger) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
- func (n *NodeAuthenticationOOBTrigger) GetOOBOTPChannel() string
- func (n *NodeAuthenticationOOBTrigger) GetOOBOTPCodeLength() int
- func (n *NodeAuthenticationOOBTrigger) GetOOBOTPOOBType() interaction.OOBType
- func (n *NodeAuthenticationOOBTrigger) GetOOBOTPTarget() string
- func (n *NodeAuthenticationOOBTrigger) GetSelectedPhoneNumberForPhoneOTPAuthentication() string
- func (n *NodeAuthenticationOOBTrigger) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
- type NodeAuthenticationPasskey
- func (n *NodeAuthenticationPasskey) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
- func (n *NodeAuthenticationPasskey) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
- func (n *NodeAuthenticationPasskey) GetRequireUpdateAuthenticator(stage authn.AuthenticationStage) (info *authenticator.Info, ok bool)
- func (n *NodeAuthenticationPasskey) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
- type NodeAuthenticationPassword
- func (n *NodeAuthenticationPassword) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
- func (n *NodeAuthenticationPassword) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
- func (n *NodeAuthenticationPassword) GetRequireUpdateAuthenticator(stage authn.AuthenticationStage) (info *authenticator.Info, reason *interaction.AuthenticatorUpdateReason, ...)
- func (n *NodeAuthenticationPassword) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
- type NodeAuthenticationTOTP
- func (n *NodeAuthenticationTOTP) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
- func (n *NodeAuthenticationTOTP) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
- func (n *NodeAuthenticationTOTP) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
- type NodeAuthenticationWhatsapp
- func (n *NodeAuthenticationWhatsapp) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
- func (n *NodeAuthenticationWhatsapp) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
- func (n *NodeAuthenticationWhatsapp) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
- type NodeAuthenticationWhatsappTrigger
- func (n *NodeAuthenticationWhatsappTrigger) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
- func (n *NodeAuthenticationWhatsappTrigger) GetAuthenticatorIndex() int
- func (n *NodeAuthenticationWhatsappTrigger) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
- func (n *NodeAuthenticationWhatsappTrigger) GetOTPKindFactory() otp.DeprecatedKindFactory
- func (n *NodeAuthenticationWhatsappTrigger) GetPhone() string
- func (n *NodeAuthenticationWhatsappTrigger) GetSelectedPhoneNumberForPhoneOTPAuthentication() string
- func (n *NodeAuthenticationWhatsappTrigger) GetWhatsappOTPLength() int
- func (n *NodeAuthenticationWhatsappTrigger) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
- type NodeChangePasswordBegin
- func (n *NodeChangePasswordBegin) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
- func (n *NodeChangePasswordBegin) GetChangeReason() *interaction.AuthenticatorUpdateReason
- func (n *NodeChangePasswordBegin) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
- func (n *NodeChangePasswordBegin) IsForceChangePassword() bool
- func (n *NodeChangePasswordBegin) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
- type NodeChangePasswordEnd
- func (n *NodeChangePasswordEnd) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
- func (n *NodeChangePasswordEnd) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
- func (n *NodeChangePasswordEnd) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
- type NodeCheckIdentityConflict
- func (n *NodeCheckIdentityConflict) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
- func (n *NodeCheckIdentityConflict) FillDetails(err error) error
- func (n *NodeCheckIdentityConflict) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
- func (n *NodeCheckIdentityConflict) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
- type NodeConfirmTerminateOtherSessionsBegin
- func (n *NodeConfirmTerminateOtherSessionsBegin) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
- func (n *NodeConfirmTerminateOtherSessionsBegin) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
- func (n *NodeConfirmTerminateOtherSessionsBegin) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
- type NodeConfirmTerminateOtherSessionsEnd
- func (n *NodeConfirmTerminateOtherSessionsEnd) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
- func (n *NodeConfirmTerminateOtherSessionsEnd) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
- func (n *NodeConfirmTerminateOtherSessionsEnd) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
- type NodeCreateAuthenticatorBegin
- func (n *NodeCreateAuthenticatorBegin) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
- func (n *NodeCreateAuthenticatorBegin) GetCreateAuthenticatorEdges() ([]interaction.Edge, error)
- func (n *NodeCreateAuthenticatorBegin) GetCreateAuthenticatorStage() authn.AuthenticationStage
- func (n *NodeCreateAuthenticatorBegin) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
- func (n *NodeCreateAuthenticatorBegin) IsOOBAuthenticatorTypeAllowed(oobAuthenticatorType model.AuthenticatorType) (bool, error)
- func (n *NodeCreateAuthenticatorBegin) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
- type NodeCreateAuthenticatorEnd
- func (n *NodeCreateAuthenticatorEnd) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
- func (n *NodeCreateAuthenticatorEnd) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
- func (n *NodeCreateAuthenticatorEnd) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
- type NodeCreateAuthenticatorLoginLinkOTP
- func (n *NodeCreateAuthenticatorLoginLinkOTP) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
- func (n *NodeCreateAuthenticatorLoginLinkOTP) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
- func (n *NodeCreateAuthenticatorLoginLinkOTP) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
- type NodeCreateAuthenticatorLoginLinkOTPSetup
- func (n *NodeCreateAuthenticatorLoginLinkOTPSetup) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
- func (n *NodeCreateAuthenticatorLoginLinkOTPSetup) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
- func (n *NodeCreateAuthenticatorLoginLinkOTPSetup) GetLoginLinkOTPChannel() string
- func (n *NodeCreateAuthenticatorLoginLinkOTPSetup) GetLoginLinkOTPOOBType() interaction.OOBType
- func (n *NodeCreateAuthenticatorLoginLinkOTPSetup) GetLoginLinkOTPTarget() string
- func (n *NodeCreateAuthenticatorLoginLinkOTPSetup) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
- type NodeCreateAuthenticatorOOB
- func (n *NodeCreateAuthenticatorOOB) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
- func (n *NodeCreateAuthenticatorOOB) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
- func (n *NodeCreateAuthenticatorOOB) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
- type NodeCreateAuthenticatorOOBSetup
- func (n *NodeCreateAuthenticatorOOBSetup) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
- func (n *NodeCreateAuthenticatorOOBSetup) GetCreateAuthenticatorStage() authn.AuthenticationStage
- func (n *NodeCreateAuthenticatorOOBSetup) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
- func (n *NodeCreateAuthenticatorOOBSetup) GetOOBOTPChannel() string
- func (n *NodeCreateAuthenticatorOOBSetup) GetOOBOTPCodeLength() int
- func (n *NodeCreateAuthenticatorOOBSetup) GetOOBOTPOOBType() interaction.OOBType
- func (n *NodeCreateAuthenticatorOOBSetup) GetOOBOTPTarget() string
- func (n *NodeCreateAuthenticatorOOBSetup) GetSelectedPhoneNumberForPhoneOTP() string
- func (n *NodeCreateAuthenticatorOOBSetup) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
- type NodeCreateAuthenticatorPasskey
- func (n *NodeCreateAuthenticatorPasskey) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
- func (n *NodeCreateAuthenticatorPasskey) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
- func (n *NodeCreateAuthenticatorPasskey) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
- type NodeCreateAuthenticatorPassword
- func (n *NodeCreateAuthenticatorPassword) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
- func (n *NodeCreateAuthenticatorPassword) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
- func (n *NodeCreateAuthenticatorPassword) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
- type NodeCreateAuthenticatorTOTP
- func (n *NodeCreateAuthenticatorTOTP) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
- func (n *NodeCreateAuthenticatorTOTP) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
- func (n *NodeCreateAuthenticatorTOTP) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
- type NodeCreateAuthenticatorTOTPSetup
- func (n *NodeCreateAuthenticatorTOTPSetup) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
- func (n *NodeCreateAuthenticatorTOTPSetup) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
- func (n *NodeCreateAuthenticatorTOTPSetup) GetTOTPAuthenticator() *authenticator.Info
- func (n *NodeCreateAuthenticatorTOTPSetup) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
- type NodeCreateAuthenticatorWhatsappOTP
- func (n *NodeCreateAuthenticatorWhatsappOTP) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
- func (n *NodeCreateAuthenticatorWhatsappOTP) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
- func (n *NodeCreateAuthenticatorWhatsappOTP) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
- type NodeCreateAuthenticatorWhatsappOTPSetup
- func (n *NodeCreateAuthenticatorWhatsappOTPSetup) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
- func (n *NodeCreateAuthenticatorWhatsappOTPSetup) GetCreateAuthenticatorStage() authn.AuthenticationStage
- func (n *NodeCreateAuthenticatorWhatsappOTPSetup) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
- func (n *NodeCreateAuthenticatorWhatsappOTPSetup) GetOTPKindFactory() otp.DeprecatedKindFactory
- func (n *NodeCreateAuthenticatorWhatsappOTPSetup) GetPhone() string
- func (n *NodeCreateAuthenticatorWhatsappOTPSetup) GetSelectedPhoneNumberForPhoneOTP() string
- func (n *NodeCreateAuthenticatorWhatsappOTPSetup) GetWhatsappOTPLength() int
- func (n *NodeCreateAuthenticatorWhatsappOTPSetup) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
- type NodeCreateIdentityBegin
- func (n *NodeCreateIdentityBegin) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
- func (n *NodeCreateIdentityBegin) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
- func (n *NodeCreateIdentityBegin) GetIdentityCandidates() []identity.Candidate
- func (n *NodeCreateIdentityBegin) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
- type NodeCreateIdentityEnd
- func (n *NodeCreateIdentityEnd) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
- func (n *NodeCreateIdentityEnd) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
- func (n *NodeCreateIdentityEnd) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
- type NodeDoConsumeRecoveryCode
- func (n *NodeDoConsumeRecoveryCode) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
- func (n *NodeDoConsumeRecoveryCode) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
- func (n *NodeDoConsumeRecoveryCode) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
- func (n *NodeDoConsumeRecoveryCode) UsedAuthenticationLockoutMethod() (config.AuthenticationLockoutMethod, bool)
- type NodeDoCreateAuthenticator
- func (n *NodeDoCreateAuthenticator) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
- func (n *NodeDoCreateAuthenticator) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
- func (n *NodeDoCreateAuthenticator) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
- func (n *NodeDoCreateAuthenticator) UserAuthenticator(stage authn.AuthenticationStage) (*authenticator.Info, bool)
- func (n *NodeDoCreateAuthenticator) UserNewAuthenticators() []*authenticator.Info
- type NodeDoCreateIdentity
- func (n *NodeDoCreateIdentity) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
- func (n *NodeDoCreateIdentity) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
- func (n *NodeDoCreateIdentity) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
- func (n *NodeDoCreateIdentity) UserNewIdentity() *identity.Info
- type NodeDoCreateUser
- func (n *NodeDoCreateUser) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
- func (n *NodeDoCreateUser) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
- func (n *NodeDoCreateUser) NewUserID() string
- func (n *NodeDoCreateUser) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
- func (n *NodeDoCreateUser) UserID() string
- type NodeDoEnsureSession
- func (n *NodeDoEnsureSession) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
- func (n *NodeDoEnsureSession) GetAuthenticationInfoEntry() *authenticationinfo.Entry
- func (n *NodeDoEnsureSession) GetCookies() (cookies []*http.Cookie)
- func (n *NodeDoEnsureSession) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
- func (n *NodeDoEnsureSession) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
- type NodeDoGenerateRecoveryCode
- func (n *NodeDoGenerateRecoveryCode) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
- func (n *NodeDoGenerateRecoveryCode) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
- func (n *NodeDoGenerateRecoveryCode) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
- type NodeDoRemoveAuthenticator
- func (n *NodeDoRemoveAuthenticator) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
- func (n *NodeDoRemoveAuthenticator) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
- func (n *NodeDoRemoveAuthenticator) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
- type NodeDoRemoveIdentity
- func (n *NodeDoRemoveIdentity) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
- func (n *NodeDoRemoveIdentity) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
- func (n *NodeDoRemoveIdentity) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
- type NodeDoResetLockoutAttempts
- func (n *NodeDoResetLockoutAttempts) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
- func (n *NodeDoResetLockoutAttempts) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
- func (n *NodeDoResetLockoutAttempts) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
- type NodeDoUpdateAuthenticator
- func (n *NodeDoUpdateAuthenticator) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
- func (n *NodeDoUpdateAuthenticator) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
- func (n *NodeDoUpdateAuthenticator) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
- func (n *NodeDoUpdateAuthenticator) UserAuthenticator(stage authn.AuthenticationStage) (*authenticator.Info, bool)
- type NodeDoUpdateIdentity
- func (n *NodeDoUpdateIdentity) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
- func (n *NodeDoUpdateIdentity) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
- func (n *NodeDoUpdateIdentity) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
- func (n *NodeDoUpdateIdentity) UserIdentity() *identity.Info
- type NodeDoUseAuthenticator
- func (n *NodeDoUseAuthenticator) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
- func (n *NodeDoUseAuthenticator) GetCookies() []*http.Cookie
- func (n *NodeDoUseAuthenticator) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
- func (n *NodeDoUseAuthenticator) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
- func (n *NodeDoUseAuthenticator) UsedAuthenticationLockoutMethod() (config.AuthenticationLockoutMethod, bool)
- func (n *NodeDoUseAuthenticator) UserAuthenticator(stage authn.AuthenticationStage) (*authenticator.Info, bool)
- type NodeDoUseIdentity
- func (n *NodeDoUseIdentity) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
- func (n *NodeDoUseIdentity) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
- func (n *NodeDoUseIdentity) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
- func (n *NodeDoUseIdentity) UserID() string
- func (n *NodeDoUseIdentity) UserIdentity() *identity.Info
- type NodeDoUseUser
- func (n *NodeDoUseUser) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
- func (n *NodeDoUseUser) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
- func (n *NodeDoUseUser) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
- func (n *NodeDoUseUser) UserID() string
- type NodeDoVerifyIdentity
- func (n *NodeDoVerifyIdentity) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
- func (n *NodeDoVerifyIdentity) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
- func (n *NodeDoVerifyIdentity) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
- type NodeEnsurePasswordChange
- func (n *NodeEnsurePasswordChange) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
- func (n *NodeEnsurePasswordChange) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
- func (n *NodeEnsurePasswordChange) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
- type NodeEnsureRemoveAnonymousIdentity
- func (n *NodeEnsureRemoveAnonymousIdentity) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
- func (n *NodeEnsureRemoveAnonymousIdentity) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
- func (n *NodeEnsureRemoveAnonymousIdentity) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
- type NodeEnsureVerificationBegin
- func (n *NodeEnsureVerificationBegin) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
- func (n *NodeEnsureVerificationBegin) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
- func (n *NodeEnsureVerificationBegin) GetVerifyIdentityEdges() ([]interaction.Edge, error)
- func (n *NodeEnsureVerificationBegin) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
- type NodeEnsureVerificationEnd
- func (n *NodeEnsureVerificationEnd) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
- func (n *NodeEnsureVerificationEnd) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
- func (n *NodeEnsureVerificationEnd) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
- type NodeForgotPasswordBegin
- func (n *NodeForgotPasswordBegin) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
- func (n *NodeForgotPasswordBegin) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
- func (n *NodeForgotPasswordBegin) GetIdentityCandidates() []identity.Candidate
- func (n *NodeForgotPasswordBegin) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
- type NodeForgotPasswordEnd
- func (n *NodeForgotPasswordEnd) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
- func (n *NodeForgotPasswordEnd) GetCookies() []*http.Cookie
- func (n *NodeForgotPasswordEnd) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
- func (n *NodeForgotPasswordEnd) GetLoginID() string
- func (n *NodeForgotPasswordEnd) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
- type NodeGenerateRecoveryCodeBegin
- func (n *NodeGenerateRecoveryCodeBegin) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
- func (n *NodeGenerateRecoveryCodeBegin) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
- func (n *NodeGenerateRecoveryCodeBegin) GetRecoveryCodes() []string
- func (n *NodeGenerateRecoveryCodeBegin) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
- type NodeGenerateRecoveryCodeEnd
- func (n *NodeGenerateRecoveryCodeEnd) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
- func (n *NodeGenerateRecoveryCodeEnd) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
- func (n *NodeGenerateRecoveryCodeEnd) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
- type NodePromptCreatePasskeyBegin
- func (n *NodePromptCreatePasskeyBegin) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
- func (n *NodePromptCreatePasskeyBegin) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
- func (n *NodePromptCreatePasskeyBegin) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
- type NodePromptCreatePasskeyEnd
- func (n *NodePromptCreatePasskeyEnd) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
- func (n *NodePromptCreatePasskeyEnd) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
- func (n *NodePromptCreatePasskeyEnd) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
- type NodeReauthenticationBegin
- func (n *NodeReauthenticationBegin) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
- func (n *NodeReauthenticationBegin) GetAuthenticationEdges() ([]interaction.Edge, error)
- func (n *NodeReauthenticationBegin) GetAuthenticationStage() authn.AuthenticationStage
- func (n *NodeReauthenticationBegin) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
- func (n *NodeReauthenticationBegin) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
- type NodeRemoveAuthenticator
- func (n *NodeRemoveAuthenticator) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
- func (n *NodeRemoveAuthenticator) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
- func (n *NodeRemoveAuthenticator) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
- type NodeRemoveIdentity
- func (n *NodeRemoveIdentity) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
- func (n *NodeRemoveIdentity) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
- func (n *NodeRemoveIdentity) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
- type NodeResetPasswordBegin
- func (n *NodeResetPasswordBegin) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
- func (n *NodeResetPasswordBegin) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
- func (n *NodeResetPasswordBegin) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
- type NodeResetPasswordEnd
- func (n *NodeResetPasswordEnd) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
- func (n *NodeResetPasswordEnd) GetCookies() []*http.Cookie
- func (n *NodeResetPasswordEnd) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
- func (n *NodeResetPasswordEnd) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
- type NodeSelectIdentityBegin
- func (n *NodeSelectIdentityBegin) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
- func (n *NodeSelectIdentityBegin) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
- func (n *NodeSelectIdentityBegin) GetIdentityCandidates() []identity.Candidate
- func (n *NodeSelectIdentityBegin) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
- type NodeSelectIdentityEnd
- func (n *NodeSelectIdentityEnd) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
- func (n *NodeSelectIdentityEnd) FillDetails(err error) error
- func (n *NodeSelectIdentityEnd) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
- func (n *NodeSelectIdentityEnd) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
- type NodeSettingsActionEnd
- func (n *NodeSettingsActionEnd) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
- func (n *NodeSettingsActionEnd) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
- func (n *NodeSettingsActionEnd) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
- type NodeUpdateIdentityBegin
- func (n *NodeUpdateIdentityBegin) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
- func (n *NodeUpdateIdentityBegin) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
- func (n *NodeUpdateIdentityBegin) GetIdentityCandidates() []identity.Candidate
- func (n *NodeUpdateIdentityBegin) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
- func (n *NodeUpdateIdentityBegin) UpdateIdentityID() string
- type NodeUpdateIdentityEnd
- func (n *NodeUpdateIdentityEnd) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
- func (n *NodeUpdateIdentityEnd) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
- func (n *NodeUpdateIdentityEnd) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
- type NodeUseIdentityAnonymous
- func (n *NodeUseIdentityAnonymous) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
- func (n *NodeUseIdentityAnonymous) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
- func (n *NodeUseIdentityAnonymous) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
- type NodeUseIdentityBiometric
- func (n *NodeUseIdentityBiometric) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
- func (n *NodeUseIdentityBiometric) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
- func (n *NodeUseIdentityBiometric) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
- type NodeUseIdentityLoginID
- func (n *NodeUseIdentityLoginID) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
- func (n *NodeUseIdentityLoginID) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
- func (n *NodeUseIdentityLoginID) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
- type NodeUseIdentityOAuthProvider
- func (n *NodeUseIdentityOAuthProvider) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
- func (n *NodeUseIdentityOAuthProvider) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
- func (n *NodeUseIdentityOAuthProvider) GetErrorRedirectURI() string
- func (n *NodeUseIdentityOAuthProvider) GetRedirectURI() string
- func (n *NodeUseIdentityOAuthProvider) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
- type NodeUseIdentityOAuthUserInfo
- func (n *NodeUseIdentityOAuthUserInfo) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
- func (n *NodeUseIdentityOAuthUserInfo) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
- func (n *NodeUseIdentityOAuthUserInfo) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
- type NodeUseIdentityPasskey
- func (n *NodeUseIdentityPasskey) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
- func (n *NodeUseIdentityPasskey) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
- func (n *NodeUseIdentityPasskey) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
- type NodeUseIdentitySIWE
- func (n *NodeUseIdentitySIWE) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
- func (n *NodeUseIdentitySIWE) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
- func (n *NodeUseIdentitySIWE) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
- type NodeValidateUser
- func (n *NodeValidateUser) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
- func (n *NodeValidateUser) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
- func (n *NodeValidateUser) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
- type NodeVerifyIdentity
- func (n *NodeVerifyIdentity) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
- func (n *NodeVerifyIdentity) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
- func (n *NodeVerifyIdentity) GetRequestedByUser() bool
- func (n *NodeVerifyIdentity) GetVerificationCodeChannel() string
- func (n *NodeVerifyIdentity) GetVerificationCodeLength() int
- func (n *NodeVerifyIdentity) GetVerificationCodeTarget() string
- func (n *NodeVerifyIdentity) GetVerificationIdentity() *identity.Info
- func (n *NodeVerifyIdentity) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
- func (n *NodeVerifyIdentity) SendCode(goCtx context.Context, ctx *interaction.Context, ignoreRatelimitError bool) (*SendOOBCodeResult, error)
- type NodeVerifyIdentityViaWhatsapp
- func (n *NodeVerifyIdentityViaWhatsapp) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
- func (n *NodeVerifyIdentityViaWhatsapp) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
- func (n *NodeVerifyIdentityViaWhatsapp) GetOTPKindFactory() otp.DeprecatedKindFactory
- func (n *NodeVerifyIdentityViaWhatsapp) GetPhone() string
- func (n *NodeVerifyIdentityViaWhatsapp) GetWhatsappOTPLength() int
- func (n *NodeVerifyIdentityViaWhatsapp) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
- type SendOOBCode
- type SendOOBCodeResult
- type SendWhatsappCode
- type SendWhatsappCodeResult
- type UseIdentityLoginIDMode
Constants ¶
const ( UseIdentityLoginIDModeCreate = "create" UseIdentityLoginIDModeSelect = "select" UseIdentityLoginIDModeUpdate = "update" )
Variables ¶
var ErrNoPublicSignup = apierrors.Forbidden.WithReason("NoPublicSignup").New("public signup is disabled")
Functions ¶
This section is empty.
Types ¶
type EdgeAuthenticationBegin ¶
type EdgeAuthenticationBegin struct {
Stage authn.AuthenticationStage
}
func (*EdgeAuthenticationBegin) Instantiate ¶
func (e *EdgeAuthenticationBegin) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, input interface{}) (interaction.Node, error)
type EdgeAuthenticationEnd ¶
type EdgeAuthenticationEnd struct { Stage authn.AuthenticationStage AuthenticationType authn.AuthenticationType VerifiedAuthenticator *authenticator.Info RecoveryCode *mfa.RecoveryCode }
func (*EdgeAuthenticationEnd) Instantiate ¶
func (e *EdgeAuthenticationEnd) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, input interface{}) (interaction.Node, error)
type EdgeAuthenticationLoginLink ¶
type EdgeAuthenticationLoginLink struct { Stage authn.AuthenticationStage Authenticator *authenticator.Info }
func (*EdgeAuthenticationLoginLink) Instantiate ¶
func (e *EdgeAuthenticationLoginLink) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, rawInput interface{}) (interaction.Node, error)
type EdgeAuthenticationLoginLinkTrigger ¶
type EdgeAuthenticationLoginLinkTrigger struct { Stage authn.AuthenticationStage Authenticators []*authenticator.Info }
func (*EdgeAuthenticationLoginLinkTrigger) AuthenticatorType ¶
func (e *EdgeAuthenticationLoginLinkTrigger) AuthenticatorType() model.AuthenticatorType
func (*EdgeAuthenticationLoginLinkTrigger) GetTarget ¶
func (e *EdgeAuthenticationLoginLinkTrigger) GetTarget(idx int) string
func (*EdgeAuthenticationLoginLinkTrigger) Instantiate ¶
func (e *EdgeAuthenticationLoginLinkTrigger) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, rawInput interface{}) (interaction.Node, error)
func (*EdgeAuthenticationLoginLinkTrigger) IsDefaultAuthenticator ¶
func (e *EdgeAuthenticationLoginLinkTrigger) IsDefaultAuthenticator() bool
type EdgeAuthenticationOOB ¶
type EdgeAuthenticationOOB struct { Stage authn.AuthenticationStage Authenticator *authenticator.Info Secret string }
func (*EdgeAuthenticationOOB) Instantiate ¶
func (e *EdgeAuthenticationOOB) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, rawInput interface{}) (interaction.Node, error)
type EdgeAuthenticationOOBTrigger ¶
type EdgeAuthenticationOOBTrigger struct { Stage authn.AuthenticationStage OOBAuthenticatorType model.AuthenticatorType Authenticators []*authenticator.Info }
func (*EdgeAuthenticationOOBTrigger) AuthenticatorType ¶
func (e *EdgeAuthenticationOOBTrigger) AuthenticatorType() model.AuthenticatorType
func (*EdgeAuthenticationOOBTrigger) GetOOBOTPChannel ¶
func (e *EdgeAuthenticationOOBTrigger) GetOOBOTPChannel(idx int) model.AuthenticatorOOBChannel
func (*EdgeAuthenticationOOBTrigger) GetOOBOTPTarget ¶
func (e *EdgeAuthenticationOOBTrigger) GetOOBOTPTarget(idx int) string
func (*EdgeAuthenticationOOBTrigger) Instantiate ¶
func (e *EdgeAuthenticationOOBTrigger) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, rawInput interface{}) (interaction.Node, error)
func (*EdgeAuthenticationOOBTrigger) IsDefaultAuthenticator ¶
func (e *EdgeAuthenticationOOBTrigger) IsDefaultAuthenticator() bool
type EdgeAuthenticationPasskey ¶
type EdgeAuthenticationPasskey struct { Stage authn.AuthenticationStage Authenticators []*authenticator.Info }
func (*EdgeAuthenticationPasskey) AuthenticatorType ¶
func (e *EdgeAuthenticationPasskey) AuthenticatorType() model.AuthenticatorType
func (*EdgeAuthenticationPasskey) Instantiate ¶
func (e *EdgeAuthenticationPasskey) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, rawInput interface{}) (interaction.Node, error)
func (*EdgeAuthenticationPasskey) IsDefaultAuthenticator ¶
func (e *EdgeAuthenticationPasskey) IsDefaultAuthenticator() bool
type EdgeAuthenticationPassword ¶
type EdgeAuthenticationPassword struct { Stage authn.AuthenticationStage Authenticators []*authenticator.Info }
func (*EdgeAuthenticationPassword) AuthenticatorType ¶
func (e *EdgeAuthenticationPassword) AuthenticatorType() model.AuthenticatorType
func (*EdgeAuthenticationPassword) Instantiate ¶
func (e *EdgeAuthenticationPassword) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, rawInput interface{}) (interaction.Node, error)
func (*EdgeAuthenticationPassword) IsDefaultAuthenticator ¶
func (e *EdgeAuthenticationPassword) IsDefaultAuthenticator() bool
type EdgeAuthenticationTOTP ¶
type EdgeAuthenticationTOTP struct { Stage authn.AuthenticationStage Authenticators []*authenticator.Info }
func (*EdgeAuthenticationTOTP) AuthenticatorType ¶
func (e *EdgeAuthenticationTOTP) AuthenticatorType() model.AuthenticatorType
func (*EdgeAuthenticationTOTP) Instantiate ¶
func (e *EdgeAuthenticationTOTP) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, rawInput interface{}) (interaction.Node, error)
func (*EdgeAuthenticationTOTP) IsDefaultAuthenticator ¶
func (e *EdgeAuthenticationTOTP) IsDefaultAuthenticator() bool
type EdgeAuthenticationWhatsapp ¶
type EdgeAuthenticationWhatsapp struct { Stage authn.AuthenticationStage Authenticator *authenticator.Info }
func (*EdgeAuthenticationWhatsapp) Instantiate ¶
func (e *EdgeAuthenticationWhatsapp) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, rawInput interface{}) (interaction.Node, error)
type EdgeAuthenticationWhatsappTrigger ¶
type EdgeAuthenticationWhatsappTrigger struct { Stage authn.AuthenticationStage Authenticators []*authenticator.Info }
func (*EdgeAuthenticationWhatsappTrigger) AuthenticatorType ¶
func (e *EdgeAuthenticationWhatsappTrigger) AuthenticatorType() model.AuthenticatorType
func (*EdgeAuthenticationWhatsappTrigger) GetPhone ¶
func (e *EdgeAuthenticationWhatsappTrigger) GetPhone(idx int) string
func (*EdgeAuthenticationWhatsappTrigger) Instantiate ¶
func (e *EdgeAuthenticationWhatsappTrigger) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, rawInput interface{}) (interaction.Node, error)
func (*EdgeAuthenticationWhatsappTrigger) IsDefaultAuthenticator ¶
func (e *EdgeAuthenticationWhatsappTrigger) IsDefaultAuthenticator() bool
type EdgeChangePassword ¶
type EdgeChangePassword struct { Stage authn.AuthenticationStage Reason *interaction.AuthenticatorUpdateReason }
func (*EdgeChangePassword) Instantiate ¶
func (e *EdgeChangePassword) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, rawInput interface{}) (node interaction.Node, err error)
type EdgeChangePasswordBegin ¶
type EdgeChangePasswordBegin struct { Force bool Stage authn.AuthenticationStage }
func (*EdgeChangePasswordBegin) Instantiate ¶
func (e *EdgeChangePasswordBegin) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, rawInput interface{}) (interaction.Node, error)
type EdgeCheckIdentityConflict ¶
func (*EdgeCheckIdentityConflict) Instantiate ¶
func (e *EdgeCheckIdentityConflict) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, rawInput interface{}) (interaction.Node, error)
type EdgeConfirmTerminateOtherSessionsBegin ¶
type EdgeConfirmTerminateOtherSessionsBegin struct { }
func (*EdgeConfirmTerminateOtherSessionsBegin) Instantiate ¶
func (e *EdgeConfirmTerminateOtherSessionsBegin) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, rawInput interface{}) (interaction.Node, error)
type EdgeConfirmTerminateOtherSessionsEnd ¶
type EdgeConfirmTerminateOtherSessionsEnd struct { }
func (*EdgeConfirmTerminateOtherSessionsEnd) Instantiate ¶
func (e *EdgeConfirmTerminateOtherSessionsEnd) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, rawInput interface{}) (interaction.Node, error)
type EdgeConsumeRecoveryCode ¶
type EdgeConsumeRecoveryCode struct{}
func (*EdgeConsumeRecoveryCode) Instantiate ¶
func (e *EdgeConsumeRecoveryCode) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, rawInput interface{}) (interaction.Node, error)
type EdgeCreateAuthenticatorBegin ¶
type EdgeCreateAuthenticatorBegin struct { Stage authn.AuthenticationStage AuthenticatorType *model.AuthenticatorType }
func (*EdgeCreateAuthenticatorBegin) Instantiate ¶
func (e *EdgeCreateAuthenticatorBegin) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, input interface{}) (interaction.Node, error)
type EdgeCreateAuthenticatorEnd ¶
type EdgeCreateAuthenticatorEnd struct { Stage authn.AuthenticationStage Authenticators []*authenticator.Info }
func (*EdgeCreateAuthenticatorEnd) Instantiate ¶
func (e *EdgeCreateAuthenticatorEnd) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, input interface{}) (interaction.Node, error)
type EdgeCreateAuthenticatorLoginLinkOTP ¶
type EdgeCreateAuthenticatorLoginLinkOTP struct { Stage authn.AuthenticationStage Authenticator *authenticator.Info }
func (*EdgeCreateAuthenticatorLoginLinkOTP) Instantiate ¶
func (e *EdgeCreateAuthenticatorLoginLinkOTP) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, rawInput interface{}) (interaction.Node, error)
type EdgeCreateAuthenticatorLoginLinkOTPSetup ¶
type EdgeCreateAuthenticatorLoginLinkOTPSetup struct { NewAuthenticatorID string Stage authn.AuthenticationStage IsDefault bool }
func (*EdgeCreateAuthenticatorLoginLinkOTPSetup) AuthenticatorType ¶
func (e *EdgeCreateAuthenticatorLoginLinkOTPSetup) AuthenticatorType() model.AuthenticatorType
func (*EdgeCreateAuthenticatorLoginLinkOTPSetup) Instantiate ¶
func (e *EdgeCreateAuthenticatorLoginLinkOTPSetup) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, rawInput interface{}) (interaction.Node, error)
func (*EdgeCreateAuthenticatorLoginLinkOTPSetup) IsDefaultAuthenticator ¶
func (e *EdgeCreateAuthenticatorLoginLinkOTPSetup) IsDefaultAuthenticator() bool
type EdgeCreateAuthenticatorOOB ¶
type EdgeCreateAuthenticatorOOB struct { Stage authn.AuthenticationStage Authenticator *authenticator.Info }
func (*EdgeCreateAuthenticatorOOB) Instantiate ¶
func (e *EdgeCreateAuthenticatorOOB) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, rawInput interface{}) (interaction.Node, error)
type EdgeCreateAuthenticatorOOBSetup ¶
type EdgeCreateAuthenticatorOOBSetup struct { NewAuthenticatorID string Stage authn.AuthenticationStage IsDefault bool OOBAuthenticatorType model.AuthenticatorType }
func (*EdgeCreateAuthenticatorOOBSetup) AuthenticatorType ¶
func (e *EdgeCreateAuthenticatorOOBSetup) AuthenticatorType() model.AuthenticatorType
func (*EdgeCreateAuthenticatorOOBSetup) Instantiate ¶
func (e *EdgeCreateAuthenticatorOOBSetup) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, rawInput interface{}) (interaction.Node, error)
nolint: gocognit
func (*EdgeCreateAuthenticatorOOBSetup) IsDefaultAuthenticator ¶
func (e *EdgeCreateAuthenticatorOOBSetup) IsDefaultAuthenticator() bool
type EdgeCreateAuthenticatorPasskey ¶
type EdgeCreateAuthenticatorPasskey struct { NewAuthenticatorID string Stage authn.AuthenticationStage IsDefault bool }
func (*EdgeCreateAuthenticatorPasskey) AuthenticatorType ¶
func (e *EdgeCreateAuthenticatorPasskey) AuthenticatorType() model.AuthenticatorType
func (*EdgeCreateAuthenticatorPasskey) Instantiate ¶
func (e *EdgeCreateAuthenticatorPasskey) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, rawInput interface{}) (interaction.Node, error)
func (*EdgeCreateAuthenticatorPasskey) IsDefaultAuthenticator ¶
func (e *EdgeCreateAuthenticatorPasskey) IsDefaultAuthenticator() bool
type EdgeCreateAuthenticatorPassword ¶
type EdgeCreateAuthenticatorPassword struct { NewAuthenticatorID string Stage authn.AuthenticationStage IsDefault bool }
func (*EdgeCreateAuthenticatorPassword) AuthenticatorType ¶
func (e *EdgeCreateAuthenticatorPassword) AuthenticatorType() model.AuthenticatorType
func (*EdgeCreateAuthenticatorPassword) Instantiate ¶
func (e *EdgeCreateAuthenticatorPassword) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, rawInput interface{}) (interaction.Node, error)
func (*EdgeCreateAuthenticatorPassword) IsDefaultAuthenticator ¶
func (e *EdgeCreateAuthenticatorPassword) IsDefaultAuthenticator() bool
type EdgeCreateAuthenticatorTOTP ¶
type EdgeCreateAuthenticatorTOTP struct { Stage authn.AuthenticationStage Authenticator *authenticator.Info }
func (*EdgeCreateAuthenticatorTOTP) Instantiate ¶
func (e *EdgeCreateAuthenticatorTOTP) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, rawInput interface{}) (interaction.Node, error)
type EdgeCreateAuthenticatorTOTPSetup ¶
type EdgeCreateAuthenticatorTOTPSetup struct { NewAuthenticatorID string Stage authn.AuthenticationStage IsDefault bool }
func (*EdgeCreateAuthenticatorTOTPSetup) AuthenticatorType ¶
func (e *EdgeCreateAuthenticatorTOTPSetup) AuthenticatorType() model.AuthenticatorType
func (*EdgeCreateAuthenticatorTOTPSetup) Instantiate ¶
func (e *EdgeCreateAuthenticatorTOTPSetup) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, rawInput interface{}) (interaction.Node, error)
func (*EdgeCreateAuthenticatorTOTPSetup) IsDefaultAuthenticator ¶
func (e *EdgeCreateAuthenticatorTOTPSetup) IsDefaultAuthenticator() bool
type EdgeCreateAuthenticatorWhatsappOTP ¶
type EdgeCreateAuthenticatorWhatsappOTP struct { Stage authn.AuthenticationStage Authenticator *authenticator.Info }
func (*EdgeCreateAuthenticatorWhatsappOTP) Instantiate ¶
func (e *EdgeCreateAuthenticatorWhatsappOTP) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, rawInput interface{}) (interaction.Node, error)
type EdgeCreateAuthenticatorWhatsappOTPSetup ¶
type EdgeCreateAuthenticatorWhatsappOTPSetup struct { NewAuthenticatorID string Stage authn.AuthenticationStage IsDefault bool }
func (*EdgeCreateAuthenticatorWhatsappOTPSetup) AuthenticatorType ¶
func (e *EdgeCreateAuthenticatorWhatsappOTPSetup) AuthenticatorType() model.AuthenticatorType
func (*EdgeCreateAuthenticatorWhatsappOTPSetup) Instantiate ¶
func (e *EdgeCreateAuthenticatorWhatsappOTPSetup) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, rawInput interface{}) (interaction.Node, error)
func (*EdgeCreateAuthenticatorWhatsappOTPSetup) IsDefaultAuthenticator ¶
func (e *EdgeCreateAuthenticatorWhatsappOTPSetup) IsDefaultAuthenticator() bool
type EdgeCreateIdentityBegin ¶
type EdgeCreateIdentityBegin struct{}
func (*EdgeCreateIdentityBegin) Instantiate ¶
func (e *EdgeCreateIdentityBegin) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, input interface{}) (interaction.Node, error)
type EdgeCreateIdentityEnd ¶
func (*EdgeCreateIdentityEnd) Instantiate ¶
func (e *EdgeCreateIdentityEnd) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, rawInput interface{}) (interaction.Node, error)
type EdgeDoCreateAuthenticator ¶
type EdgeDoCreateAuthenticator struct { Stage authn.AuthenticationStage Authenticators []*authenticator.Info }
func (*EdgeDoCreateAuthenticator) Instantiate ¶
func (e *EdgeDoCreateAuthenticator) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, rawInput interface{}) (interaction.Node, error)
type EdgeDoCreateIdentity ¶
func (*EdgeDoCreateIdentity) Instantiate ¶
func (e *EdgeDoCreateIdentity) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, rawInput interface{}) (interaction.Node, error)
type EdgeDoCreateUser ¶
type EdgeDoCreateUser struct { }
func (*EdgeDoCreateUser) Instantiate ¶
func (e *EdgeDoCreateUser) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, rawInput interface{}) (interaction.Node, error)
type EdgeDoEnsureSession ¶
type EdgeDoEnsureSession struct { CreateReason session.CreateReason Mode EnsureSessionMode }
func (*EdgeDoEnsureSession) Instantiate ¶
func (e *EdgeDoEnsureSession) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, input interface{}) (interaction.Node, error)
type EdgeDoGenerateRecoveryCode ¶
type EdgeDoGenerateRecoveryCode struct {
RecoveryCodes []string
}
func (*EdgeDoGenerateRecoveryCode) Instantiate ¶
func (e *EdgeDoGenerateRecoveryCode) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, rawInput interface{}) (interaction.Node, error)
type EdgeDoRemoveAuthenticator ¶
type EdgeDoRemoveAuthenticator struct { Authenticator *authenticator.Info BypassMFARequirement bool }
func (*EdgeDoRemoveAuthenticator) Instantiate ¶
func (e *EdgeDoRemoveAuthenticator) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, rawInput interface{}) (interaction.Node, error)
type EdgeDoRemoveIdentity ¶
func (*EdgeDoRemoveIdentity) Instantiate ¶
func (e *EdgeDoRemoveIdentity) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, rawInput interface{}) (interaction.Node, error)
type EdgeDoResetLockoutAttempts ¶
type EdgeDoResetLockoutAttempts struct { }
func (*EdgeDoResetLockoutAttempts) Instantiate ¶
func (e *EdgeDoResetLockoutAttempts) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, rawInput interface{}) (interaction.Node, error)
type EdgeDoUpdateAuthenticator ¶
type EdgeDoUpdateAuthenticator struct { Stage authn.AuthenticationStage AuthenticatorBeforeUpdate *authenticator.Info AuthenticatorAfterUpdate *authenticator.Info }
func (*EdgeDoUpdateAuthenticator) Instantiate ¶
func (e *EdgeDoUpdateAuthenticator) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, rawInput interface{}) (interaction.Node, error)
type EdgeDoUpdateIdentity ¶
type EdgeDoUpdateIdentity struct { IdentityBeforeUpdate *identity.Info IdentityAfterUpdate *identity.Info }
func (*EdgeDoUpdateIdentity) Instantiate ¶
func (e *EdgeDoUpdateIdentity) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, rawInput interface{}) (interaction.Node, error)
type EdgeDoUseAuthenticator ¶
type EdgeDoUseAuthenticator struct { Stage authn.AuthenticationStage Authenticator *authenticator.Info }
func (*EdgeDoUseAuthenticator) Instantiate ¶
func (e *EdgeDoUseAuthenticator) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, rawInput interface{}) (interaction.Node, error)
type EdgeDoUseIdentity ¶
func (*EdgeDoUseIdentity) Instantiate ¶
func (e *EdgeDoUseIdentity) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, rawInput interface{}) (interaction.Node, error)
type EdgeDoUseUser ¶
type EdgeDoUseUser struct {
UseUserID string
}
func (*EdgeDoUseUser) Instantiate ¶
func (e *EdgeDoUseUser) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, input interface{}) (interaction.Node, error)
type EdgeDoVerifyIdentity ¶
type EdgeDoVerifyIdentity struct { Identity *identity.Info NewVerifiedClaim *verification.Claim RequestedByUser bool }
func (*EdgeDoVerifyIdentity) Instantiate ¶
func (e *EdgeDoVerifyIdentity) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, rawInput interface{}) (interaction.Node, error)
type EdgeEnsurePasswordChange ¶
type EdgeEnsurePasswordChange struct {
Stage authn.AuthenticationStage
}
func (*EdgeEnsurePasswordChange) Instantiate ¶
func (e *EdgeEnsurePasswordChange) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, rawInput interface{}) (interaction.Node, error)
type EdgeEnsureRemoveAnonymousIdentity ¶
type EdgeEnsureRemoveAnonymousIdentity struct{}
func (*EdgeEnsureRemoveAnonymousIdentity) Instantiate ¶
func (e *EdgeEnsureRemoveAnonymousIdentity) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, input interface{}) (interaction.Node, error)
type EdgeEnsureVerificationBegin ¶
func (*EdgeEnsureVerificationBegin) Instantiate ¶
func (e *EdgeEnsureVerificationBegin) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, rawInput interface{}) (interaction.Node, error)
type EdgeEnsureVerificationEnd ¶
func (*EdgeEnsureVerificationEnd) Instantiate ¶
func (e *EdgeEnsureVerificationEnd) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, rawInput interface{}) (interaction.Node, error)
type EdgeForgotPasswordBegin ¶
func (*EdgeForgotPasswordBegin) Instantiate ¶
func (e *EdgeForgotPasswordBegin) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, rawInput interface{}) (interaction.Node, error)
type EdgeForgotPasswordSelectLoginID ¶
type EdgeForgotPasswordSelectLoginID struct { Configs []config.LoginIDKeyConfig `json:"-"` RedirectURI string `json:"-"` IdentityInfo *identity.Info `json:"identity_info"` }
func (*EdgeForgotPasswordSelectLoginID) GetIdentityCandidates ¶
func (e *EdgeForgotPasswordSelectLoginID) GetIdentityCandidates() []identity.Candidate
GetIdentityCandidates implements IdentityCandidatesGetter.
func (*EdgeForgotPasswordSelectLoginID) Instantiate ¶
func (e *EdgeForgotPasswordSelectLoginID) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, rawInput interface{}) (interaction.Node, error)
type EdgeGenerateRecoveryCode ¶
type EdgeGenerateRecoveryCode struct {
IsRegenerate bool
}
func (*EdgeGenerateRecoveryCode) Instantiate ¶
func (e *EdgeGenerateRecoveryCode) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, input interface{}) (interaction.Node, error)
type EdgeGenerateRecoveryCodeEnd ¶
type EdgeGenerateRecoveryCodeEnd struct {
RecoveryCodes []string
}
func (*EdgeGenerateRecoveryCodeEnd) Instantiate ¶
func (e *EdgeGenerateRecoveryCodeEnd) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, rawInput interface{}) (interaction.Node, error)
type EdgeIncompatibleInput ¶
type EdgeIncompatibleInput struct { }
EdgeIncompatibleInput always return ErrIncompatibleInput when instantiating to ensure graph won't end at unexpected node
func (*EdgeIncompatibleInput) Instantiate ¶
func (e *EdgeIncompatibleInput) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, rawInput interface{}) (interaction.Node, error)
type EdgeOOBResendCode ¶
type EdgeOOBResendCode struct { Stage authn.AuthenticationStage IsAuthenticating bool Authenticator *authenticator.Info OTPForm otp.Form }
func (*EdgeOOBResendCode) Instantiate ¶
func (e *EdgeOOBResendCode) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, rawInput interface{}) (interaction.Node, error)
type EdgePromptCreatePasskey ¶
type EdgePromptCreatePasskey struct{}
func (*EdgePromptCreatePasskey) Instantiate ¶
func (e *EdgePromptCreatePasskey) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, rawInput interface{}) (interaction.Node, error)
type EdgePromptCreatePasskeyBegin ¶
type EdgePromptCreatePasskeyBegin struct{}
func (*EdgePromptCreatePasskeyBegin) Instantiate ¶
func (e *EdgePromptCreatePasskeyBegin) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, input interface{}) (interaction.Node, error)
type EdgeReauthenticationBegin ¶
type EdgeReauthenticationBegin struct{}
func (*EdgeReauthenticationBegin) Instantiate ¶
func (e *EdgeReauthenticationBegin) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, input interface{}) (interaction.Node, error)
type EdgeRemoveAuthenticator ¶
type EdgeRemoveAuthenticator struct{}
func (*EdgeRemoveAuthenticator) Instantiate ¶
func (e *EdgeRemoveAuthenticator) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, rawInput interface{}) (interaction.Node, error)
type EdgeRemoveIdentity ¶
type EdgeRemoveIdentity struct{}
func (*EdgeRemoveIdentity) Instantiate ¶
func (e *EdgeRemoveIdentity) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, rawInput interface{}) (interaction.Node, error)
type EdgeResetPassword ¶
type EdgeResetPassword struct{}
func (*EdgeResetPassword) Instantiate ¶
func (e *EdgeResetPassword) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, rawInput interface{}) (interaction.Node, error)
type EdgeSelectIdentityBegin ¶
type EdgeSelectIdentityBegin struct {
IsAuthentication bool
}
func (*EdgeSelectIdentityBegin) Instantiate ¶
func (e *EdgeSelectIdentityBegin) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, rawInput interface{}) (interaction.Node, error)
type EdgeSelectIdentityEnd ¶
func (*EdgeSelectIdentityEnd) Instantiate ¶
func (e *EdgeSelectIdentityEnd) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, input interface{}) (interaction.Node, error)
type EdgeSettingsActionEnd ¶
type EdgeSettingsActionEnd struct{}
func (*EdgeSettingsActionEnd) Instantiate ¶
func (e *EdgeSettingsActionEnd) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, input interface{}) (interaction.Node, error)
type EdgeTerminal ¶
type EdgeTerminal struct{}
EdgeTerminal is used to indicate a terminal state of interaction; the interaction cannot further, and must be rewound to a previous step to continue.
func (*EdgeTerminal) Instantiate ¶
func (e *EdgeTerminal) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, rawInput interface{}) (interaction.Node, error)
type EdgeUpdateIdentityBegin ¶
type EdgeUpdateIdentityBegin struct {
IdentityID string
}
func (*EdgeUpdateIdentityBegin) Instantiate ¶
func (e *EdgeUpdateIdentityBegin) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, input interface{}) (interaction.Node, error)
type EdgeUpdateIdentityEnd ¶
func (*EdgeUpdateIdentityEnd) Instantiate ¶
func (e *EdgeUpdateIdentityEnd) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, rawInput interface{}) (interaction.Node, error)
type EdgeUseDeviceToken ¶
type EdgeUseDeviceToken struct{}
func (*EdgeUseDeviceToken) Instantiate ¶
func (e *EdgeUseDeviceToken) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, rawInput interface{}) (interaction.Node, error)
type EdgeUseIdentityAnonymous ¶
type EdgeUseIdentityAnonymous struct {
IsAuthentication bool
}
func (*EdgeUseIdentityAnonymous) Instantiate ¶
func (e *EdgeUseIdentityAnonymous) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, rawInput interface{}) (interaction.Node, error)
nolint:gocognit
type EdgeUseIdentityBiometric ¶
func (*EdgeUseIdentityBiometric) Instantiate ¶
func (e *EdgeUseIdentityBiometric) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, rawInput interface{}) (interaction.Node, error)
type EdgeUseIdentityLoginID ¶
type EdgeUseIdentityLoginID struct { IsAuthentication bool Mode UseIdentityLoginIDMode Configs []config.LoginIDKeyConfig }
func (*EdgeUseIdentityLoginID) GetIdentityCandidates ¶
func (e *EdgeUseIdentityLoginID) GetIdentityCandidates() []identity.Candidate
GetIdentityCandidates implements IdentityCandidatesGetter.
func (*EdgeUseIdentityLoginID) Instantiate ¶
func (e *EdgeUseIdentityLoginID) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, rawInput interface{}) (interaction.Node, error)
type EdgeUseIdentityOAuthProvider ¶
type EdgeUseIdentityOAuthProvider struct { IsAuthentication bool IsCreating bool Configs []config.OAuthSSOProviderConfig FeatureConfig *config.OAuthSSOProvidersFeatureConfig }
func (*EdgeUseIdentityOAuthProvider) GetIdentityCandidates ¶
func (e *EdgeUseIdentityOAuthProvider) GetIdentityCandidates() []identity.Candidate
func (*EdgeUseIdentityOAuthProvider) Instantiate ¶
func (e *EdgeUseIdentityOAuthProvider) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, rawInput interface{}) (interaction.Node, error)
type EdgeUseIdentityOAuthUserInfo ¶
type EdgeUseIdentityOAuthUserInfo struct { IsAuthentication bool IsCreating bool Config config.OAuthSSOProviderConfig HashedNonce string ErrorRedirectURI string }
func (*EdgeUseIdentityOAuthUserInfo) Instantiate ¶
func (e *EdgeUseIdentityOAuthUserInfo) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, rawInput interface{}) (interaction.Node, error)
type EdgeUseIdentityPasskey ¶
type EdgeUseIdentityPasskey struct {
IsAuthentication bool
}
func (*EdgeUseIdentityPasskey) Instantiate ¶
func (e *EdgeUseIdentityPasskey) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, rawInput interface{}) (interaction.Node, error)
type EdgeUseIdentitySIWE ¶
type EdgeUseIdentitySIWE struct {
IsAuthentication bool
}
func (*EdgeUseIdentitySIWE) GetIdentityCandidates ¶
func (e *EdgeUseIdentitySIWE) GetIdentityCandidates() []identity.Candidate
func (*EdgeUseIdentitySIWE) Instantiate ¶
func (e *EdgeUseIdentitySIWE) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, rawInput interface{}) (interaction.Node, error)
type EdgeValidateUser ¶
type EdgeValidateUser struct { }
func (*EdgeValidateUser) Instantiate ¶
func (e *EdgeValidateUser) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, rawInput interface{}) (interaction.Node, error)
type EdgeVerifyIdentity ¶
func (*EdgeVerifyIdentity) Instantiate ¶
func (e *EdgeVerifyIdentity) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, rawInput interface{}) (interaction.Node, error)
type EdgeVerifyIdentityCheckCode ¶
func (*EdgeVerifyIdentityCheckCode) Instantiate ¶
func (e *EdgeVerifyIdentityCheckCode) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, rawInput interface{}) (interaction.Node, error)
type EdgeVerifyIdentityResendCode ¶
type EdgeVerifyIdentityResendCode struct {
Node *NodeVerifyIdentity
}
func (*EdgeVerifyIdentityResendCode) Instantiate ¶
func (e *EdgeVerifyIdentityResendCode) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, rawInput interface{}) (interaction.Node, error)
type EdgeVerifyIdentityViaWhatsapp ¶
func (*EdgeVerifyIdentityViaWhatsapp) Instantiate ¶
func (e *EdgeVerifyIdentityViaWhatsapp) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, rawInput interface{}) (interaction.Node, error)
type EdgeVerifyIdentityViaWhatsappCheckCode ¶
func (*EdgeVerifyIdentityViaWhatsappCheckCode) Instantiate ¶
func (e *EdgeVerifyIdentityViaWhatsappCheckCode) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, rawInput interface{}) (interaction.Node, error)
type EdgeWhatsappOTPResendCode ¶
type EdgeWhatsappOTPResendCode struct { Target string OTPKindFactory otp.DeprecatedKindFactory }
func (*EdgeWhatsappOTPResendCode) Instantiate ¶
func (e *EdgeWhatsappOTPResendCode) Instantiate(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph, rawInput interface{}) (interaction.Node, error)
type EnsureSessionMode ¶
type EnsureSessionMode string
const ( EnsureSessionModeDefault EnsureSessionMode = "" EnsureSessionModeCreate EnsureSessionMode = "create" EnsureSessionModeUpdateOrCreate EnsureSessionMode = "update_or_create" EnsureSessionModeNoop EnsureSessionMode = "noop" )
type InputAuthenticationLoginLink ¶
type InputAuthenticationLoginLink interface {
VerifyLoginLink()
}
type InputAuthenticationLoginLinkTrigger ¶
type InputAuthenticationLoginLinkTrigger interface {
GetLoginLinkAuthenticatorIndex() int
}
type InputAuthenticationOOB ¶
type InputAuthenticationOOB interface {
GetOOBOTP() string
}
type InputAuthenticationPasskey ¶
type InputAuthenticationPasskey interface {
GetAssertionResponse() []byte
}
type InputAuthenticationPassword ¶
type InputAuthenticationPassword interface {
GetPassword() string
}
type InputAuthenticationStage ¶
type InputAuthenticationStage interface {
GetAuthenticationStage() authn.AuthenticationStage
}
type InputAuthenticationTOTP ¶
type InputAuthenticationTOTP interface {
GetTOTP() string
}
type InputAuthenticationWhatsapp ¶
type InputAuthenticationWhatsapp interface {
GetWhatsappOTP() string
}
type InputAuthenticationWhatsappTrigger ¶
type InputAuthenticationWhatsappTrigger interface {
GetWhatsappAuthenticatorIndex() int
}
type InputChangePassword ¶
type InputChangePassword interface { GetAuthenticationStage() authn.AuthenticationStage GetOldPassword() string GetNewPassword() string }
type InputConfirmTerminateOtherSessionsEnd ¶
type InputConfirmTerminateOtherSessionsEnd interface {
GetIsConfirmed() bool
}
type InputConsumeRecoveryCode ¶
type InputConsumeRecoveryCode interface {
GetRecoveryCode() string
}
type InputCreateAuthenticatorLoginLinkOTP ¶
type InputCreateAuthenticatorLoginLinkOTP interface {
VerifyLoginLink()
}
type InputCreateAuthenticatorLoginLinkOTPSetup ¶
type InputCreateAuthenticatorLoginLinkOTPSetup interface {
GetLoginLinkOTPTarget() string
}
type InputCreateAuthenticatorLoginLinkOTPSetupSelect ¶
type InputCreateAuthenticatorLoginLinkOTPSetupSelect interface {
SetupPrimaryAuthenticatorLoginLinkOTP()
}
type InputCreateAuthenticatorOOB ¶
type InputCreateAuthenticatorOOB interface {
GetOOBOTP() string
}
type InputCreateAuthenticatorOOBSetup ¶
type InputCreateAuthenticatorOOBSetup interface { GetOOBChannel() model.AuthenticatorOOBChannel GetOOBTarget() string }
type InputCreateAuthenticatorOOBSetupSelect ¶
type InputCreateAuthenticatorOOBSetupSelect interface {
SetupPrimaryAuthenticatorOOB()
}
type InputCreateAuthenticatorPasskey ¶
type InputCreateAuthenticatorPasskey interface {
GetAttestationResponse() []byte
}
type InputCreateAuthenticatorPassword ¶
type InputCreateAuthenticatorPassword interface {
GetPassword() string
}
type InputCreateAuthenticatorTOTPSetup ¶
type InputCreateAuthenticatorTOTPSetup interface {
SetupTOTP()
}
type InputCreateAuthenticatorWhatsappOTP ¶
type InputCreateAuthenticatorWhatsappOTP interface {
GetWhatsappOTP() string
}
type InputCreateAuthenticatorWhatsappOTPSetup ¶
type InputCreateAuthenticatorWhatsappOTPSetup interface {
GetWhatsappPhone() string
}
type InputCreateAuthenticatorWhatsappOTPSetupSelect ¶
type InputCreateAuthenticatorWhatsappOTPSetupSelect interface {
SetupPrimaryAuthenticatorWhatsappOTP()
}
type InputCreateDeviceToken ¶
type InputCreateDeviceToken interface {
CreateDeviceToken() bool
}
type InputGenerateRecoveryCodeEnd ¶
type InputGenerateRecoveryCodeEnd interface {
ViewedRecoveryCodes()
}
type InputOOBResendCode ¶
type InputOOBResendCode interface {
DoResend()
}
type InputRemoveAuthenticator ¶
type InputRemoveAuthenticator interface { GetAuthenticatorType() model.AuthenticatorType GetAuthenticatorID() string }
type InputRemoveIdentity ¶
type InputRemoveIdentity interface { GetIdentityType() model.IdentityType GetIdentityID() string }
type InputResetPassword ¶
type InputUseDeviceToken ¶
type InputUseDeviceToken interface {
GetDeviceToken() string
}
type InputUseIdentityBiometric ¶
type InputUseIdentityBiometric interface {
GetBiometricRequestToken() string
}
type InputUseIdentityLoginID ¶
type InputUseIdentityPasskey ¶
type InputUseIdentityPasskey interface {
GetAssertionResponse() []byte
}
type InputUseIdentitySIWE ¶
type InputVerifyIdentity ¶
type InputVerifyIdentity interface {
SelectVerifyIdentityViaOOBOTP()
}
type InputVerifyIdentityCheckCode ¶
type InputVerifyIdentityCheckCode interface {
GetVerificationCode() string
}
type InputVerifyIdentityResendCode ¶
type InputVerifyIdentityResendCode interface {
DoResend()
}
type InputVerifyIdentityViaWhatsapp ¶
type InputVerifyIdentityViaWhatsapp interface {
SelectVerifyIdentityViaWhatsapp()
}
type InputVerifyIdentityViaWhatsappCheckCode ¶
type InputVerifyIdentityViaWhatsappCheckCode interface {
GetWhatsappOTP() string
}
type InputWhatsappOTPResendCode ¶
type InputWhatsappOTPResendCode interface {
DoResend()
}
type NodeAuthenticationBegin ¶
type NodeAuthenticationBegin struct { Stage authn.AuthenticationStage `json:"stage"` Identity *identity.Info `json:"-"` PrimaryAuthenticator *authenticator.Info `json:"-"` AuthenticationConfig *config.AuthenticationConfig `json:"-"` AuthenticatorConfig *config.AuthenticatorConfig `json:"-"` Authenticators []*authenticator.Info `json:"-"` }
func (*NodeAuthenticationBegin) DeriveEdges ¶
func (n *NodeAuthenticationBegin) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
func (*NodeAuthenticationBegin) GetAuthenticationEdges ¶
func (n *NodeAuthenticationBegin) GetAuthenticationEdges() ([]interaction.Edge, error)
GetAuthenticationEdges implements AuthenticationBeginNode. nolint:gocognit
func (*NodeAuthenticationBegin) GetAuthenticationStage ¶
func (n *NodeAuthenticationBegin) GetAuthenticationStage() authn.AuthenticationStage
GetAuthenticationStage implements AuthenticationBeginNode.
func (*NodeAuthenticationBegin) GetEffects ¶
func (n *NodeAuthenticationBegin) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
func (*NodeAuthenticationBegin) Prepare ¶
func (n *NodeAuthenticationBegin) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
type NodeAuthenticationEnd ¶
type NodeAuthenticationEnd struct { Stage authn.AuthenticationStage `json:"stage"` AuthenticationType authn.AuthenticationType `json:"authentication_type"` VerifiedAuthenticator *authenticator.Info `json:"verified_authenticator"` RecoveryCode *mfa.RecoveryCode `json:"recovery_code"` }
func (*NodeAuthenticationEnd) DeriveEdges ¶
func (n *NodeAuthenticationEnd) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
func (*NodeAuthenticationEnd) FillDetails ¶
func (n *NodeAuthenticationEnd) FillDetails(err error) error
func (*NodeAuthenticationEnd) GetEffects ¶
func (n *NodeAuthenticationEnd) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
func (*NodeAuthenticationEnd) IsFailure ¶
func (n *NodeAuthenticationEnd) IsFailure() (err error)
func (*NodeAuthenticationEnd) Prepare ¶
func (n *NodeAuthenticationEnd) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
type NodeAuthenticationLoginLink ¶
type NodeAuthenticationLoginLink struct { Stage authn.AuthenticationStage `json:"stage"` Authenticator *authenticator.Info `json:"authenticator"` }
func (*NodeAuthenticationLoginLink) DeriveEdges ¶
func (n *NodeAuthenticationLoginLink) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
func (*NodeAuthenticationLoginLink) GetEffects ¶
func (n *NodeAuthenticationLoginLink) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
func (*NodeAuthenticationLoginLink) Prepare ¶
func (n *NodeAuthenticationLoginLink) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
type NodeAuthenticationLoginLinkTrigger ¶
type NodeAuthenticationLoginLinkTrigger struct { Stage authn.AuthenticationStage `json:"stage"` Authenticator *authenticator.Info `json:"authenticator"` Authenticators []*authenticator.Info `json:"authenticators"` AuthenticatorIndex int `json:"authenticator_index"` Channel string `json:"channel"` Target string `json:"target"` }
func (*NodeAuthenticationLoginLinkTrigger) DeriveEdges ¶
func (n *NodeAuthenticationLoginLinkTrigger) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
func (*NodeAuthenticationLoginLinkTrigger) GetAuthenticatorIndex ¶
func (n *NodeAuthenticationLoginLinkTrigger) GetAuthenticatorIndex() int
GetAuthenticatorIndex implements LoginLinkOTPAuthnNode.
func (*NodeAuthenticationLoginLinkTrigger) GetEffects ¶
func (n *NodeAuthenticationLoginLinkTrigger) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
func (*NodeAuthenticationLoginLinkTrigger) GetLoginLinkOTPChannel ¶
func (n *NodeAuthenticationLoginLinkTrigger) GetLoginLinkOTPChannel() string
GetLoginLinkOTPChannel implements LoginLinkOTPNode.
func (*NodeAuthenticationLoginLinkTrigger) GetLoginLinkOTPOOBType ¶
func (n *NodeAuthenticationLoginLinkTrigger) GetLoginLinkOTPOOBType() interaction.OOBType
GetLoginLinkOTPOOBType implements LoginLinkOTPNode.
func (*NodeAuthenticationLoginLinkTrigger) GetLoginLinkOTPTarget ¶
func (n *NodeAuthenticationLoginLinkTrigger) GetLoginLinkOTPTarget() string
GetLoginLinkOTPTarget implements LoginLinkOTPNode.
func (*NodeAuthenticationLoginLinkTrigger) Prepare ¶
func (n *NodeAuthenticationLoginLinkTrigger) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
type NodeAuthenticationOOB ¶
type NodeAuthenticationOOB struct { Stage authn.AuthenticationStage `json:"stage"` AuthenticatorType model.AuthenticatorType `json:"authenticator_type"` Authenticator *authenticator.Info `json:"authenticator"` }
func (*NodeAuthenticationOOB) DeriveEdges ¶
func (n *NodeAuthenticationOOB) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
func (*NodeAuthenticationOOB) GetEffects ¶
func (n *NodeAuthenticationOOB) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
func (*NodeAuthenticationOOB) Prepare ¶
func (n *NodeAuthenticationOOB) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
type NodeAuthenticationOOBTrigger ¶
type NodeAuthenticationOOBTrigger struct { Stage authn.AuthenticationStage `json:"stage"` Authenticator *authenticator.Info `json:"authenticator"` Target string `json:"target"` Channel string `json:"channel"` CodeLength int `json:"code_length"` }
func (*NodeAuthenticationOOBTrigger) DeriveEdges ¶
func (n *NodeAuthenticationOOBTrigger) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
func (*NodeAuthenticationOOBTrigger) GetEffects ¶
func (n *NodeAuthenticationOOBTrigger) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
func (*NodeAuthenticationOOBTrigger) GetOOBOTPChannel ¶
func (n *NodeAuthenticationOOBTrigger) GetOOBOTPChannel() string
GetOOBOTPChannel implements OOBOTPNode.
func (*NodeAuthenticationOOBTrigger) GetOOBOTPCodeLength ¶
func (n *NodeAuthenticationOOBTrigger) GetOOBOTPCodeLength() int
GetOOBOTPCodeLength implements OOBOTPNode.
func (*NodeAuthenticationOOBTrigger) GetOOBOTPOOBType ¶
func (n *NodeAuthenticationOOBTrigger) GetOOBOTPOOBType() interaction.OOBType
GetOOBOTPOOBType implements OOBOTPNode.
func (*NodeAuthenticationOOBTrigger) GetOOBOTPTarget ¶
func (n *NodeAuthenticationOOBTrigger) GetOOBOTPTarget() string
GetOOBOTPTarget implements OOBOTPNode.
func (*NodeAuthenticationOOBTrigger) GetSelectedPhoneNumberForPhoneOTPAuthentication ¶
func (n *NodeAuthenticationOOBTrigger) GetSelectedPhoneNumberForPhoneOTPAuthentication() string
GetSelectedPhoneNumberForPhoneOTPAuthentication implements AuthenticationPhoneOTPTriggerNode
func (*NodeAuthenticationOOBTrigger) Prepare ¶
func (n *NodeAuthenticationOOBTrigger) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
type NodeAuthenticationPasskey ¶
type NodeAuthenticationPasskey struct { Stage authn.AuthenticationStage `json:"stage"` Spec *authenticator.Spec `json:"spec"` Authenticator *authenticator.Info `json:"authenticator"` RequireUpdate bool `json:"require_update"` }
func (*NodeAuthenticationPasskey) DeriveEdges ¶
func (n *NodeAuthenticationPasskey) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
func (*NodeAuthenticationPasskey) GetEffects ¶
func (n *NodeAuthenticationPasskey) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
func (*NodeAuthenticationPasskey) GetRequireUpdateAuthenticator ¶
func (n *NodeAuthenticationPasskey) GetRequireUpdateAuthenticator(stage authn.AuthenticationStage) (info *authenticator.Info, ok bool)
func (*NodeAuthenticationPasskey) Prepare ¶
func (n *NodeAuthenticationPasskey) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
type NodeAuthenticationPassword ¶
type NodeAuthenticationPassword struct { Stage authn.AuthenticationStage `json:"stage"` Authenticator *authenticator.Info `json:"authenticator"` RequireUpdate bool `json:"require_update"` RequireUpdateReason *interaction.AuthenticatorUpdateReason `json:"require_update_reason,omitempty"` }
func (*NodeAuthenticationPassword) DeriveEdges ¶
func (n *NodeAuthenticationPassword) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
func (*NodeAuthenticationPassword) GetEffects ¶
func (n *NodeAuthenticationPassword) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
func (*NodeAuthenticationPassword) GetRequireUpdateAuthenticator ¶
func (n *NodeAuthenticationPassword) GetRequireUpdateAuthenticator(stage authn.AuthenticationStage) (info *authenticator.Info, reason *interaction.AuthenticatorUpdateReason, ok bool)
func (*NodeAuthenticationPassword) Prepare ¶
func (n *NodeAuthenticationPassword) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
type NodeAuthenticationTOTP ¶
type NodeAuthenticationTOTP struct { Stage authn.AuthenticationStage `json:"stage"` Authenticator *authenticator.Info `json:"authenticator"` }
func (*NodeAuthenticationTOTP) DeriveEdges ¶
func (n *NodeAuthenticationTOTP) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
func (*NodeAuthenticationTOTP) GetEffects ¶
func (n *NodeAuthenticationTOTP) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
func (*NodeAuthenticationTOTP) Prepare ¶
func (n *NodeAuthenticationTOTP) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
type NodeAuthenticationWhatsapp ¶
type NodeAuthenticationWhatsapp struct { Stage authn.AuthenticationStage `json:"stage"` Authenticator *authenticator.Info `json:"authenticator"` }
func (*NodeAuthenticationWhatsapp) DeriveEdges ¶
func (n *NodeAuthenticationWhatsapp) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
func (*NodeAuthenticationWhatsapp) GetEffects ¶
func (n *NodeAuthenticationWhatsapp) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
func (*NodeAuthenticationWhatsapp) Prepare ¶
func (n *NodeAuthenticationWhatsapp) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
type NodeAuthenticationWhatsappTrigger ¶
type NodeAuthenticationWhatsappTrigger struct { Stage authn.AuthenticationStage `json:"stage"` Authenticator *authenticator.Info `json:"authenticator"` Authenticators []*authenticator.Info `json:"authenticators"` AuthenticatorIndex int `json:"authenticator_index"` WhatsappOTPLength int `json:"whatsapp_otp_length"` Phone string `json:"phone"` }
func (*NodeAuthenticationWhatsappTrigger) DeriveEdges ¶
func (n *NodeAuthenticationWhatsappTrigger) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
func (*NodeAuthenticationWhatsappTrigger) GetAuthenticatorIndex ¶
func (n *NodeAuthenticationWhatsappTrigger) GetAuthenticatorIndex() int
GetAuthenticatorIndex implements WhatsappOTPAuthnNode.
func (*NodeAuthenticationWhatsappTrigger) GetEffects ¶
func (n *NodeAuthenticationWhatsappTrigger) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
func (*NodeAuthenticationWhatsappTrigger) GetOTPKindFactory ¶
func (n *NodeAuthenticationWhatsappTrigger) GetOTPKindFactory() otp.DeprecatedKindFactory
GetOTPKindFactory implements WhatsappOTPNode.
func (*NodeAuthenticationWhatsappTrigger) GetPhone ¶
func (n *NodeAuthenticationWhatsappTrigger) GetPhone() string
GetPhone implements WhatsappOTPNode.
func (*NodeAuthenticationWhatsappTrigger) GetSelectedPhoneNumberForPhoneOTPAuthentication ¶
func (n *NodeAuthenticationWhatsappTrigger) GetSelectedPhoneNumberForPhoneOTPAuthentication() string
GetSelectedPhoneNumberForPhoneOTPAuthentication implements AuthenticationPhoneOTPTriggerNode
func (*NodeAuthenticationWhatsappTrigger) GetWhatsappOTPLength ¶
func (n *NodeAuthenticationWhatsappTrigger) GetWhatsappOTPLength() int
GetWhatsappOTP implements WhatsappOTPNode.
func (*NodeAuthenticationWhatsappTrigger) Prepare ¶
func (n *NodeAuthenticationWhatsappTrigger) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
type NodeChangePasswordBegin ¶
type NodeChangePasswordBegin struct { Force bool `json:"force"` Reason *interaction.AuthenticatorUpdateReason `json:"reason,omitempty"` Stage authn.AuthenticationStage `json:"stage"` }
func (*NodeChangePasswordBegin) DeriveEdges ¶
func (n *NodeChangePasswordBegin) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
func (*NodeChangePasswordBegin) GetChangeReason ¶
func (n *NodeChangePasswordBegin) GetChangeReason() *interaction.AuthenticatorUpdateReason
func (*NodeChangePasswordBegin) GetEffects ¶
func (n *NodeChangePasswordBegin) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
func (*NodeChangePasswordBegin) IsForceChangePassword ¶
func (n *NodeChangePasswordBegin) IsForceChangePassword() bool
func (*NodeChangePasswordBegin) Prepare ¶
func (n *NodeChangePasswordBegin) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
type NodeChangePasswordEnd ¶
type NodeChangePasswordEnd struct { Stage authn.AuthenticationStage `json:"stage"` OldAuthenticator *authenticator.Info `json:"old_authenticator"` NewAuthenticator *authenticator.Info `json:"new_authenticator,omitempty"` }
func (*NodeChangePasswordEnd) DeriveEdges ¶
func (n *NodeChangePasswordEnd) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
func (*NodeChangePasswordEnd) GetEffects ¶
func (n *NodeChangePasswordEnd) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
func (*NodeChangePasswordEnd) Prepare ¶
func (n *NodeChangePasswordEnd) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
type NodeCheckIdentityConflict ¶
type NodeCheckIdentityConflict struct { NewIdentity *identity.Info `json:"new_identity"` DuplicatedIdentity *identity.Info `json:"duplicated_identity"` IdentityConflictConfig *config.IdentityConflictConfig `json:"-"` }
func (*NodeCheckIdentityConflict) DeriveEdges ¶
func (n *NodeCheckIdentityConflict) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
func (*NodeCheckIdentityConflict) FillDetails ¶
func (n *NodeCheckIdentityConflict) FillDetails(err error) error
func (*NodeCheckIdentityConflict) GetEffects ¶
func (n *NodeCheckIdentityConflict) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
func (*NodeCheckIdentityConflict) Prepare ¶
func (n *NodeCheckIdentityConflict) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
type NodeConfirmTerminateOtherSessionsBegin ¶
type NodeConfirmTerminateOtherSessionsBegin struct { }
func (*NodeConfirmTerminateOtherSessionsBegin) DeriveEdges ¶
func (n *NodeConfirmTerminateOtherSessionsBegin) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
func (*NodeConfirmTerminateOtherSessionsBegin) GetEffects ¶
func (n *NodeConfirmTerminateOtherSessionsBegin) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
func (*NodeConfirmTerminateOtherSessionsBegin) Prepare ¶
func (n *NodeConfirmTerminateOtherSessionsBegin) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
type NodeConfirmTerminateOtherSessionsEnd ¶
type NodeConfirmTerminateOtherSessionsEnd struct { }
func (*NodeConfirmTerminateOtherSessionsEnd) DeriveEdges ¶
func (n *NodeConfirmTerminateOtherSessionsEnd) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
func (*NodeConfirmTerminateOtherSessionsEnd) GetEffects ¶
func (n *NodeConfirmTerminateOtherSessionsEnd) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
func (*NodeConfirmTerminateOtherSessionsEnd) Prepare ¶
func (n *NodeConfirmTerminateOtherSessionsEnd) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
type NodeCreateAuthenticatorBegin ¶
type NodeCreateAuthenticatorBegin struct { NewAuthenticatorID string `json:"new_authenticator_id"` Stage authn.AuthenticationStage `json:"stage"` AuthenticatorType *model.AuthenticatorType `json:"authenticator_type"` SkipMFASetup bool `json:"skip_mfa_setup"` RequestedByUser bool `json:"requested_by_user"` Identity *identity.Info `json:"-"` PrimaryAuthenticator *authenticator.Info `json:"-"` AuthenticationConfig *config.AuthenticationConfig `json:"-"` AuthenticatorConfig *config.AuthenticatorConfig `json:"-"` Authenticators []*authenticator.Info `json:"-"` }
func (*NodeCreateAuthenticatorBegin) DeriveEdges ¶
func (n *NodeCreateAuthenticatorBegin) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
func (*NodeCreateAuthenticatorBegin) GetCreateAuthenticatorEdges ¶
func (n *NodeCreateAuthenticatorBegin) GetCreateAuthenticatorEdges() ([]interaction.Edge, error)
GetCreateAuthenticatorEdges implements CreateAuthenticatorBeginNode.
func (*NodeCreateAuthenticatorBegin) GetCreateAuthenticatorStage ¶
func (n *NodeCreateAuthenticatorBegin) GetCreateAuthenticatorStage() authn.AuthenticationStage
func (*NodeCreateAuthenticatorBegin) GetEffects ¶
func (n *NodeCreateAuthenticatorBegin) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
func (*NodeCreateAuthenticatorBegin) IsOOBAuthenticatorTypeAllowed ¶
func (n *NodeCreateAuthenticatorBegin) IsOOBAuthenticatorTypeAllowed(oobAuthenticatorType model.AuthenticatorType) (bool, error)
IsOOBAuthenticatorTypeAllowed implements SetupOOBOTPNode.
func (*NodeCreateAuthenticatorBegin) Prepare ¶
func (n *NodeCreateAuthenticatorBegin) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
type NodeCreateAuthenticatorEnd ¶
type NodeCreateAuthenticatorEnd struct { Stage authn.AuthenticationStage `json:"stage"` Authenticators []*authenticator.Info `json:"authenticators"` }
func (*NodeCreateAuthenticatorEnd) DeriveEdges ¶
func (n *NodeCreateAuthenticatorEnd) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
func (*NodeCreateAuthenticatorEnd) GetEffects ¶
func (n *NodeCreateAuthenticatorEnd) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
func (*NodeCreateAuthenticatorEnd) Prepare ¶
func (n *NodeCreateAuthenticatorEnd) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
type NodeCreateAuthenticatorLoginLinkOTP ¶
type NodeCreateAuthenticatorLoginLinkOTP struct { Stage authn.AuthenticationStage `json:"stage"` Authenticator *authenticator.Info `json:"authenticator"` Target string `json:"target"` Channel string `json:"channel"` }
func (*NodeCreateAuthenticatorLoginLinkOTP) DeriveEdges ¶
func (n *NodeCreateAuthenticatorLoginLinkOTP) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
func (*NodeCreateAuthenticatorLoginLinkOTP) GetEffects ¶
func (n *NodeCreateAuthenticatorLoginLinkOTP) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
func (*NodeCreateAuthenticatorLoginLinkOTP) Prepare ¶
func (n *NodeCreateAuthenticatorLoginLinkOTP) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
type NodeCreateAuthenticatorLoginLinkOTPSetup ¶
type NodeCreateAuthenticatorLoginLinkOTPSetup struct { Stage authn.AuthenticationStage `json:"stage"` Authenticator *authenticator.Info `json:"authenticator"` Target string `json:"target"` Channel string `json:"channel"` }
func (*NodeCreateAuthenticatorLoginLinkOTPSetup) DeriveEdges ¶
func (n *NodeCreateAuthenticatorLoginLinkOTPSetup) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
func (*NodeCreateAuthenticatorLoginLinkOTPSetup) GetEffects ¶
func (n *NodeCreateAuthenticatorLoginLinkOTPSetup) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
func (*NodeCreateAuthenticatorLoginLinkOTPSetup) GetLoginLinkOTPChannel ¶
func (n *NodeCreateAuthenticatorLoginLinkOTPSetup) GetLoginLinkOTPChannel() string
GetLoginLinkOTPChannel implements LoginLinkOTPNode.
func (*NodeCreateAuthenticatorLoginLinkOTPSetup) GetLoginLinkOTPOOBType ¶
func (n *NodeCreateAuthenticatorLoginLinkOTPSetup) GetLoginLinkOTPOOBType() interaction.OOBType
GetLoginLinkOTPOOBType implements LoginLinkOTPNode.
func (*NodeCreateAuthenticatorLoginLinkOTPSetup) GetLoginLinkOTPTarget ¶
func (n *NodeCreateAuthenticatorLoginLinkOTPSetup) GetLoginLinkOTPTarget() string
GetLoginLinkOTPTarget implements LoginLinkOTPNode.
func (*NodeCreateAuthenticatorLoginLinkOTPSetup) Prepare ¶
func (n *NodeCreateAuthenticatorLoginLinkOTPSetup) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
type NodeCreateAuthenticatorOOB ¶
type NodeCreateAuthenticatorOOB struct { Stage authn.AuthenticationStage `json:"stage"` Authenticator *authenticator.Info `json:"authenticator"` }
func (*NodeCreateAuthenticatorOOB) DeriveEdges ¶
func (n *NodeCreateAuthenticatorOOB) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
func (*NodeCreateAuthenticatorOOB) GetEffects ¶
func (n *NodeCreateAuthenticatorOOB) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
func (*NodeCreateAuthenticatorOOB) Prepare ¶
func (n *NodeCreateAuthenticatorOOB) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
type NodeCreateAuthenticatorOOBSetup ¶
type NodeCreateAuthenticatorOOBSetup struct { Stage authn.AuthenticationStage `json:"stage"` Authenticator *authenticator.Info `json:"authenticator"` Target string `json:"target"` Channel string `json:"channel"` CodeLength int `json:"code_length"` }
func (*NodeCreateAuthenticatorOOBSetup) DeriveEdges ¶
func (n *NodeCreateAuthenticatorOOBSetup) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
func (*NodeCreateAuthenticatorOOBSetup) GetCreateAuthenticatorStage ¶
func (n *NodeCreateAuthenticatorOOBSetup) GetCreateAuthenticatorStage() authn.AuthenticationStage
GetCreateAuthenticatorStage implements CreateAuthenticatorPhoneOTPNode
func (*NodeCreateAuthenticatorOOBSetup) GetEffects ¶
func (n *NodeCreateAuthenticatorOOBSetup) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
func (*NodeCreateAuthenticatorOOBSetup) GetOOBOTPChannel ¶
func (n *NodeCreateAuthenticatorOOBSetup) GetOOBOTPChannel() string
GetOOBOTPChannel implements OOBOTPNode.
func (*NodeCreateAuthenticatorOOBSetup) GetOOBOTPCodeLength ¶
func (n *NodeCreateAuthenticatorOOBSetup) GetOOBOTPCodeLength() int
GetOOBOTPCodeLength implements OOBOTPNode.
func (*NodeCreateAuthenticatorOOBSetup) GetOOBOTPOOBType ¶
func (n *NodeCreateAuthenticatorOOBSetup) GetOOBOTPOOBType() interaction.OOBType
GetOOBOTPOOBType implements OOBOTPNode.
func (*NodeCreateAuthenticatorOOBSetup) GetOOBOTPTarget ¶
func (n *NodeCreateAuthenticatorOOBSetup) GetOOBOTPTarget() string
GetOOBOTPTarget implements OOBOTPNode.
func (*NodeCreateAuthenticatorOOBSetup) GetSelectedPhoneNumberForPhoneOTP ¶
func (n *NodeCreateAuthenticatorOOBSetup) GetSelectedPhoneNumberForPhoneOTP() string
GetSelectedPhoneNumberForPhoneOTP implements CreateAuthenticatorPhoneOTPNode
func (*NodeCreateAuthenticatorOOBSetup) Prepare ¶
func (n *NodeCreateAuthenticatorOOBSetup) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
type NodeCreateAuthenticatorPasskey ¶
type NodeCreateAuthenticatorPasskey struct { Stage authn.AuthenticationStage `json:"stage"` Authenticator *authenticator.Info `json:"authenticator"` Identity *identity.Info `json:"identity"` }
func (*NodeCreateAuthenticatorPasskey) DeriveEdges ¶
func (n *NodeCreateAuthenticatorPasskey) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
func (*NodeCreateAuthenticatorPasskey) GetEffects ¶
func (n *NodeCreateAuthenticatorPasskey) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
func (*NodeCreateAuthenticatorPasskey) Prepare ¶
func (n *NodeCreateAuthenticatorPasskey) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
type NodeCreateAuthenticatorPassword ¶
type NodeCreateAuthenticatorPassword struct { Stage authn.AuthenticationStage `json:"stage"` Authenticator *authenticator.Info `json:"authenticator"` }
func (*NodeCreateAuthenticatorPassword) DeriveEdges ¶
func (n *NodeCreateAuthenticatorPassword) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
func (*NodeCreateAuthenticatorPassword) GetEffects ¶
func (n *NodeCreateAuthenticatorPassword) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
func (*NodeCreateAuthenticatorPassword) Prepare ¶
func (n *NodeCreateAuthenticatorPassword) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
type NodeCreateAuthenticatorTOTP ¶
type NodeCreateAuthenticatorTOTP struct { Stage authn.AuthenticationStage `json:"stage"` Authenticator *authenticator.Info `json:"authenticator"` }
func (*NodeCreateAuthenticatorTOTP) DeriveEdges ¶
func (n *NodeCreateAuthenticatorTOTP) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
func (*NodeCreateAuthenticatorTOTP) GetEffects ¶
func (n *NodeCreateAuthenticatorTOTP) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
func (*NodeCreateAuthenticatorTOTP) Prepare ¶
func (n *NodeCreateAuthenticatorTOTP) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
type NodeCreateAuthenticatorTOTPSetup ¶
type NodeCreateAuthenticatorTOTPSetup struct { Stage authn.AuthenticationStage `json:"stage"` Authenticator *authenticator.Info `json:"authenticator"` }
func (*NodeCreateAuthenticatorTOTPSetup) DeriveEdges ¶
func (n *NodeCreateAuthenticatorTOTPSetup) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
func (*NodeCreateAuthenticatorTOTPSetup) GetEffects ¶
func (n *NodeCreateAuthenticatorTOTPSetup) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
func (*NodeCreateAuthenticatorTOTPSetup) GetTOTPAuthenticator ¶
func (n *NodeCreateAuthenticatorTOTPSetup) GetTOTPAuthenticator() *authenticator.Info
GetTOTPAuthenticator implements SetupTOTPNode.
func (*NodeCreateAuthenticatorTOTPSetup) Prepare ¶
func (n *NodeCreateAuthenticatorTOTPSetup) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
type NodeCreateAuthenticatorWhatsappOTP ¶
type NodeCreateAuthenticatorWhatsappOTP struct { Stage authn.AuthenticationStage `json:"stage"` Authenticator *authenticator.Info `json:"authenticator"` }
func (*NodeCreateAuthenticatorWhatsappOTP) DeriveEdges ¶
func (n *NodeCreateAuthenticatorWhatsappOTP) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
func (*NodeCreateAuthenticatorWhatsappOTP) GetEffects ¶
func (n *NodeCreateAuthenticatorWhatsappOTP) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
func (*NodeCreateAuthenticatorWhatsappOTP) Prepare ¶
func (n *NodeCreateAuthenticatorWhatsappOTP) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
type NodeCreateAuthenticatorWhatsappOTPSetup ¶
type NodeCreateAuthenticatorWhatsappOTPSetup struct { Stage authn.AuthenticationStage `json:"stage"` Authenticator *authenticator.Info `json:"authenticator"` WhatsappOTPLength int `json:"whatsapp_otp_length"` Phone string `json:"phone"` }
func (*NodeCreateAuthenticatorWhatsappOTPSetup) DeriveEdges ¶
func (n *NodeCreateAuthenticatorWhatsappOTPSetup) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
func (*NodeCreateAuthenticatorWhatsappOTPSetup) GetCreateAuthenticatorStage ¶
func (n *NodeCreateAuthenticatorWhatsappOTPSetup) GetCreateAuthenticatorStage() authn.AuthenticationStage
GetCreateAuthenticatorStage implements CreateAuthenticatorPhoneOTPNode
func (*NodeCreateAuthenticatorWhatsappOTPSetup) GetEffects ¶
func (n *NodeCreateAuthenticatorWhatsappOTPSetup) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
func (*NodeCreateAuthenticatorWhatsappOTPSetup) GetOTPKindFactory ¶
func (n *NodeCreateAuthenticatorWhatsappOTPSetup) GetOTPKindFactory() otp.DeprecatedKindFactory
GetOTPKindFactory implements WhatsappOTPNode.
func (*NodeCreateAuthenticatorWhatsappOTPSetup) GetPhone ¶
func (n *NodeCreateAuthenticatorWhatsappOTPSetup) GetPhone() string
GetPhone implements WhatsappOTPNode.
func (*NodeCreateAuthenticatorWhatsappOTPSetup) GetSelectedPhoneNumberForPhoneOTP ¶
func (n *NodeCreateAuthenticatorWhatsappOTPSetup) GetSelectedPhoneNumberForPhoneOTP() string
GetSelectedPhoneNumberForPhoneOTP implements CreateAuthenticatorPhoneOTPNode
func (*NodeCreateAuthenticatorWhatsappOTPSetup) GetWhatsappOTPLength ¶
func (n *NodeCreateAuthenticatorWhatsappOTPSetup) GetWhatsappOTPLength() int
GetWhatsappOTPLength implements WhatsappOTPNode.
func (*NodeCreateAuthenticatorWhatsappOTPSetup) Prepare ¶
func (n *NodeCreateAuthenticatorWhatsappOTPSetup) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
type NodeCreateIdentityBegin ¶
type NodeCreateIdentityBegin struct { IdentityTypes []model.IdentityType `json:"-"` IdentityConfig *config.IdentityConfig `json:"-"` IdentityFeatureConfig *config.IdentityFeatureConfig `json:"-"` }
func (*NodeCreateIdentityBegin) DeriveEdges ¶
func (n *NodeCreateIdentityBegin) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
func (*NodeCreateIdentityBegin) GetEffects ¶
func (n *NodeCreateIdentityBegin) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
func (*NodeCreateIdentityBegin) GetIdentityCandidates ¶
func (n *NodeCreateIdentityBegin) GetIdentityCandidates() []identity.Candidate
func (*NodeCreateIdentityBegin) Prepare ¶
func (n *NodeCreateIdentityBegin) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
type NodeCreateIdentityEnd ¶
type NodeCreateIdentityEnd struct { IdentitySpec *identity.Spec `json:"identity_spec"` IdentityInfo *identity.Info `json:"identity_info"` }
func (*NodeCreateIdentityEnd) DeriveEdges ¶
func (n *NodeCreateIdentityEnd) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
func (*NodeCreateIdentityEnd) GetEffects ¶
func (n *NodeCreateIdentityEnd) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
func (*NodeCreateIdentityEnd) Prepare ¶
func (n *NodeCreateIdentityEnd) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
type NodeDoConsumeRecoveryCode ¶
type NodeDoConsumeRecoveryCode struct {
RecoveryCode *mfa.RecoveryCode `json:"recovery_code"`
}
func (*NodeDoConsumeRecoveryCode) DeriveEdges ¶
func (n *NodeDoConsumeRecoveryCode) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
func (*NodeDoConsumeRecoveryCode) GetEffects ¶
func (n *NodeDoConsumeRecoveryCode) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
func (*NodeDoConsumeRecoveryCode) Prepare ¶
func (n *NodeDoConsumeRecoveryCode) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
func (*NodeDoConsumeRecoveryCode) UsedAuthenticationLockoutMethod ¶
func (n *NodeDoConsumeRecoveryCode) UsedAuthenticationLockoutMethod() (config.AuthenticationLockoutMethod, bool)
type NodeDoCreateAuthenticator ¶
type NodeDoCreateAuthenticator struct { Stage authn.AuthenticationStage `json:"stage"` Authenticators []*authenticator.Info `json:"authenticators"` IsAdminAPI bool `json:"is_admin_api"` }
func (*NodeDoCreateAuthenticator) DeriveEdges ¶
func (n *NodeDoCreateAuthenticator) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
func (*NodeDoCreateAuthenticator) GetEffects ¶
func (n *NodeDoCreateAuthenticator) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
func (*NodeDoCreateAuthenticator) Prepare ¶
func (n *NodeDoCreateAuthenticator) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
func (*NodeDoCreateAuthenticator) UserAuthenticator ¶
func (n *NodeDoCreateAuthenticator) UserAuthenticator(stage authn.AuthenticationStage) (*authenticator.Info, bool)
func (*NodeDoCreateAuthenticator) UserNewAuthenticators ¶
func (n *NodeDoCreateAuthenticator) UserNewAuthenticators() []*authenticator.Info
type NodeDoCreateIdentity ¶
type NodeDoCreateIdentity struct { Identity *identity.Info `json:"identity"` IsAddition bool `json:"is_addition"` IsAdminAPI bool `json:"is_admin_api"` SkipCreateIdentityEvent bool `json:"skip_create_identity_event"` }
func (*NodeDoCreateIdentity) DeriveEdges ¶
func (n *NodeDoCreateIdentity) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
func (*NodeDoCreateIdentity) GetEffects ¶
func (n *NodeDoCreateIdentity) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
nolint:gocognit
func (*NodeDoCreateIdentity) Prepare ¶
func (n *NodeDoCreateIdentity) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
func (*NodeDoCreateIdentity) UserNewIdentity ¶
func (n *NodeDoCreateIdentity) UserNewIdentity() *identity.Info
type NodeDoCreateUser ¶
type NodeDoCreateUser struct { CreateUserID string `json:"create_user_id"` BypassRateLimit bool `json:"bypass_rate_limit"` IsAdminAPI bool `json:"is_admin_api"` }
func (*NodeDoCreateUser) DeriveEdges ¶
func (n *NodeDoCreateUser) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
func (*NodeDoCreateUser) GetEffects ¶
func (n *NodeDoCreateUser) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
func (*NodeDoCreateUser) NewUserID ¶
func (n *NodeDoCreateUser) NewUserID() string
func (*NodeDoCreateUser) Prepare ¶
func (n *NodeDoCreateUser) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
func (*NodeDoCreateUser) UserID ¶
func (n *NodeDoCreateUser) UserID() string
type NodeDoEnsureSession ¶
type NodeDoEnsureSession struct { CreateReason session.CreateReason `json:"reason"` SessionToCreate *idpsession.IDPSession `json:"session_to_create,omitempty"` AuthenticationInfoEntry *authenticationinfo.Entry `json:"authentication_info_entry,omitempty"` UpdateLoginTime time.Time `json:"update_login_time,omitempty"` UpdateSessionID string `json:"update_session_id,omitempty"` UpdateSessionAMR []string `json:"update_session_amr,omitempty"` SessionCookie *http.Cookie `json:"session_cookie,omitempty"` SameSiteStrictCookie *http.Cookie `json:"same_site_strict_cookie,omitempty"` IsAdminAPI bool `json:"is_admin_api"` }
func (*NodeDoEnsureSession) DeriveEdges ¶
func (n *NodeDoEnsureSession) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
func (*NodeDoEnsureSession) GetAuthenticationInfoEntry ¶
func (n *NodeDoEnsureSession) GetAuthenticationInfoEntry() *authenticationinfo.Entry
func (*NodeDoEnsureSession) GetCookies ¶
func (n *NodeDoEnsureSession) GetCookies() (cookies []*http.Cookie)
GetCookies implements CookiesGetter
func (*NodeDoEnsureSession) GetEffects ¶
func (n *NodeDoEnsureSession) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
nolint:gocognit
func (*NodeDoEnsureSession) Prepare ¶
func (n *NodeDoEnsureSession) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
type NodeDoGenerateRecoveryCode ¶
type NodeDoGenerateRecoveryCode struct {
RecoveryCodes []string `json:"recovery_nodes"`
}
func (*NodeDoGenerateRecoveryCode) DeriveEdges ¶
func (n *NodeDoGenerateRecoveryCode) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
func (*NodeDoGenerateRecoveryCode) GetEffects ¶
func (n *NodeDoGenerateRecoveryCode) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
func (*NodeDoGenerateRecoveryCode) Prepare ¶
func (n *NodeDoGenerateRecoveryCode) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
type NodeDoRemoveAuthenticator ¶
type NodeDoRemoveAuthenticator struct { Authenticator *authenticator.Info `json:"authenticator"` BypassMFARequirement bool `json:"bypass_mfa_requirement"` }
func (*NodeDoRemoveAuthenticator) DeriveEdges ¶
func (n *NodeDoRemoveAuthenticator) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
func (*NodeDoRemoveAuthenticator) GetEffects ¶
func (n *NodeDoRemoveAuthenticator) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
nolint:gocognit
func (*NodeDoRemoveAuthenticator) Prepare ¶
func (n *NodeDoRemoveAuthenticator) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
type NodeDoRemoveIdentity ¶
type NodeDoRemoveIdentity struct { Identity *identity.Info `json:"identity"` IsAdminAPI bool `json:"is_admin_api"` }
func (*NodeDoRemoveIdentity) DeriveEdges ¶
func (n *NodeDoRemoveIdentity) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
func (*NodeDoRemoveIdentity) GetEffects ¶
func (n *NodeDoRemoveIdentity) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
func (*NodeDoRemoveIdentity) Prepare ¶
func (n *NodeDoRemoveIdentity) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
type NodeDoResetLockoutAttempts ¶
type NodeDoResetLockoutAttempts struct { }
func (*NodeDoResetLockoutAttempts) DeriveEdges ¶
func (n *NodeDoResetLockoutAttempts) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
func (*NodeDoResetLockoutAttempts) GetEffects ¶
func (n *NodeDoResetLockoutAttempts) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
func (*NodeDoResetLockoutAttempts) Prepare ¶
func (n *NodeDoResetLockoutAttempts) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
type NodeDoUpdateAuthenticator ¶
type NodeDoUpdateAuthenticator struct { Stage authn.AuthenticationStage `json:"stage"` AuthenticatorBeforeUpdate *authenticator.Info `json:"authenticator_before_update"` AuthenticatorAfterUpdate *authenticator.Info `json:"authenticator_after_update"` }
func (*NodeDoUpdateAuthenticator) DeriveEdges ¶
func (n *NodeDoUpdateAuthenticator) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
func (*NodeDoUpdateAuthenticator) GetEffects ¶
func (n *NodeDoUpdateAuthenticator) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
func (*NodeDoUpdateAuthenticator) Prepare ¶
func (n *NodeDoUpdateAuthenticator) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
func (*NodeDoUpdateAuthenticator) UserAuthenticator ¶
func (n *NodeDoUpdateAuthenticator) UserAuthenticator(stage authn.AuthenticationStage) (*authenticator.Info, bool)
type NodeDoUpdateIdentity ¶
type NodeDoUpdateIdentity struct { IdentityBeforeUpdate *identity.Info `json:"identity_before_update"` IdentityAfterUpdate *identity.Info `json:"identity_after_update"` IsAdminAPI bool `json:"is_admin_api"` }
func (*NodeDoUpdateIdentity) DeriveEdges ¶
func (n *NodeDoUpdateIdentity) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
func (*NodeDoUpdateIdentity) GetEffects ¶
func (n *NodeDoUpdateIdentity) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
func (*NodeDoUpdateIdentity) Prepare ¶
func (n *NodeDoUpdateIdentity) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
func (*NodeDoUpdateIdentity) UserIdentity ¶
func (n *NodeDoUpdateIdentity) UserIdentity() *identity.Info
type NodeDoUseAuthenticator ¶
type NodeDoUseAuthenticator struct { Stage authn.AuthenticationStage `json:"stage"` Authenticator *authenticator.Info `json:"authenticator"` DeviceTokenCookie *http.Cookie `json:"device_token_cookie"` }
func (*NodeDoUseAuthenticator) DeriveEdges ¶
func (n *NodeDoUseAuthenticator) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
func (*NodeDoUseAuthenticator) GetCookies ¶
func (n *NodeDoUseAuthenticator) GetCookies() []*http.Cookie
GetCookies implements CookiesGetter
func (*NodeDoUseAuthenticator) GetEffects ¶
func (n *NodeDoUseAuthenticator) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
func (*NodeDoUseAuthenticator) Prepare ¶
func (n *NodeDoUseAuthenticator) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
func (*NodeDoUseAuthenticator) UsedAuthenticationLockoutMethod ¶
func (n *NodeDoUseAuthenticator) UsedAuthenticationLockoutMethod() (config.AuthenticationLockoutMethod, bool)
func (*NodeDoUseAuthenticator) UserAuthenticator ¶
func (n *NodeDoUseAuthenticator) UserAuthenticator(stage authn.AuthenticationStage) (*authenticator.Info, bool)
type NodeDoUseIdentity ¶
func (*NodeDoUseIdentity) DeriveEdges ¶
func (n *NodeDoUseIdentity) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
func (*NodeDoUseIdentity) GetEffects ¶
func (n *NodeDoUseIdentity) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
func (*NodeDoUseIdentity) Prepare ¶
func (n *NodeDoUseIdentity) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
func (*NodeDoUseIdentity) UserID ¶
func (n *NodeDoUseIdentity) UserID() string
func (*NodeDoUseIdentity) UserIdentity ¶
func (n *NodeDoUseIdentity) UserIdentity() *identity.Info
type NodeDoUseUser ¶
type NodeDoUseUser struct {
UseUserID string `json:"user_id"`
}
func (*NodeDoUseUser) DeriveEdges ¶
func (n *NodeDoUseUser) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
func (*NodeDoUseUser) GetEffects ¶
func (n *NodeDoUseUser) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
func (*NodeDoUseUser) Prepare ¶
func (n *NodeDoUseUser) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
func (*NodeDoUseUser) UserID ¶
func (n *NodeDoUseUser) UserID() string
type NodeDoVerifyIdentity ¶
type NodeDoVerifyIdentity struct { Identity *identity.Info `json:"identity"` NewVerifiedClaim *verification.Claim `json:"new_verified_claim"` IsAdminAPI bool `json:"is_admin_api"` SkipVerificationEvent bool `json:"skip_verification_event"` }
func (*NodeDoVerifyIdentity) DeriveEdges ¶
func (n *NodeDoVerifyIdentity) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
func (*NodeDoVerifyIdentity) GetEffects ¶
func (n *NodeDoVerifyIdentity) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
func (*NodeDoVerifyIdentity) Prepare ¶
func (n *NodeDoVerifyIdentity) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
type NodeEnsurePasswordChange ¶
type NodeEnsurePasswordChange struct {
Stage authn.AuthenticationStage `json:"stage"`
}
func (*NodeEnsurePasswordChange) DeriveEdges ¶
func (n *NodeEnsurePasswordChange) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
func (*NodeEnsurePasswordChange) GetEffects ¶
func (n *NodeEnsurePasswordChange) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
func (*NodeEnsurePasswordChange) Prepare ¶
func (n *NodeEnsurePasswordChange) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
type NodeEnsureRemoveAnonymousIdentity ¶
type NodeEnsureRemoveAnonymousIdentity struct { AnonymousIdentity *identity.Info `json:"anonymous_identity,omitempty"` IsAdminAPI bool `json:"is_admin_api"` }
func (*NodeEnsureRemoveAnonymousIdentity) DeriveEdges ¶
func (n *NodeEnsureRemoveAnonymousIdentity) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
func (*NodeEnsureRemoveAnonymousIdentity) GetEffects ¶
func (n *NodeEnsureRemoveAnonymousIdentity) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
func (*NodeEnsureRemoveAnonymousIdentity) Prepare ¶
func (n *NodeEnsureRemoveAnonymousIdentity) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
type NodeEnsureVerificationBegin ¶
type NodeEnsureVerificationBegin struct { Identity *identity.Info `json:"identity"` RequestedByUser bool `json:"requested_by_user"` SkipVerification bool `json:"skip_verification"` PhoneOTPMode config.AuthenticatorPhoneOTPMode `json:"phone_otp_mode"` VerificationClaimStatus verification.ClaimStatus `json:"-"` }
func (*NodeEnsureVerificationBegin) DeriveEdges ¶
func (n *NodeEnsureVerificationBegin) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
func (*NodeEnsureVerificationBegin) GetEffects ¶
func (n *NodeEnsureVerificationBegin) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
func (*NodeEnsureVerificationBegin) GetVerifyIdentityEdges ¶
func (n *NodeEnsureVerificationBegin) GetVerifyIdentityEdges() ([]interaction.Edge, error)
GetVerifyIdentityEdges implements EnsureVerificationBeginNode
func (*NodeEnsureVerificationBegin) Prepare ¶
func (n *NodeEnsureVerificationBegin) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
type NodeEnsureVerificationEnd ¶
type NodeEnsureVerificationEnd struct { Identity *identity.Info `json:"identity"` NewVerifiedClaim *verification.Claim `json:"new_verified_claim,omitempty"` }
func (*NodeEnsureVerificationEnd) DeriveEdges ¶
func (n *NodeEnsureVerificationEnd) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
func (*NodeEnsureVerificationEnd) GetEffects ¶
func (n *NodeEnsureVerificationEnd) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
func (*NodeEnsureVerificationEnd) Prepare ¶
func (n *NodeEnsureVerificationEnd) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
type NodeForgotPasswordBegin ¶
type NodeForgotPasswordBegin struct { LoginIDKeys []config.LoginIDKeyConfig `json:"-"` IdentityInfo *identity.Info `json:"identity_info"` }
func (*NodeForgotPasswordBegin) DeriveEdges ¶
func (n *NodeForgotPasswordBegin) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
func (*NodeForgotPasswordBegin) GetEffects ¶
func (n *NodeForgotPasswordBegin) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
func (*NodeForgotPasswordBegin) GetIdentityCandidates ¶
func (n *NodeForgotPasswordBegin) GetIdentityCandidates() []identity.Candidate
func (*NodeForgotPasswordBegin) Prepare ¶
func (n *NodeForgotPasswordBegin) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
type NodeForgotPasswordEnd ¶
type NodeForgotPasswordEnd struct { LoginID string `json:"login_id"` SuccessPageCookie *http.Cookie `json:"success_page_cookie,omitempty"` }
func (*NodeForgotPasswordEnd) DeriveEdges ¶
func (n *NodeForgotPasswordEnd) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
func (*NodeForgotPasswordEnd) GetCookies ¶
func (n *NodeForgotPasswordEnd) GetCookies() []*http.Cookie
GetCookies implements CookiesGetter
func (*NodeForgotPasswordEnd) GetEffects ¶
func (n *NodeForgotPasswordEnd) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
func (*NodeForgotPasswordEnd) GetLoginID ¶
func (n *NodeForgotPasswordEnd) GetLoginID() string
GetLoginID implements ForgotPasswordSuccessNode.
func (*NodeForgotPasswordEnd) Prepare ¶
func (n *NodeForgotPasswordEnd) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
type NodeGenerateRecoveryCodeBegin ¶
type NodeGenerateRecoveryCodeBegin struct {
RecoveryCodes []string `json:"recovery_codes"`
}
func (*NodeGenerateRecoveryCodeBegin) DeriveEdges ¶
func (n *NodeGenerateRecoveryCodeBegin) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
func (*NodeGenerateRecoveryCodeBegin) GetEffects ¶
func (n *NodeGenerateRecoveryCodeBegin) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
func (*NodeGenerateRecoveryCodeBegin) GetRecoveryCodes ¶
func (n *NodeGenerateRecoveryCodeBegin) GetRecoveryCodes() []string
GetRecoveryCodes implements RecoveryCodeNodes.
func (*NodeGenerateRecoveryCodeBegin) Prepare ¶
func (n *NodeGenerateRecoveryCodeBegin) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
type NodeGenerateRecoveryCodeEnd ¶
type NodeGenerateRecoveryCodeEnd struct {
RecoveryCodes []string `json:"recovery_codes"`
}
func (*NodeGenerateRecoveryCodeEnd) DeriveEdges ¶
func (n *NodeGenerateRecoveryCodeEnd) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
func (*NodeGenerateRecoveryCodeEnd) GetEffects ¶
func (n *NodeGenerateRecoveryCodeEnd) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
func (*NodeGenerateRecoveryCodeEnd) Prepare ¶
func (n *NodeGenerateRecoveryCodeEnd) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
type NodePromptCreatePasskeyBegin ¶
type NodePromptCreatePasskeyBegin struct{}
func (*NodePromptCreatePasskeyBegin) DeriveEdges ¶
func (n *NodePromptCreatePasskeyBegin) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
func (*NodePromptCreatePasskeyBegin) GetEffects ¶
func (n *NodePromptCreatePasskeyBegin) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
func (*NodePromptCreatePasskeyBegin) Prepare ¶
func (n *NodePromptCreatePasskeyBegin) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
type NodePromptCreatePasskeyEnd ¶
type NodePromptCreatePasskeyEnd struct { Authenticator *authenticator.Info `json:"authenticator"` Identity *identity.Info `json:"identity"` }
func (*NodePromptCreatePasskeyEnd) DeriveEdges ¶
func (n *NodePromptCreatePasskeyEnd) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
func (*NodePromptCreatePasskeyEnd) GetEffects ¶
func (n *NodePromptCreatePasskeyEnd) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
func (*NodePromptCreatePasskeyEnd) Prepare ¶
func (n *NodePromptCreatePasskeyEnd) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
type NodeReauthenticationBegin ¶
type NodeReauthenticationBegin struct { Stage authn.AuthenticationStage `json:"stage"` Authenticators []*authenticator.Info `json:"-"` AuthenticatorConfig *config.AuthenticatorConfig `json:"-"` }
func (*NodeReauthenticationBegin) DeriveEdges ¶
func (n *NodeReauthenticationBegin) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
func (*NodeReauthenticationBegin) GetAuthenticationEdges ¶
func (n *NodeReauthenticationBegin) GetAuthenticationEdges() ([]interaction.Edge, error)
GetAuthenticationEdges implements AuthenticationBeginNode.
func (*NodeReauthenticationBegin) GetAuthenticationStage ¶
func (n *NodeReauthenticationBegin) GetAuthenticationStage() authn.AuthenticationStage
GetAuthenticationStage implements AuthenticationBeginNode.
func (*NodeReauthenticationBegin) GetEffects ¶
func (n *NodeReauthenticationBegin) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
func (*NodeReauthenticationBegin) Prepare ¶
func (n *NodeReauthenticationBegin) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
type NodeRemoveAuthenticator ¶
type NodeRemoveAuthenticator struct { AuthenticatorInfo *authenticator.Info `json:"authenticator_info"` BypassMFARequirement bool `json:"bypass_mfa_requirement"` }
func (*NodeRemoveAuthenticator) DeriveEdges ¶
func (n *NodeRemoveAuthenticator) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
func (*NodeRemoveAuthenticator) GetEffects ¶
func (n *NodeRemoveAuthenticator) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
func (*NodeRemoveAuthenticator) Prepare ¶
func (n *NodeRemoveAuthenticator) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
type NodeRemoveIdentity ¶
func (*NodeRemoveIdentity) DeriveEdges ¶
func (n *NodeRemoveIdentity) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
func (*NodeRemoveIdentity) GetEffects ¶
func (n *NodeRemoveIdentity) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
func (*NodeRemoveIdentity) Prepare ¶
func (n *NodeRemoveIdentity) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
type NodeResetPasswordBegin ¶
type NodeResetPasswordBegin struct{}
func (*NodeResetPasswordBegin) DeriveEdges ¶
func (n *NodeResetPasswordBegin) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
func (*NodeResetPasswordBegin) GetEffects ¶
func (n *NodeResetPasswordBegin) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
func (*NodeResetPasswordBegin) Prepare ¶
func (n *NodeResetPasswordBegin) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
type NodeResetPasswordEnd ¶
type NodeResetPasswordEnd struct { InputResetPassword InputResetPassword `json:"-"` InputResetPasswordByCode InputResetPasswordByCode `json:"-"` SuccessPageCookie *http.Cookie `json:"success_page_cookie,omitempty"` }
func (*NodeResetPasswordEnd) DeriveEdges ¶
func (n *NodeResetPasswordEnd) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
func (*NodeResetPasswordEnd) GetCookies ¶
func (n *NodeResetPasswordEnd) GetCookies() []*http.Cookie
GetCookies implements CookiesGetter
func (*NodeResetPasswordEnd) GetEffects ¶
func (n *NodeResetPasswordEnd) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
func (*NodeResetPasswordEnd) Prepare ¶
func (n *NodeResetPasswordEnd) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
type NodeSelectIdentityBegin ¶
type NodeSelectIdentityBegin struct { IsAuthentication bool `json:"is_authentication"` IdentityTypes []model.IdentityType `json:"-"` IdentityConfig *config.IdentityConfig `json:"-"` IdentityFeatureConfig *config.IdentityFeatureConfig `json:"-"` }
func (*NodeSelectIdentityBegin) DeriveEdges ¶
func (n *NodeSelectIdentityBegin) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
func (*NodeSelectIdentityBegin) GetEffects ¶
func (n *NodeSelectIdentityBegin) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
func (*NodeSelectIdentityBegin) GetIdentityCandidates ¶
func (n *NodeSelectIdentityBegin) GetIdentityCandidates() []identity.Candidate
func (*NodeSelectIdentityBegin) Prepare ¶
func (n *NodeSelectIdentityBegin) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
type NodeSelectIdentityEnd ¶
type NodeSelectIdentityEnd struct { IdentitySpec *identity.Spec `json:"identity_spec"` IdentityInfo *identity.Info `json:"identity_info"` OldIdentityInfo *identity.Info `json:"old_identity_info"` OtherMatch *identity.Info `json:"other_match"` }
func (*NodeSelectIdentityEnd) DeriveEdges ¶
func (n *NodeSelectIdentityEnd) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
func (*NodeSelectIdentityEnd) FillDetails ¶
func (n *NodeSelectIdentityEnd) FillDetails(err error) error
func (*NodeSelectIdentityEnd) GetEffects ¶
func (n *NodeSelectIdentityEnd) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
func (*NodeSelectIdentityEnd) Prepare ¶
func (n *NodeSelectIdentityEnd) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
type NodeSettingsActionEnd ¶
type NodeSettingsActionEnd struct{}
func (*NodeSettingsActionEnd) DeriveEdges ¶
func (n *NodeSettingsActionEnd) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
func (*NodeSettingsActionEnd) GetEffects ¶
func (n *NodeSettingsActionEnd) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
func (*NodeSettingsActionEnd) Prepare ¶
func (n *NodeSettingsActionEnd) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
type NodeUpdateIdentityBegin ¶
type NodeUpdateIdentityBegin struct { IdentityID string `json:"identity_id"` LoginIDKeys []config.LoginIDKeyConfig `json:"-"` }
func (*NodeUpdateIdentityBegin) DeriveEdges ¶
func (n *NodeUpdateIdentityBegin) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
func (*NodeUpdateIdentityBegin) GetEffects ¶
func (n *NodeUpdateIdentityBegin) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
func (*NodeUpdateIdentityBegin) GetIdentityCandidates ¶
func (n *NodeUpdateIdentityBegin) GetIdentityCandidates() []identity.Candidate
func (*NodeUpdateIdentityBegin) Prepare ¶
func (n *NodeUpdateIdentityBegin) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
func (*NodeUpdateIdentityBegin) UpdateIdentityID ¶
func (n *NodeUpdateIdentityBegin) UpdateIdentityID() string
type NodeUpdateIdentityEnd ¶
type NodeUpdateIdentityEnd struct { IdentityBeforeUpdate *identity.Info `json:"identity_before_update"` IdentityAfterUpdate *identity.Info `json:"identity_after_update"` }
func (*NodeUpdateIdentityEnd) DeriveEdges ¶
func (n *NodeUpdateIdentityEnd) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
func (*NodeUpdateIdentityEnd) GetEffects ¶
func (n *NodeUpdateIdentityEnd) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
func (*NodeUpdateIdentityEnd) Prepare ¶
func (n *NodeUpdateIdentityEnd) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
type NodeUseIdentityAnonymous ¶
type NodeUseIdentityAnonymous struct { IsAuthentication bool `json:"is_authentication"` IdentitySpec *identity.Spec `json:"identity_spec"` PromotionCode string `json:"promotion_code,omitempty"` JWT string `json:"jwt,omitempty"` }
func (*NodeUseIdentityAnonymous) DeriveEdges ¶
func (n *NodeUseIdentityAnonymous) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
func (*NodeUseIdentityAnonymous) GetEffects ¶
func (n *NodeUseIdentityAnonymous) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
func (*NodeUseIdentityAnonymous) Prepare ¶
func (n *NodeUseIdentityAnonymous) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
type NodeUseIdentityBiometric ¶
type NodeUseIdentityBiometric struct { IsAuthentication bool `json:"is_authentication"` IsCreating bool `json:"is_creating"` IdentitySpec *identity.Spec `json:"identity_spec"` }
func (*NodeUseIdentityBiometric) DeriveEdges ¶
func (n *NodeUseIdentityBiometric) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
func (*NodeUseIdentityBiometric) GetEffects ¶
func (n *NodeUseIdentityBiometric) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
func (*NodeUseIdentityBiometric) Prepare ¶
func (n *NodeUseIdentityBiometric) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
type NodeUseIdentityLoginID ¶
type NodeUseIdentityLoginID struct { IsAuthentication bool `json:"is_authentication"` Mode UseIdentityLoginIDMode `json:"mode"` IdentitySpec *identity.Spec `json:"identity_spec"` }
func (*NodeUseIdentityLoginID) DeriveEdges ¶
func (n *NodeUseIdentityLoginID) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
func (*NodeUseIdentityLoginID) GetEffects ¶
func (n *NodeUseIdentityLoginID) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
func (*NodeUseIdentityLoginID) Prepare ¶
func (n *NodeUseIdentityLoginID) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
type NodeUseIdentityOAuthProvider ¶
type NodeUseIdentityOAuthProvider struct { IsAuthentication bool `json:"is_authentication"` IsCreating bool `json:"is_creating"` Config config.OAuthSSOProviderConfig `json:"provider_config"` HashedNonce string `json:"hashed_nonce"` ErrorRedirectURI string `json:"error_redirect_uri"` RedirectURI string `json:"redirect_uri"` }
func (*NodeUseIdentityOAuthProvider) DeriveEdges ¶
func (n *NodeUseIdentityOAuthProvider) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
func (*NodeUseIdentityOAuthProvider) GetEffects ¶
func (n *NodeUseIdentityOAuthProvider) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
func (*NodeUseIdentityOAuthProvider) GetErrorRedirectURI ¶
func (n *NodeUseIdentityOAuthProvider) GetErrorRedirectURI() string
GetErrorRedirectURI implements ErrorRedirectURIGetter.
func (*NodeUseIdentityOAuthProvider) GetRedirectURI ¶
func (n *NodeUseIdentityOAuthProvider) GetRedirectURI() string
GetRedirectURI implements RedirectURIGetter.
func (*NodeUseIdentityOAuthProvider) Prepare ¶
func (n *NodeUseIdentityOAuthProvider) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
type NodeUseIdentityOAuthUserInfo ¶
type NodeUseIdentityOAuthUserInfo struct { IsAuthentication bool `json:"is_authentication"` IsCreating bool `json:"is_creating"` IdentitySpec *identity.Spec `json:"identity_spec"` }
func (*NodeUseIdentityOAuthUserInfo) DeriveEdges ¶
func (n *NodeUseIdentityOAuthUserInfo) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
func (*NodeUseIdentityOAuthUserInfo) GetEffects ¶
func (n *NodeUseIdentityOAuthUserInfo) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
func (*NodeUseIdentityOAuthUserInfo) Prepare ¶
func (n *NodeUseIdentityOAuthUserInfo) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
type NodeUseIdentityPasskey ¶
type NodeUseIdentityPasskey struct { IsAuthentication bool `json:"is_authentication"` IdentitySpec *identity.Spec `json:"identity_spec"` }
func (*NodeUseIdentityPasskey) DeriveEdges ¶
func (n *NodeUseIdentityPasskey) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
func (*NodeUseIdentityPasskey) GetEffects ¶
func (n *NodeUseIdentityPasskey) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
func (*NodeUseIdentityPasskey) Prepare ¶
func (n *NodeUseIdentityPasskey) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
type NodeUseIdentitySIWE ¶
type NodeUseIdentitySIWE struct { IsAuthentication bool `json:"is_authentication"` IdentitySpec *identity.Spec `json:"identity_spec"` }
func (*NodeUseIdentitySIWE) DeriveEdges ¶
func (n *NodeUseIdentitySIWE) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
func (*NodeUseIdentitySIWE) GetEffects ¶
func (n *NodeUseIdentitySIWE) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
func (*NodeUseIdentitySIWE) Prepare ¶
func (n *NodeUseIdentitySIWE) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
type NodeValidateUser ¶
func (*NodeValidateUser) DeriveEdges ¶
func (n *NodeValidateUser) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
func (*NodeValidateUser) GetEffects ¶
func (n *NodeValidateUser) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
func (*NodeValidateUser) Prepare ¶
func (n *NodeValidateUser) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
type NodeVerifyIdentity ¶
type NodeVerifyIdentity struct { Identity *identity.Info `json:"identity"` RequestedByUser bool `json:"requested_by_user"` Channel string `json:"channel"` Target string `json:"target"` CodeLength int `json:"code_length"` }
func (*NodeVerifyIdentity) DeriveEdges ¶
func (n *NodeVerifyIdentity) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
func (*NodeVerifyIdentity) GetEffects ¶
func (n *NodeVerifyIdentity) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
func (*NodeVerifyIdentity) GetRequestedByUser ¶
func (n *NodeVerifyIdentity) GetRequestedByUser() bool
GetVerificationCodeChannel implements VerifyIdentityNode.
func (*NodeVerifyIdentity) GetVerificationCodeChannel ¶
func (n *NodeVerifyIdentity) GetVerificationCodeChannel() string
GetVerificationCodeChannel implements VerifyIdentityNode.
func (*NodeVerifyIdentity) GetVerificationCodeLength ¶
func (n *NodeVerifyIdentity) GetVerificationCodeLength() int
GetVerificationCodeLength implements VerifyIdentityNode.
func (*NodeVerifyIdentity) GetVerificationCodeTarget ¶
func (n *NodeVerifyIdentity) GetVerificationCodeTarget() string
GetVerificationCodeTarget implements VerifyIdentityNode.
func (*NodeVerifyIdentity) GetVerificationIdentity ¶
func (n *NodeVerifyIdentity) GetVerificationIdentity() *identity.Info
GetVerificationIdentity implements VerifyIdentityNode.
func (*NodeVerifyIdentity) Prepare ¶
func (n *NodeVerifyIdentity) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
func (*NodeVerifyIdentity) SendCode ¶
func (n *NodeVerifyIdentity) SendCode(goCtx context.Context, ctx *interaction.Context, ignoreRatelimitError bool) (*SendOOBCodeResult, error)
type NodeVerifyIdentityViaWhatsapp ¶
type NodeVerifyIdentityViaWhatsapp struct { Identity *identity.Info `json:"identity"` RequestedByUser bool `json:"requested_by_user"` WhatsappOTPLength int `json:"whatsapp_otp_length"` Phone string `json:"phone"` }
func (*NodeVerifyIdentityViaWhatsapp) DeriveEdges ¶
func (n *NodeVerifyIdentityViaWhatsapp) DeriveEdges(goCtx context.Context, graph *interaction.Graph) ([]interaction.Edge, error)
func (*NodeVerifyIdentityViaWhatsapp) GetEffects ¶
func (n *NodeVerifyIdentityViaWhatsapp) GetEffects(goCtx context.Context) ([]interaction.Effect, error)
func (*NodeVerifyIdentityViaWhatsapp) GetOTPKindFactory ¶
func (n *NodeVerifyIdentityViaWhatsapp) GetOTPKindFactory() otp.DeprecatedKindFactory
GetOTPKindFactory implements WhatsappOTPNode.
func (*NodeVerifyIdentityViaWhatsapp) GetPhone ¶
func (n *NodeVerifyIdentityViaWhatsapp) GetPhone() string
GetPhone implements WhatsappOTPNode.
func (*NodeVerifyIdentityViaWhatsapp) GetWhatsappOTPLength ¶
func (n *NodeVerifyIdentityViaWhatsapp) GetWhatsappOTPLength() int
GetWhatsappOTPLength implements WhatsappOTPNode.
func (*NodeVerifyIdentityViaWhatsapp) Prepare ¶
func (n *NodeVerifyIdentityViaWhatsapp) Prepare(goCtx context.Context, ctx *interaction.Context, graph *interaction.Graph) error
type SendOOBCode ¶
type SendOOBCode struct { Context *interaction.Context Stage authn.AuthenticationStage IsAuthenticating bool AuthenticatorInfo *authenticator.Info IgnoreRatelimitError bool OTPForm otp.Form }
func (*SendOOBCode) Do ¶
func (p *SendOOBCode) Do(goCtx context.Context) (*SendOOBCodeResult, error)
type SendOOBCodeResult ¶
type SendWhatsappCode ¶
type SendWhatsappCode struct { KindFactory func(config *config.AppConfig, channel model.AuthenticatorOOBChannel) otp.Kind Context *interaction.Context Target string IsResend bool }
func NewSendWhatsappCode ¶
func NewSendWhatsappCode( ctx *interaction.Context, kindFactory func(config *config.AppConfig, channel model.AuthenticatorOOBChannel) otp.Kind, target string, isResend bool) *SendWhatsappCode
func (*SendWhatsappCode) Do ¶
func (s *SendWhatsappCode) Do(goCtx context.Context) (*SendWhatsappCodeResult, error)
type SendWhatsappCodeResult ¶
type UseIdentityLoginIDMode ¶
type UseIdentityLoginIDMode string
Source Files ¶
- authn_begin.go
- authn_end.go
- authn_login_link.go
- authn_login_link_trigger.go
- authn_oob.go
- authn_oob_trigger.go
- authn_passkey.go
- authn_password.go
- authn_totp.go
- authn_whatsapp.go
- authn_whatsapp_trigger.go
- change_password.go
- check_identity_conflict.go
- confirm_terminate_other_sessions_begin.go
- confirm_terminate_other_sessions_end.go
- create_authenticator_begin.go
- create_authenticator_end.go
- create_authenticator_login_link_otp.go
- create_authenticator_login_link_otp_setup.go
- create_authenticator_oob.go
- create_authenticator_oob_setup.go
- create_authenticator_passkey.go
- create_authenticator_password.go
- create_authenticator_totp.go
- create_authenticator_totp_setup.go
- create_authenticator_whatsapp_otp.go
- create_authenticator_whatsapp_otp_setup.go
- create_identity_begin.go
- create_identity_end.go
- do_consume_recovery_code.go
- do_create_authenticator.go
- do_create_identity.go
- do_create_user.go
- do_ensure_session.go
- do_generate_recovery_code.go
- do_remove_authenticator.go
- do_remove_identity.go
- do_reset_lockout_attempts.go
- do_update_authenticator.go
- do_update_identity.go
- do_use_authenticator.go
- do_use_identity.go
- do_use_user.go
- do_verify_identity.go
- ensure_password_change.go
- ensure_remove_anonymous_identity.go
- ensure_verification.go
- forgot_password.go
- generate_recovery_code_begin.go
- generate_recovery_code_end.go
- incompatible_input.go
- oob_resend.go
- prompt_create_passkey.go
- reauth_begin.go
- remove_authenticator.go
- remove_identity.go
- reset_password.go
- select_identity_begin.go
- select_identity_end.go
- settings_action_end.go
- update_identity_begin.go
- update_identity_end.go
- use_device_token.go
- use_identity_anonymous.go
- use_identity_biometric.go
- use_identity_login_id.go
- use_identity_oauth_provider.go
- use_identity_oauth_user_info.go
- use_identity_passkey.go
- use_identity_siwe.go
- utils_authn.go
- utils_nodes.go
- utils_whatsapp.go
- validate_user.go
- verify_identity.go
- verify_identity_via_whatsapp.go
- whatsapp_otp_resend.go