declarative

package
v0.0.0-...-ee57881 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 20, 2024 License: Apache-2.0 Imports: 50 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AccountEnumerationPerIPRateLimitBucketSpec = interaction.AccountEnumerationPerIPRateLimitBucketSpec
View Source
var ErrDifferentUserID = apierrors.BadRequest.WithReason("AuthenticationFlowDifferentUserID").New("different user ID")
View Source
var ErrFlowNotFound = apierrors.NotFound.WithReason("AuthenticationFlowFlowNotFound").New("flow not found")
View Source
var ErrNoPublicSignup = apierrors.Forbidden.WithReason("AuthenticationFlowNoPublicSignup").New("public signup is disabled")
View Source
var ErrNoUserID = apierrors.BadRequest.WithReason("AuthenticationFlowNoUserID").New("no user ID")
View Source
var InputConfirmRecoveryCodeSchemaBuilder validation.SchemaBuilder
View Source
var InputConfirmTerminateOtherSessionsSchemaBuilder validation.SchemaBuilder
View Source
var InputCreateDeviceTokenSchemaBuilder validation.SchemaBuilder
View Source
var InputSchemaPromptCreatePasskeySchemaBuilder validation.SchemaBuilder
View Source
var InputTakeIDTokenSchemaBuilder validation.SchemaBuilder
View Source
var InvalidFlowConfig = apierrors.InternalError.WithReason("AuthenticationFlowInvalidFlowConfig")
View Source
var InvalidTargetStep = apierrors.InternalError.WithReason("AuthenticationFlowInvalidTargetStep")
View Source
var SignupPerIPRateLimitBucketSpec = interaction.SignupPerIPRateLimitBucketSpec

Functions

func HandleBotProtection

func HandleBotProtection(ctx context.Context, deps *authflow.Dependencies, flows authflow.Flows, oneOfJSONPointer jsonpointer.T, input authflow.Input) (bpSpecialErr error, err error)

func IsBotProtectionRequired

func IsBotProtectionRequired(ctx context.Context, deps *authflow.Dependencies, flows authflow.Flows, oneOfJSONPointer jsonpointer.T) (bool, error)

func IsDependentOf

func IsDependentOf(info *identity.Info) authenticator.Filter

func NewBotProtectionBodySchemaBuilder

func NewBotProtectionBodySchemaBuilder(bpCfg *config.BotProtectionConfig) validation.SchemaBuilder

func ShouldExistingResultBypassBotProtectionRequirement

func ShouldExistingResultBypassBotProtectionRequirement(ctx context.Context) bool

Types

type AccountLinkingConflict

type AccountLinkingConflict struct {
	Identity  *identity.Info              `json:"identity"`
	Action    config.AccountLinkingAction `json:"action"`
	LoginFlow string                      `json:"login_flow"`
}

type AccountLinkingIdentificationOption

type AccountLinkingIdentificationOption struct {
	Identifcation     config.AuthenticationFlowIdentification `json:"identification"`
	MaskedDisplayName string                                  `json:"masked_display_name,omitempty"`
	Action            config.AccountLinkingAction             `json:"action"`

	// ProviderType is specific to OAuth.
	ProviderType string `json:"provider_type,omitempty"`
	// Alias is specific to OAuth.
	Alias string `json:"alias,omitempty"`
}

type AccountLinkingIdentificationOptionInternal

type AccountLinkingIdentificationOptionInternal struct {
	AccountLinkingIdentificationOption
	Conflict *AccountLinkingConflict
}

type AccountLinkingIdentifyData

type AccountLinkingIdentifyData struct {
	TypedData
	Options []AccountLinkingIdentificationOption `json:"options"`
}

func (AccountLinkingIdentifyData) Data

type AccountRecoveryDestinationOption

type AccountRecoveryDestinationOption struct {
	MaskedDisplayName string                 `json:"masked_display_name"`
	Channel           AccountRecoveryChannel `json:"channel"`
	OTPForm           AccountRecoveryOTPForm `json:"otp_form"`
}

type AccountRecoveryDestinationOptionInternal

type AccountRecoveryDestinationOptionInternal struct {
	AccountRecoveryDestinationOption
	TargetLoginID string `json:"target_login_id"`
}

func (*AccountRecoveryDestinationOptionInternal) ForgotPasswordCodeChannel

func (*AccountRecoveryDestinationOptionInternal) ForgotPasswordCodeKind

type AccountRecoveryIdentificationOption

type AccountRecoveryIdentificationOption struct {
	Identification config.AuthenticationFlowAccountRecoveryIdentification `json:"identification"`
	BotProtection  *BotProtectionData                                     `json:"bot_protection,omitempty"`
}

type AccountRecoveryIdentity

type AccountRecoveryIdentity struct {
	Identification config.AuthenticationFlowAccountRecoveryIdentification
	IdentitySpec   *identity.Spec
	MaybeIdentity  *identity.Info
}

type AuthenticateOption

type AuthenticateOption struct {
	Authentication config.AuthenticationFlowAuthentication `json:"authentication"`

	BotProtection *BotProtectionData `json:"bot_protection,omitempty"`
	// OTPForm is specific to OOBOTP.
	OTPForm otp.Form `json:"otp_form,omitempty"`
	// MaskedDisplayName is specific to OOBOTP.
	MaskedDisplayName string `json:"masked_display_name,omitempty"`
	// Channels is specific to OOBOTP.
	Channels []model.AuthenticatorOOBChannel `json:"channels,omitempty"`

	// WebAuthnRequestOptions is specific to Passkey.
	RequestOptions *model.WebAuthnRequestOptions `json:"request_options,omitempty"`

	AuthenticatorID string `json:"authenticator_id,omitempty"`

	IdentityID string `json:"identity_id,omitempty"`
}

func NewAuthenticateOptionOOBOTPFromAuthenticator

func NewAuthenticateOptionOOBOTPFromAuthenticator(oobConfig *config.AuthenticatorOOBConfig, i *authenticator.Info, authflowBotProtectionCfg *config.AuthenticationFlowBotProtection, appBotProtectionConfig *config.BotProtectionConfig) (*AuthenticateOption, bool)

func NewAuthenticateOptionOOBOTPFromIdentity

func NewAuthenticateOptionOOBOTPFromIdentity(oobConfig *config.AuthenticatorOOBConfig, i *identity.Info, authflowBotProtectionCfg *config.AuthenticationFlowBotProtection, appBotProtectionConfig *config.BotProtectionConfig) (*AuthenticateOption, bool)

func NewAuthenticateOptionPasskey

func NewAuthenticateOptionPasskey(requestOptions *model.WebAuthnRequestOptions, authflowBotProtectionCfg *config.AuthenticationFlowBotProtection, appBotProtectionConfig *config.BotProtectionConfig) AuthenticateOption

func NewAuthenticateOptionPassword

func NewAuthenticateOptionPassword(am config.AuthenticationFlowAuthentication, authflowBotProtectionCfg *config.AuthenticationFlowBotProtection, appBotProtectionConfig *config.BotProtectionConfig) AuthenticateOption

func NewAuthenticateOptionRecoveryCode

func NewAuthenticateOptionRecoveryCode(authflowBotProtectionCfg *config.AuthenticationFlowBotProtection, appBotProtectionConfig *config.BotProtectionConfig) AuthenticateOption

func NewAuthenticateOptionTOTP

func NewAuthenticateOptionTOTP(authflowBotProtectionCfg *config.AuthenticationFlowBotProtection, appBotProtectionConfig *config.BotProtectionConfig) AuthenticateOption

func (*AuthenticateOption) ToOutput

type AuthenticateOptionForOutput

type AuthenticateOptionForOutput struct {
	Authentication config.AuthenticationFlowAuthentication `json:"authentication"`

	BotProtection *BotProtectionData `json:"bot_protection,omitempty"`
	// OTPForm is specific to OOBOTP.
	OTPForm otp.Form `json:"otp_form,omitempty"`
	// MaskedDisplayName is specific to OOBOTP.
	MaskedDisplayName string `json:"masked_display_name,omitempty"`
	// Channels is specific to OOBOTP.
	Channels []model.AuthenticatorOOBChannel `json:"channels,omitempty"`

	// WebAuthnRequestOptions is specific to Passkey.
	RequestOptions *model.WebAuthnRequestOptions `json:"request_options,omitempty"`
}

type BotProtectionData

type BotProtectionData struct {
	Enabled  *bool                      `json:"enabled,omitempty"`
	Provider *BotProtectionDataProvider `json:"provider,omitempty"`
}

func (*BotProtectionData) IsRequired

func (d *BotProtectionData) IsRequired() bool

type BotProtectionDataProvider

type BotProtectionDataProvider struct {
	Type config.BotProtectionProviderType `json:"type,omitempty"`
}

type CreateAuthenticatorData

type CreateAuthenticatorData struct {
	TypedData
	Options []CreateAuthenticatorOptionForOutput `json:"options,omitempty"`
}

func (CreateAuthenticatorData) Data

func (m CreateAuthenticatorData) Data()

type CreateAuthenticatorOption

type CreateAuthenticatorOption struct {
	Authentication config.AuthenticationFlowAuthentication `json:"authentication"`

	BotProtection *BotProtectionData `json:"bot_protection,omitempty"`
	// OTPForm is specific to OOBOTP.
	OTPForm otp.Form `json:"otp_form,omitempty"`
	// Channels is specific to OOBOTP.
	Channels []model.AuthenticatorOOBChannel `json:"channels,omitempty"`

	// PasswordPolicy is specific to primary_password and secondary_password.
	PasswordPolicy *PasswordPolicy `json:"password_policy,omitempty"`

	// Target is specific to primary_oob_otp_email, primary_oob_otp_sms, secondary_oob_otp_email, secondary_oob_otp_sms.
	Target *CreateAuthenticatorTarget `json:"target,omitempty"`
}

func (*CreateAuthenticatorOption) ToOutput

type CreateAuthenticatorOptionForOutput

type CreateAuthenticatorOptionForOutput struct {
	Authentication config.AuthenticationFlowAuthentication `json:"authentication"`

	BotProtection *BotProtectionData `json:"bot_protection,omitempty"`
	// OTPForm is specific to OOBOTP.
	OTPForm otp.Form `json:"otp_form,omitempty"`
	// Channels is specific to OOBOTP.
	Channels []model.AuthenticatorOOBChannel `json:"channels,omitempty"`

	// PasswordPolicy is specific to primary_password and secondary_password.
	PasswordPolicy *PasswordPolicy `json:"password_policy,omitempty"`

	// Target is specific to primary_oob_otp_email, primary_oob_otp_sms, secondary_oob_otp_email, secondary_oob_otp_sms.
	Target *CreateAuthenticatorTarget `json:"target,omitempty"`
}

type CreateAuthenticatorOptionInternal

type CreateAuthenticatorOptionInternal struct {
	CreateAuthenticatorOption
	UnmaskedTarget string
}

type CreateAuthenticatorTarget

type CreateAuthenticatorTarget struct {
	MaskedDisplayName    string `json:"masked_display_name"`
	VerificationRequired bool   `json:"verification_required"`
}

type CreateIdentityRequest

type CreateIdentityRequest struct {
	Type model.IdentityType `json:"type,omitempty"`

	LoginID *CreateIdentityRequestLoginID `json:"login_id,omitempty"`
	OAuth   *CreateIdentityRequestOAuth   `json:"oauth,omitempty"`
	LDAP    *CreateIdentityRequestLDAP    `json:"ldap,omitempty"`
}

func NewCreateLDAPIdentityRequest

func NewCreateLDAPIdentityRequest(spec *identity.Spec) *CreateIdentityRequest

func NewCreateLoginIDIdentityRequest

func NewCreateLoginIDIdentityRequest(spec *identity.Spec) *CreateIdentityRequest

func NewCreateOAuthIdentityRequest

func NewCreateOAuthIdentityRequest(alias string, spec *identity.Spec) *CreateIdentityRequest

type CreateIdentityRequestLDAP

type CreateIdentityRequestLDAP struct {
	Spec *identity.Spec `json:"spec,omitempty"`
}

type CreateIdentityRequestLoginID

type CreateIdentityRequestLoginID struct {
	Spec *identity.Spec `json:"spec,omitempty"`
}

type CreateIdentityRequestOAuth

type CreateIdentityRequestOAuth struct {
	Alias string         `json:"alias,omitempty"`
	Spec  *identity.Spec `json:"spec,omitempty"`
}

type DataType

type DataType string
const (
	DataTypeIdentificationData                   DataType = "identification_data"
	DataTypeAuthenticationData                   DataType = "authentication_data"
	DataTypeOAuthData                            DataType = "oauth_data"
	DataTypeCreateAuthenticatorData              DataType = "create_authenticator_data"
	DataTypeViewRecoveryCodeData                 DataType = "view_recovery_code_data"
	DataTypeSelectOOBOTPChannelsData             DataType = "select_oob_otp_channels_data"
	DataTypeVerifyOOBOTPData                     DataType = "verify_oob_otp_data"
	DataTypeCreatePasskeyData                    DataType = "create_passkey_data"
	DataTypeCreateTOTPData                       DataType = "create_totp_data"
	DataTypeNewPasswordData                      DataType = "new_password_data"
	DataTypeAccountRecoveryIdentificationData    DataType = "account_recovery_identification_data"
	DataTypeAccountRecoverySelectDestinationData DataType = "account_recovery_select_destination_data"
	DataTypeAccountRecoveryVerifyCodeData        DataType = "account_recovery_verify_code_data"
	DataTypeAccountLinkingIdentificationData     DataType = "account_linking_identification_data"
)

type ForceChangePasswordData

type ForceChangePasswordData struct {
	TypedData
	PasswordPolicy    *PasswordPolicy       `json:"password_policy,omitempty"`
	ForceChangeReason *PasswordChangeReason `json:"force_change_reason,omitempty"`
}

func (ForceChangePasswordData) Data

func (ForceChangePasswordData) Data()

type GetOAuthDataOptions

type GetOAuthDataOptions struct {
	RedirectURI  string
	Alias        string
	ResponseMode string
}

type HandleOAuthAuthorizationResponseOptions

type HandleOAuthAuthorizationResponseOptions struct {
	Alias       string
	RedirectURI string
}

type IdentificationData

type IdentificationData struct {
	TypedData
	Options []IdentificationOption `json:"options"`
}

func NewIdentificationData

func NewIdentificationData(d IdentificationData) IdentificationData

func (IdentificationData) Data

func (IdentificationData) Data()

type IdentificationOption

type IdentificationOption struct {
	Identification config.AuthenticationFlowIdentification `json:"identification"`

	BotProtection *BotProtectionData `json:"bot_protection,omitempty"`
	// ProviderType is specific to OAuth.
	ProviderType string `json:"provider_type,omitempty"`
	// Alias is specific to OAuth.
	Alias string `json:"alias,omitempty"`
	// WechatAppType is specific to OAuth.
	WechatAppType wechat.AppType `json:"wechat_app_type,omitempty"`

	// WebAuthnRequestOptions is specific to Passkey.
	RequestOptions *model.WebAuthnRequestOptions `json:"request_options,omitempty"`

	// Server is specific to LDAP
	ServerName string `json:"server_name,omitempty"`
}

func NewIdentificationOptionLDAP

func NewIdentificationOptionLDAP(ldapConfig *config.LDAPConfig, authflowCfg *config.AuthenticationFlowBotProtection, appCfg *config.BotProtectionConfig) []IdentificationOption

type InputAccountLinkingIdentification

type InputAccountLinkingIdentification struct {
	Index int `json:"index,omitempty"`

	RedirectURI  string `json:"redirect_uri,omitempty"`
	ResponseMode string `json:"response_mode,omitempty"`
}

func (*InputAccountLinkingIdentification) GetAccountLinkingIdentificationIndex

func (i *InputAccountLinkingIdentification) GetAccountLinkingIdentificationIndex() int

func (*InputAccountLinkingIdentification) GetAccountLinkingOAuthRedirectURI

func (i *InputAccountLinkingIdentification) GetAccountLinkingOAuthRedirectURI() string

func (*InputAccountLinkingIdentification) GetAccountLinkingOAuthResponseMode

func (i *InputAccountLinkingIdentification) GetAccountLinkingOAuthResponseMode() string

func (*InputAccountLinkingIdentification) Input

type InputConfirmRecoveryCode

type InputConfirmRecoveryCode struct {
	JSONPointer    jsonpointer.T
	FlowRootObject config.AuthenticationFlowObject
}

func (*InputConfirmRecoveryCode) ConfirmRecoveryCode

func (*InputConfirmRecoveryCode) ConfirmRecoveryCode()

func (*InputConfirmRecoveryCode) GetFlowRootObject

func (*InputConfirmRecoveryCode) GetJSONPointer

func (i *InputConfirmRecoveryCode) GetJSONPointer() jsonpointer.T

func (*InputConfirmRecoveryCode) Input

func (*InputConfirmRecoveryCode) Input()

func (*InputConfirmRecoveryCode) MakeInput

func (i *InputConfirmRecoveryCode) MakeInput(rawMessage json.RawMessage) (authflow.Input, error)

func (*InputConfirmRecoveryCode) SchemaBuilder

type InputConfirmTerminateOtherSessions

type InputConfirmTerminateOtherSessions struct {
	JSONPointer    jsonpointer.T
	FlowRootObject config.AuthenticationFlowObject
}

func (*InputConfirmTerminateOtherSessions) ConfirmTerminateOtherSessions

func (*InputConfirmTerminateOtherSessions) ConfirmTerminateOtherSessions()

func (*InputConfirmTerminateOtherSessions) GetFlowRootObject

func (*InputConfirmTerminateOtherSessions) GetJSONPointer

func (i *InputConfirmTerminateOtherSessions) GetJSONPointer() jsonpointer.T

func (*InputConfirmTerminateOtherSessions) Input

func (*InputConfirmTerminateOtherSessions) MakeInput

func (*InputConfirmTerminateOtherSessions) SchemaBuilder

type InputCreateDeviceToken

type InputCreateDeviceToken struct {
	RequestDeviceToken bool `json:"request_device_token,omitempty"`
}

func (*InputCreateDeviceToken) GetDeviceTokenRequested

func (i *InputCreateDeviceToken) GetDeviceTokenRequested() bool

func (*InputCreateDeviceToken) Input

func (*InputCreateDeviceToken) Input()

type InputFillInUserProfile

type InputFillInUserProfile struct {
	Attributes []attrs.T `json:"attributes,omitempty"`
}

func (*InputFillInUserProfile) GetAttributes

func (i *InputFillInUserProfile) GetAttributes() []attrs.T

func (*InputFillInUserProfile) Input

func (i *InputFillInUserProfile) Input()

type InputLoginFlowStepAuthenticate

type InputLoginFlowStepAuthenticate struct {
	Authentication     config.AuthenticationFlowAuthentication `json:"authentication,omitempty"`
	RequestDeviceToken bool                                    `json:"request_device_token,omitempty"`
	Password           string                                  `json:"password,omitempty"`
	Code               string                                  `json:"code,omitempty"`
	RecoveryCode       string                                  `json:"recovery_code,omitempty"`
	Index              int                                     `json:"index,omitempty"`
	Channel            model.AuthenticatorOOBChannel           `json:"channel,omitempty"`
	BotProtection      *InputTakeBotProtectionBody             `json:"bot_protection,omitempty"`
}

func (*InputLoginFlowStepAuthenticate) GetAuthenticationMethod

func (*InputLoginFlowStepAuthenticate) GetBotProtectionProvider

func (i *InputLoginFlowStepAuthenticate) GetBotProtectionProvider() *InputTakeBotProtectionBody

func (*InputLoginFlowStepAuthenticate) GetBotProtectionProviderResponse

func (i *InputLoginFlowStepAuthenticate) GetBotProtectionProviderResponse() string

func (*InputLoginFlowStepAuthenticate) GetBotProtectionProviderType

func (i *InputLoginFlowStepAuthenticate) GetBotProtectionProviderType() config.BotProtectionProviderType

func (*InputLoginFlowStepAuthenticate) GetChannel

func (*InputLoginFlowStepAuthenticate) GetCode

func (*InputLoginFlowStepAuthenticate) GetDeviceTokenRequested

func (i *InputLoginFlowStepAuthenticate) GetDeviceTokenRequested() bool

func (*InputLoginFlowStepAuthenticate) GetIndex

func (i *InputLoginFlowStepAuthenticate) GetIndex() int

func (*InputLoginFlowStepAuthenticate) GetPassword

func (i *InputLoginFlowStepAuthenticate) GetPassword() string

func (*InputLoginFlowStepAuthenticate) GetRecoveryCode

func (i *InputLoginFlowStepAuthenticate) GetRecoveryCode() string

func (*InputLoginFlowStepAuthenticate) Input

type InputLoginFlowStepCreateAuthenticator

type InputLoginFlowStepCreateAuthenticator struct {
	Authentication config.AuthenticationFlowAuthentication `json:"authentication,omitempty"`
	NewPassword    string                                  `json:"new_password,omitempty"`
	Target         string                                  `json:"target,omitempty"`
}

func (*InputLoginFlowStepCreateAuthenticator) GetAuthenticationMethod

func (*InputLoginFlowStepCreateAuthenticator) GetNewPassword

func (i *InputLoginFlowStepCreateAuthenticator) GetNewPassword() string

func (*InputLoginFlowStepCreateAuthenticator) GetTarget

func (*InputLoginFlowStepCreateAuthenticator) Input

type InputNodeAuthenticationOOB

type InputNodeAuthenticationOOB struct {
	Code               string `json:"code,omitempty"`
	Resend             bool   `json:"resend,omitempty"`
	Check              bool   `json:"check,omitempty"`
	RequestDeviceToken bool   `json:"request_device_token,omitempty"`
}

func (*InputNodeAuthenticationOOB) GetCode

func (i *InputNodeAuthenticationOOB) GetCode() string

func (*InputNodeAuthenticationOOB) GetDeviceTokenRequested

func (i *InputNodeAuthenticationOOB) GetDeviceTokenRequested() bool

func (*InputNodeAuthenticationOOB) Input

func (*InputNodeAuthenticationOOB) Input()

func (*InputNodeAuthenticationOOB) IsCheck

func (i *InputNodeAuthenticationOOB) IsCheck() bool

func (*InputNodeAuthenticationOOB) IsCode

func (i *InputNodeAuthenticationOOB) IsCode() bool

func (*InputNodeAuthenticationOOB) IsResend

func (i *InputNodeAuthenticationOOB) IsResend() bool

type InputNodeVerifyClaim

type InputNodeVerifyClaim struct {
	Code               string `json:"code,omitempty"`
	Resend             bool   `json:"resend,omitempty"`
	Check              bool   `json:"check,omitempty"`
	RequestDeviceToken bool   `json:"request_device_token,omitempty"`
}

func (*InputNodeVerifyClaim) GetCode

func (i *InputNodeVerifyClaim) GetCode() string

func (*InputNodeVerifyClaim) GetDeviceTokenRequested

func (i *InputNodeVerifyClaim) GetDeviceTokenRequested() bool

func (*InputNodeVerifyClaim) Input

func (*InputNodeVerifyClaim) Input()

func (*InputNodeVerifyClaim) IsCheck

func (i *InputNodeVerifyClaim) IsCheck() bool

func (*InputNodeVerifyClaim) IsCode

func (i *InputNodeVerifyClaim) IsCode() bool

func (*InputNodeVerifyClaim) IsResend

func (i *InputNodeVerifyClaim) IsResend() bool

type InputPromptCreatePasskey

type InputPromptCreatePasskey struct {
	Skip             bool                                 `json:"skip,omitempty"`
	CreationResponse *protocol.CredentialCreationResponse `json:"creation_response,omitempty"`
}

func (*InputPromptCreatePasskey) GetCreationResponse

func (*InputPromptCreatePasskey) Input

func (*InputPromptCreatePasskey) Input()

func (*InputPromptCreatePasskey) IsCreationResponse

func (i *InputPromptCreatePasskey) IsCreationResponse() bool

func (*InputPromptCreatePasskey) IsSkip

func (i *InputPromptCreatePasskey) IsSkip() bool

type InputReauthFlowStepAuthenticate

type InputReauthFlowStepAuthenticate struct {
	Authentication config.AuthenticationFlowAuthentication `json:"authentication,omitempty"`
	Password       string                                  `json:"password,omitempty"`
	Code           string                                  `json:"code,omitempty"`
	Index          int                                     `json:"index,omitempty"`
	Channel        model.AuthenticatorOOBChannel           `json:"channel,omitempty"`
}

func (*InputReauthFlowStepAuthenticate) GetAuthenticationMethod

func (*InputReauthFlowStepAuthenticate) GetChannel

func (*InputReauthFlowStepAuthenticate) GetCode

func (*InputReauthFlowStepAuthenticate) GetIndex

func (i *InputReauthFlowStepAuthenticate) GetIndex() int

func (*InputReauthFlowStepAuthenticate) GetPassword

func (i *InputReauthFlowStepAuthenticate) GetPassword() string

func (*InputReauthFlowStepAuthenticate) Input

type InputSchemaAccountLinkingIdentification

type InputSchemaAccountLinkingIdentification struct {
	JSONPointer    jsonpointer.T
	FlowRootObject config.AuthenticationFlowObject
	Options        []AccountLinkingIdentificationOptionInternal
}

func (*InputSchemaAccountLinkingIdentification) GetFlowRootObject

func (*InputSchemaAccountLinkingIdentification) GetJSONPointer

func (*InputSchemaAccountLinkingIdentification) MakeInput

func (*InputSchemaAccountLinkingIdentification) SchemaBuilder

type InputSchemaCreateDeviceToken

type InputSchemaCreateDeviceToken struct {
	JSONPointer    jsonpointer.T
	FlowRootObject config.AuthenticationFlowObject
}

func (*InputSchemaCreateDeviceToken) GetFlowRootObject

func (*InputSchemaCreateDeviceToken) GetJSONPointer

func (i *InputSchemaCreateDeviceToken) GetJSONPointer() jsonpointer.T

func (*InputSchemaCreateDeviceToken) MakeInput

func (i *InputSchemaCreateDeviceToken) MakeInput(rawMessage json.RawMessage) (authflow.Input, error)

func (*InputSchemaCreateDeviceToken) SchemaBuilder

type InputSchemaFillInUserProfile

type InputSchemaFillInUserProfile struct {
	JSONPointer      jsonpointer.T
	FlowRootObject   config.AuthenticationFlowObject
	Attributes       []*config.AuthenticationFlowSignupFlowUserProfile
	CustomAttributes []*config.CustomAttributesAttributeConfig
}

func (*InputSchemaFillInUserProfile) GetFlowRootObject

func (*InputSchemaFillInUserProfile) GetJSONPointer

func (s *InputSchemaFillInUserProfile) GetJSONPointer() jsonpointer.T

func (*InputSchemaFillInUserProfile) MakeInput

func (s *InputSchemaFillInUserProfile) MakeInput(rawMessage json.RawMessage) (authflow.Input, error)

func (*InputSchemaFillInUserProfile) SchemaBuilder

type InputSchemaLoginFlowStepAuthenticate

type InputSchemaLoginFlowStepAuthenticate struct {
	JSONPointer               jsonpointer.T
	FlowRootObject            config.AuthenticationFlowObject
	Options                   []AuthenticateOption
	DeviceTokenEnabled        bool
	ShouldBypassBotProtection bool
	BotProtectionCfg          *config.BotProtectionConfig
}

func (*InputSchemaLoginFlowStepAuthenticate) GetFlowRootObject

func (*InputSchemaLoginFlowStepAuthenticate) GetJSONPointer

func (*InputSchemaLoginFlowStepAuthenticate) MakeInput

func (*InputSchemaLoginFlowStepAuthenticate) SchemaBuilder

type InputSchemaLoginFlowStepCreateAuthenticator

type InputSchemaLoginFlowStepCreateAuthenticator struct {
	JSONPointer    jsonpointer.T
	FlowRootObject config.AuthenticationFlowObject
	OneOf          []*config.AuthenticationFlowLoginFlowOneOf
}

func (*InputSchemaLoginFlowStepCreateAuthenticator) GetFlowRootObject

func (*InputSchemaLoginFlowStepCreateAuthenticator) GetJSONPointer

func (*InputSchemaLoginFlowStepCreateAuthenticator) MakeInput

func (*InputSchemaLoginFlowStepCreateAuthenticator) SchemaBuilder

type InputSchemaNodeAuthenticationOOB

type InputSchemaNodeAuthenticationOOB struct {
	JSONPointer    jsonpointer.T
	FlowRootObject config.AuthenticationFlowObject
	OTPForm        otp.Form
}

func (*InputSchemaNodeAuthenticationOOB) GetFlowRootObject

func (*InputSchemaNodeAuthenticationOOB) GetJSONPointer

func (i *InputSchemaNodeAuthenticationOOB) GetJSONPointer() jsonpointer.T

func (*InputSchemaNodeAuthenticationOOB) MakeInput

func (*InputSchemaNodeAuthenticationOOB) SchemaBuilder

type InputSchemaNodeVerifyClaim

type InputSchemaNodeVerifyClaim struct {
	JSONPointer    jsonpointer.T
	FlowRootObject config.AuthenticationFlowObject
	OTPForm        otp.Form
}

func (*InputSchemaNodeVerifyClaim) GetFlowRootObject

func (*InputSchemaNodeVerifyClaim) GetJSONPointer

func (i *InputSchemaNodeVerifyClaim) GetJSONPointer() jsonpointer.T

func (*InputSchemaNodeVerifyClaim) MakeInput

func (i *InputSchemaNodeVerifyClaim) MakeInput(rawMessage json.RawMessage) (authflow.Input, error)

func (*InputSchemaNodeVerifyClaim) SchemaBuilder

type InputSchemaPromptCreatePasskey

type InputSchemaPromptCreatePasskey struct {
	JSONPointer    jsonpointer.T
	FlowRootObject config.AuthenticationFlowObject
}

func (*InputSchemaPromptCreatePasskey) GetFlowRootObject

func (*InputSchemaPromptCreatePasskey) GetJSONPointer

func (i *InputSchemaPromptCreatePasskey) GetJSONPointer() jsonpointer.T

func (*InputSchemaPromptCreatePasskey) MakeInput

func (i *InputSchemaPromptCreatePasskey) MakeInput(rawMessage json.RawMessage) (authflow.Input, error)

func (*InputSchemaPromptCreatePasskey) SchemaBuilder

type InputSchemaReauthFlowStepAuthenticate

type InputSchemaReauthFlowStepAuthenticate struct {
	JSONPointer               jsonpointer.T
	FlowRootObject            config.AuthenticationFlowObject
	Options                   []AuthenticateOption
	ShouldBypassBotProtection bool
	BotProtectionCfg          *config.BotProtectionConfig
}

func (*InputSchemaReauthFlowStepAuthenticate) GetFlowRootObject

func (*InputSchemaReauthFlowStepAuthenticate) GetJSONPointer

func (*InputSchemaReauthFlowStepAuthenticate) MakeInput

func (*InputSchemaReauthFlowStepAuthenticate) SchemaBuilder

type InputSchemaSetupTOTP

type InputSchemaSetupTOTP struct {
	JSONPointer    jsonpointer.T
	FlowRootObject config.AuthenticationFlowObject
}

func (*InputSchemaSetupTOTP) GetFlowRootObject

func (i *InputSchemaSetupTOTP) GetFlowRootObject() config.AuthenticationFlowObject

func (*InputSchemaSetupTOTP) GetJSONPointer

func (i *InputSchemaSetupTOTP) GetJSONPointer() jsonpointer.T

func (*InputSchemaSetupTOTP) MakeInput

func (i *InputSchemaSetupTOTP) MakeInput(rawMessage json.RawMessage) (authflow.Input, error)

func (*InputSchemaSetupTOTP) SchemaBuilder

func (i *InputSchemaSetupTOTP) SchemaBuilder() validation.SchemaBuilder

type InputSchemaSignupFlowStepCreateAuthenticator

type InputSchemaSignupFlowStepCreateAuthenticator struct {
	JSONPointer               jsonpointer.T
	FlowRootObject            config.AuthenticationFlowObject
	Options                   []CreateAuthenticatorOption
	ShouldBypassBotProtection bool
	BotProtectionCfg          *config.BotProtectionConfig
}

func (*InputSchemaSignupFlowStepCreateAuthenticator) GetFlowRootObject

func (*InputSchemaSignupFlowStepCreateAuthenticator) GetJSONPointer

func (*InputSchemaSignupFlowStepCreateAuthenticator) MakeInput

func (*InputSchemaSignupFlowStepCreateAuthenticator) SchemaBuilder

type InputSchemaStepAccountRecoveryIdentify

type InputSchemaStepAccountRecoveryIdentify struct {
	JSONPointer               jsonpointer.T
	FlowRootObject            config.AuthenticationFlowObject
	Options                   []AccountRecoveryIdentificationOption
	ShouldBypassBotProtection bool
	BotProtectionCfg          *config.BotProtectionConfig
}

func (*InputSchemaStepAccountRecoveryIdentify) GetFlowRootObject

func (*InputSchemaStepAccountRecoveryIdentify) GetJSONPointer

func (*InputSchemaStepAccountRecoveryIdentify) MakeInput

func (*InputSchemaStepAccountRecoveryIdentify) SchemaBuilder

type InputSchemaStepAccountRecoverySelectDestination

type InputSchemaStepAccountRecoverySelectDestination struct {
	JSONPointer    jsonpointer.T
	FlowRootObject config.AuthenticationFlowObject
	Options        []AccountRecoveryDestinationOption
}

func (*InputSchemaStepAccountRecoverySelectDestination) GetFlowRootObject

func (*InputSchemaStepAccountRecoverySelectDestination) GetJSONPointer

func (*InputSchemaStepAccountRecoverySelectDestination) MakeInput

func (*InputSchemaStepAccountRecoverySelectDestination) SchemaBuilder

type InputSchemaStepAccountRecoveryVerifyCode

type InputSchemaStepAccountRecoveryVerifyCode struct {
	JSONPointer    jsonpointer.T
	FlowRootObject config.AuthenticationFlowObject
}

func (*InputSchemaStepAccountRecoveryVerifyCode) GetFlowRootObject

func (*InputSchemaStepAccountRecoveryVerifyCode) GetJSONPointer

func (*InputSchemaStepAccountRecoveryVerifyCode) MakeInput

func (*InputSchemaStepAccountRecoveryVerifyCode) SchemaBuilder

type InputSchemaStepIdentify

type InputSchemaStepIdentify struct {
	JSONPointer               jsonpointer.T
	FlowRootObject            config.AuthenticationFlowObject
	Options                   []IdentificationOption
	ShouldBypassBotProtection bool
	BotProtectionCfg          *config.BotProtectionConfig
}

func (*InputSchemaStepIdentify) GetFlowRootObject

func (*InputSchemaStepIdentify) GetJSONPointer

func (i *InputSchemaStepIdentify) GetJSONPointer() jsonpointer.T

func (*InputSchemaStepIdentify) MakeInput

func (i *InputSchemaStepIdentify) MakeInput(rawMessage json.RawMessage) (authflow.Input, error)

func (*InputSchemaStepIdentify) SchemaBuilder

type InputSchemaTakeBotProtection

type InputSchemaTakeBotProtection struct {
	JSONPointer      jsonpointer.T
	FlowRootObject   config.AuthenticationFlowObject
	BotProtectionCfg *config.BotProtectionConfig
}

func (*InputSchemaTakeBotProtection) GetFlowRootObject

func (*InputSchemaTakeBotProtection) GetJSONPointer

func (i *InputSchemaTakeBotProtection) GetJSONPointer() jsonpointer.T

func (*InputSchemaTakeBotProtection) MakeInput

func (i *InputSchemaTakeBotProtection) MakeInput(rawMessage json.RawMessage) (authflow.Input, error)

func (*InputSchemaTakeBotProtection) SchemaBuilder

type InputSchemaTakeIDToken

type InputSchemaTakeIDToken struct {
	JSONPointer    jsonpointer.T
	FlowRootObject config.AuthenticationFlowObject
}

func (*InputSchemaTakeIDToken) GetFlowRootObject

func (*InputSchemaTakeIDToken) GetJSONPointer

func (i *InputSchemaTakeIDToken) GetJSONPointer() jsonpointer.T

func (*InputSchemaTakeIDToken) MakeInput

func (i *InputSchemaTakeIDToken) MakeInput(rawMessage json.RawMessage) (authflow.Input, error)

func (*InputSchemaTakeIDToken) SchemaBuilder

type InputSchemaTakeLDAP

type InputSchemaTakeLDAP struct {
	JSONPointer    jsonpointer.T
	FlowRootObject config.AuthenticationFlowObject
}

func (*InputSchemaTakeLDAP) GetFlowRootObject

func (i *InputSchemaTakeLDAP) GetFlowRootObject() config.AuthenticationFlowObject

func (*InputSchemaTakeLDAP) GetJSONPointer

func (i *InputSchemaTakeLDAP) GetJSONPointer() jsonpointer.T

func (*InputSchemaTakeLDAP) MakeInput

func (i *InputSchemaTakeLDAP) MakeInput(rawMessage json.RawMessage) (authflow.Input, error)

func (*InputSchemaTakeLDAP) SchemaBuilder

func (i *InputSchemaTakeLDAP) SchemaBuilder() validation.SchemaBuilder

type InputSchemaTakeLoginID

type InputSchemaTakeLoginID struct {
	JSONPointer             jsonpointer.T
	FlowRootObject          config.AuthenticationFlowObject
	IsBotProtectionRequired bool
	BotProtectionCfg        *config.BotProtectionConfig
}

func (*InputSchemaTakeLoginID) GetFlowRootObject

func (*InputSchemaTakeLoginID) GetJSONPointer

func (i *InputSchemaTakeLoginID) GetJSONPointer() jsonpointer.T

func (*InputSchemaTakeLoginID) MakeInput

func (i *InputSchemaTakeLoginID) MakeInput(rawMessage json.RawMessage) (authflow.Input, error)

func (*InputSchemaTakeLoginID) SchemaBuilder

func (i *InputSchemaTakeLoginID) SchemaBuilder() validation.SchemaBuilder

type InputSchemaTakeNewPassword

type InputSchemaTakeNewPassword struct {
	JSONPointer    jsonpointer.T
	FlowRootObject config.AuthenticationFlowObject
}

func (*InputSchemaTakeNewPassword) GetFlowRootObject

func (*InputSchemaTakeNewPassword) GetJSONPointer

func (i *InputSchemaTakeNewPassword) GetJSONPointer() jsonpointer.T

func (*InputSchemaTakeNewPassword) MakeInput

func (i *InputSchemaTakeNewPassword) MakeInput(rawMessage json.RawMessage) (authflow.Input, error)

func (*InputSchemaTakeNewPassword) SchemaBuilder

type InputSchemaTakeOAuthAuthorizationRequest

type InputSchemaTakeOAuthAuthorizationRequest struct {
	JSONPointer             jsonpointer.T
	FlowRootObject          config.AuthenticationFlowObject
	OAuthOptions            []IdentificationOption
	IsBotProtectionRequired bool
	BotProtectionCfg        *config.BotProtectionConfig
}

func (*InputSchemaTakeOAuthAuthorizationRequest) GetFlowRootObject

func (*InputSchemaTakeOAuthAuthorizationRequest) GetJSONPointer

func (*InputSchemaTakeOAuthAuthorizationRequest) MakeInput

func (*InputSchemaTakeOAuthAuthorizationRequest) SchemaBuilder

type InputSchemaTakeOAuthAuthorizationResponse

type InputSchemaTakeOAuthAuthorizationResponse struct {
	JSONPointer    jsonpointer.T
	FlowRootObject config.AuthenticationFlowObject
}

func (*InputSchemaTakeOAuthAuthorizationResponse) GetFlowRootObject

func (*InputSchemaTakeOAuthAuthorizationResponse) GetJSONPointer

func (*InputSchemaTakeOAuthAuthorizationResponse) MakeInput

func (*InputSchemaTakeOAuthAuthorizationResponse) SchemaBuilder

type InputSchemaTakeOOBOTPChannel

type InputSchemaTakeOOBOTPChannel struct {
	JSONPointer    jsonpointer.T
	FlowRootObject config.AuthenticationFlowObject
	Channels       []model.AuthenticatorOOBChannel
}

func (*InputSchemaTakeOOBOTPChannel) GetFlowRootObject

func (*InputSchemaTakeOOBOTPChannel) GetJSONPointer

func (s *InputSchemaTakeOOBOTPChannel) GetJSONPointer() jsonpointer.T

func (*InputSchemaTakeOOBOTPChannel) MakeInput

func (s *InputSchemaTakeOOBOTPChannel) MakeInput(rawMessage json.RawMessage) (authflow.Input, error)

func (*InputSchemaTakeOOBOTPChannel) SchemaBuilder

type InputSchemaTakeOOBOTPTarget

type InputSchemaTakeOOBOTPTarget struct {
	JSONPointer             jsonpointer.T
	FlowRootObject          config.AuthenticationFlowObject
	IsBotProtectionRequired bool
	BotProtectionCfg        *config.BotProtectionConfig
}

func (*InputSchemaTakeOOBOTPTarget) GetFlowRootObject

func (*InputSchemaTakeOOBOTPTarget) GetJSONPointer

func (i *InputSchemaTakeOOBOTPTarget) GetJSONPointer() jsonpointer.T

func (*InputSchemaTakeOOBOTPTarget) MakeInput

func (i *InputSchemaTakeOOBOTPTarget) MakeInput(rawMessage json.RawMessage) (authflow.Input, error)

func (*InputSchemaTakeOOBOTPTarget) SchemaBuilder

type InputSchemaTakePasskeyAssertionResponse

type InputSchemaTakePasskeyAssertionResponse struct {
	JSONPointer             jsonpointer.T
	FlowRootObject          config.AuthenticationFlowObject
	IsBotProtectionRequired bool
	BotProtectionCfg        *config.BotProtectionConfig
}

func (*InputSchemaTakePasskeyAssertionResponse) GetFlowRootObject

func (*InputSchemaTakePasskeyAssertionResponse) GetJSONPointer

func (*InputSchemaTakePasskeyAssertionResponse) MakeInput

func (*InputSchemaTakePasskeyAssertionResponse) SchemaBuilder

type InputSchemaTakePassword

type InputSchemaTakePassword struct {
	JSONPointer             jsonpointer.T
	FlowRootObject          config.AuthenticationFlowObject
	IsBotProtectionRequired bool
	BotProtectionCfg        *config.BotProtectionConfig
}

func (*InputSchemaTakePassword) GetFlowRootObject

func (*InputSchemaTakePassword) GetJSONPointer

func (i *InputSchemaTakePassword) GetJSONPointer() jsonpointer.T

func (*InputSchemaTakePassword) MakeInput

func (i *InputSchemaTakePassword) MakeInput(rawMessage json.RawMessage) (authflow.Input, error)

func (*InputSchemaTakePassword) SchemaBuilder

type InputSchemaTakeRecoveryCode

type InputSchemaTakeRecoveryCode struct {
	JSONPointer             jsonpointer.T
	FlowRootObject          config.AuthenticationFlowObject
	IsBotProtectionRequired bool
	BotProtectionCfg        *config.BotProtectionConfig
}

func (*InputSchemaTakeRecoveryCode) GetFlowRootObject

func (*InputSchemaTakeRecoveryCode) GetJSONPointer

func (i *InputSchemaTakeRecoveryCode) GetJSONPointer() jsonpointer.T

func (*InputSchemaTakeRecoveryCode) MakeInput

func (i *InputSchemaTakeRecoveryCode) MakeInput(rawMessage json.RawMessage) (authflow.Input, error)

func (*InputSchemaTakeRecoveryCode) SchemaBuilder

type InputSchemaTakeTOTP

type InputSchemaTakeTOTP struct {
	JSONPointer             jsonpointer.T
	FlowRootObject          config.AuthenticationFlowObject
	IsBotProtectionRequired bool
	BotProtectionCfg        *config.BotProtectionConfig
}

func (*InputSchemaTakeTOTP) GetFlowRootObject

func (i *InputSchemaTakeTOTP) GetFlowRootObject() config.AuthenticationFlowObject

func (*InputSchemaTakeTOTP) GetJSONPointer

func (i *InputSchemaTakeTOTP) GetJSONPointer() jsonpointer.T

func (*InputSchemaTakeTOTP) MakeInput

func (i *InputSchemaTakeTOTP) MakeInput(rawMessage json.RawMessage) (authflow.Input, error)

func (*InputSchemaTakeTOTP) SchemaBuilder

func (i *InputSchemaTakeTOTP) SchemaBuilder() validation.SchemaBuilder

type InputSchemaUseAuthenticatorOOBOTP

type InputSchemaUseAuthenticatorOOBOTP struct {
	JSONPointer               jsonpointer.T
	FlowRootObject            config.AuthenticationFlowObject
	Options                   []AuthenticateOption
	ShouldBypassBotProtection bool
	BotProtectionCfg          *config.BotProtectionConfig
}

func (*InputSchemaUseAuthenticatorOOBOTP) GetFlowRootObject

func (*InputSchemaUseAuthenticatorOOBOTP) GetJSONPointer

func (i *InputSchemaUseAuthenticatorOOBOTP) GetJSONPointer() jsonpointer.T

func (*InputSchemaUseAuthenticatorOOBOTP) MakeInput

func (*InputSchemaUseAuthenticatorOOBOTP) SchemaBuilder

type InputSetupTOTP

type InputSetupTOTP struct {
	Code string `json:"code,omitempty"`
}

func (*InputSetupTOTP) GetCode

func (i *InputSetupTOTP) GetCode() string

func (*InputSetupTOTP) Input

func (*InputSetupTOTP) Input()

type InputSignupFlowStepCreateAuthenticator

type InputSignupFlowStepCreateAuthenticator struct {
	Authentication config.AuthenticationFlowAuthentication `json:"authentication,omitempty"`
	NewPassword    string                                  `json:"new_password,omitempty"`
	Target         string                                  `json:"target,omitempty"`

	BotProtection *InputTakeBotProtectionBody `json:"bot_protection,omitempty"`
}

func (*InputSignupFlowStepCreateAuthenticator) GetAuthenticationMethod

func (*InputSignupFlowStepCreateAuthenticator) GetBotProtectionProvider

func (*InputSignupFlowStepCreateAuthenticator) GetBotProtectionProviderResponse

func (i *InputSignupFlowStepCreateAuthenticator) GetBotProtectionProviderResponse() string

func (*InputSignupFlowStepCreateAuthenticator) GetBotProtectionProviderType

func (*InputSignupFlowStepCreateAuthenticator) GetNewPassword

func (i *InputSignupFlowStepCreateAuthenticator) GetNewPassword() string

func (*InputSignupFlowStepCreateAuthenticator) GetTarget

func (*InputSignupFlowStepCreateAuthenticator) Input

type InputStepAccountRecoveryIdentify

type InputStepAccountRecoveryIdentify struct {
	Identification config.AuthenticationFlowAccountRecoveryIdentification `json:"identification,omitempty"`

	LoginID string `json:"login,omitempty"`
}

func (*InputStepAccountRecoveryIdentify) GetAccountRecoveryIdentificationMethod

func (*InputStepAccountRecoveryIdentify) GetLoginID

func (i *InputStepAccountRecoveryIdentify) GetLoginID() string

func (*InputStepAccountRecoveryIdentify) Input

type InputStepAccountRecoverySelectDestination

type InputStepAccountRecoverySelectDestination struct {
	Index int `json:"index,omitempty"`
}

func (*InputStepAccountRecoverySelectDestination) GetAccountRecoveryDestinationOptionIndex

func (i *InputStepAccountRecoverySelectDestination) GetAccountRecoveryDestinationOptionIndex() int

func (*InputStepAccountRecoverySelectDestination) Input

type InputStepAccountRecoveryVerifyCode

type InputStepAccountRecoveryVerifyCode struct {
	AccountRecoveryCode string `json:"account_recovery_code,omitempty"`
	Resend              bool   `json:"resend,omitempty"`
	Check               bool   `json:"check,omitempty"`
	RequestDeviceToken  bool   `json:"request_device_token,omitempty"`
}

func (*InputStepAccountRecoveryVerifyCode) GetCode

func (*InputStepAccountRecoveryVerifyCode) Input

func (*InputStepAccountRecoveryVerifyCode) IsCode

func (*InputStepAccountRecoveryVerifyCode) IsResend

type InputStepIdentify

type InputStepIdentify struct {
	Identification config.AuthenticationFlowIdentification `json:"identification,omitempty"`

	IDToken string `json:"id_token,omitempty"`

	LoginID string `json:"login,omitempty"`

	Alias        string `json:"alias,omitempty"`
	RedirectURI  string `json:"redirect_uri,omitempty"`
	ResponseMode string `json:"response_mode,omitempty"`

	BotProtection *InputTakeBotProtectionBody `json:"bot_protection,omitempty"`

	ServerName string `json:"server_name"`
	Username   string `json:"username"`
	Password   string `json:"password"`
}

func (*InputStepIdentify) GetBotProtectionProvider

func (i *InputStepIdentify) GetBotProtectionProvider() *InputTakeBotProtectionBody

func (*InputStepIdentify) GetBotProtectionProviderResponse

func (i *InputStepIdentify) GetBotProtectionProviderResponse() string

func (*InputStepIdentify) GetBotProtectionProviderType

func (i *InputStepIdentify) GetBotProtectionProviderType() config.BotProtectionProviderType

func (*InputStepIdentify) GetIDToken

func (i *InputStepIdentify) GetIDToken() string

func (*InputStepIdentify) GetIdentificationMethod

func (i *InputStepIdentify) GetIdentificationMethod() config.AuthenticationFlowIdentification

func (*InputStepIdentify) GetLoginID

func (i *InputStepIdentify) GetLoginID() string

func (*InputStepIdentify) GetOAuthAlias

func (i *InputStepIdentify) GetOAuthAlias() string

func (*InputStepIdentify) GetOAuthRedirectURI

func (i *InputStepIdentify) GetOAuthRedirectURI() string

func (*InputStepIdentify) GetOAuthResponseMode

func (i *InputStepIdentify) GetOAuthResponseMode() string

func (*InputStepIdentify) GetPassword

func (i *InputStepIdentify) GetPassword() string

func (*InputStepIdentify) GetServerName

func (i *InputStepIdentify) GetServerName() string

func (*InputStepIdentify) GetUsername

func (i *InputStepIdentify) GetUsername() string

func (*InputStepIdentify) Input

func (*InputStepIdentify) Input()

type InputTakeBotProtection

type InputTakeBotProtection struct {
	BotProtection *InputTakeBotProtectionBody `json:"bot_protection,omitempty"`
}

func (*InputTakeBotProtection) GetBotProtectionProvider

func (i *InputTakeBotProtection) GetBotProtectionProvider() *InputTakeBotProtectionBody

func (*InputTakeBotProtection) GetBotProtectionProviderResponse

func (i *InputTakeBotProtection) GetBotProtectionProviderResponse() string

func (*InputTakeBotProtection) GetBotProtectionProviderType

func (i *InputTakeBotProtection) GetBotProtectionProviderType() config.BotProtectionProviderType

func (*InputTakeBotProtection) Input

func (*InputTakeBotProtection) Input()

type InputTakeBotProtectionBody

type InputTakeBotProtectionBody struct {
	Type config.BotProtectionProviderType `json:"type,omitempty"`
	// Response is specific to cloudflare, recaptchav2
	Response string `json:"response,omitempty"`
}

type InputTakeIDToken

type InputTakeIDToken struct {
	IDToken string `json:"id_token"`
}

func (*InputTakeIDToken) GetIDToken

func (i *InputTakeIDToken) GetIDToken() string

func (*InputTakeIDToken) Input

func (*InputTakeIDToken) Input()

type InputTakeLDAP

type InputTakeLDAP struct {
	ServerName string `json:"server_name"`
	Username   string `json:"username"`
	Password   string `json:"password"`
}

func (*InputTakeLDAP) GetPassword

func (i *InputTakeLDAP) GetPassword() string

func (*InputTakeLDAP) GetServerName

func (i *InputTakeLDAP) GetServerName() string

func (*InputTakeLDAP) GetUsername

func (i *InputTakeLDAP) GetUsername() string

func (*InputTakeLDAP) Input

func (*InputTakeLDAP) Input()

type InputTakeLoginID

type InputTakeLoginID struct {
	LoginID       string                      `json:"login_id"`
	BotProtection *InputTakeBotProtectionBody `json:"bot_protection,omitempty"`
}

func (*InputTakeLoginID) GetBotProtectionProvider

func (i *InputTakeLoginID) GetBotProtectionProvider() *InputTakeBotProtectionBody

func (*InputTakeLoginID) GetBotProtectionProviderResponse

func (i *InputTakeLoginID) GetBotProtectionProviderResponse() string

func (*InputTakeLoginID) GetBotProtectionProviderType

func (i *InputTakeLoginID) GetBotProtectionProviderType() config.BotProtectionProviderType

func (*InputTakeLoginID) GetLoginID

func (i *InputTakeLoginID) GetLoginID() string

func (*InputTakeLoginID) Input

func (*InputTakeLoginID) Input()

type InputTakeNewPassword

type InputTakeNewPassword struct {
	NewPassword string `json:"new_password,omitempty"`
}

func (*InputTakeNewPassword) GetNewPassword

func (i *InputTakeNewPassword) GetNewPassword() string

func (*InputTakeNewPassword) Input

func (*InputTakeNewPassword) Input()

type InputTakeOAuthAuthorizationRequest

type InputTakeOAuthAuthorizationRequest struct {
	Alias         string                      `json:"alias"`
	RedirectURI   string                      `json:"redirect_uri"`
	ResponseMode  string                      `json:"response_mode,omitempty"`
	BotProtection *InputTakeBotProtectionBody `json:"bot_protection,omitempty"`
}

func (*InputTakeOAuthAuthorizationRequest) GetBotProtectionProvider

func (i *InputTakeOAuthAuthorizationRequest) GetBotProtectionProvider() *InputTakeBotProtectionBody

func (*InputTakeOAuthAuthorizationRequest) GetBotProtectionProviderResponse

func (i *InputTakeOAuthAuthorizationRequest) GetBotProtectionProviderResponse() string

func (*InputTakeOAuthAuthorizationRequest) GetBotProtectionProviderType

func (i *InputTakeOAuthAuthorizationRequest) GetBotProtectionProviderType() config.BotProtectionProviderType

func (*InputTakeOAuthAuthorizationRequest) GetOAuthAlias

func (i *InputTakeOAuthAuthorizationRequest) GetOAuthAlias() string

func (*InputTakeOAuthAuthorizationRequest) GetOAuthRedirectURI

func (i *InputTakeOAuthAuthorizationRequest) GetOAuthRedirectURI() string

func (*InputTakeOAuthAuthorizationRequest) GetOAuthResponseMode

func (i *InputTakeOAuthAuthorizationRequest) GetOAuthResponseMode() string

func (*InputTakeOAuthAuthorizationRequest) Input

type InputTakeOAuthAuthorizationResponse

type InputTakeOAuthAuthorizationResponse struct {
	Query string `json:"query,omitempty"`
}

func (*InputTakeOAuthAuthorizationResponse) GetQuery

func (*InputTakeOAuthAuthorizationResponse) Input

type InputTakeOOBOTPChannel

type InputTakeOOBOTPChannel struct {
	Channel model.AuthenticatorOOBChannel `json:"channel,omitempty"`
}

func (*InputTakeOOBOTPChannel) GetChannel

func (*InputTakeOOBOTPChannel) Input

func (*InputTakeOOBOTPChannel) Input()

type InputTakeOOBOTPTarget

type InputTakeOOBOTPTarget struct {
	Target        string                      `json:"target"`
	BotProtection *InputTakeBotProtectionBody `json:"bot_protection,omitempty"`
}

func (*InputTakeOOBOTPTarget) GetBotProtectionProvider

func (i *InputTakeOOBOTPTarget) GetBotProtectionProvider() *InputTakeBotProtectionBody

func (*InputTakeOOBOTPTarget) GetBotProtectionProviderResponse

func (i *InputTakeOOBOTPTarget) GetBotProtectionProviderResponse() string

func (*InputTakeOOBOTPTarget) GetBotProtectionProviderType

func (i *InputTakeOOBOTPTarget) GetBotProtectionProviderType() config.BotProtectionProviderType

func (*InputTakeOOBOTPTarget) GetTarget

func (i *InputTakeOOBOTPTarget) GetTarget() string

func (*InputTakeOOBOTPTarget) Input

func (*InputTakeOOBOTPTarget) Input()

type InputTakePasskeyAssertionResponse

type InputTakePasskeyAssertionResponse struct {
	AssertionResponse *protocol.CredentialAssertionResponse `json:"assertion_response,omitempty"`
	BotProtection     *InputTakeBotProtectionBody           `json:"bot_protection,omitempty"`
}

func (*InputTakePasskeyAssertionResponse) GetAssertionResponse

func (*InputTakePasskeyAssertionResponse) GetBotProtectionProvider

func (i *InputTakePasskeyAssertionResponse) GetBotProtectionProvider() *InputTakeBotProtectionBody

func (*InputTakePasskeyAssertionResponse) GetBotProtectionProviderResponse

func (i *InputTakePasskeyAssertionResponse) GetBotProtectionProviderResponse() string

func (*InputTakePasskeyAssertionResponse) GetBotProtectionProviderType

func (i *InputTakePasskeyAssertionResponse) GetBotProtectionProviderType() config.BotProtectionProviderType

func (*InputTakePasskeyAssertionResponse) Input

type InputTakePassword

type InputTakePassword struct {
	Password           string                      `json:"password,omitempty"`
	RequestDeviceToken bool                        `json:"request_device_token,omitempty"`
	BotProtection      *InputTakeBotProtectionBody `json:"bot_protection,omitempty"`
}

func (*InputTakePassword) GetBotProtectionProvider

func (i *InputTakePassword) GetBotProtectionProvider() *InputTakeBotProtectionBody

func (*InputTakePassword) GetBotProtectionProviderResponse

func (i *InputTakePassword) GetBotProtectionProviderResponse() string

func (*InputTakePassword) GetBotProtectionProviderType

func (i *InputTakePassword) GetBotProtectionProviderType() config.BotProtectionProviderType

func (*InputTakePassword) GetDeviceTokenRequested

func (i *InputTakePassword) GetDeviceTokenRequested() bool

func (*InputTakePassword) GetPassword

func (i *InputTakePassword) GetPassword() string

func (*InputTakePassword) Input

func (*InputTakePassword) Input()

type InputTakeRecoveryCode

type InputTakeRecoveryCode struct {
	RecoveryCode       string                      `json:"recovery_code,omitempty"`
	RequestDeviceToken bool                        `json:"request_device_token,omitempty"`
	BotProtection      *InputTakeBotProtectionBody `json:"bot_protection,omitempty"`
}

func (*InputTakeRecoveryCode) GetBotProtectionProvider

func (i *InputTakeRecoveryCode) GetBotProtectionProvider() *InputTakeBotProtectionBody

func (*InputTakeRecoveryCode) GetBotProtectionProviderResponse

func (i *InputTakeRecoveryCode) GetBotProtectionProviderResponse() string

func (*InputTakeRecoveryCode) GetBotProtectionProviderType

func (i *InputTakeRecoveryCode) GetBotProtectionProviderType() config.BotProtectionProviderType

func (*InputTakeRecoveryCode) GetDeviceTokenRequested

func (i *InputTakeRecoveryCode) GetDeviceTokenRequested() bool

func (*InputTakeRecoveryCode) GetRecoveryCode

func (i *InputTakeRecoveryCode) GetRecoveryCode() string

func (*InputTakeRecoveryCode) Input

func (*InputTakeRecoveryCode) Input()

type InputTakeTOTP

type InputTakeTOTP struct {
	Code               string                      `json:"code,omitempty"`
	RequestDeviceToken bool                        `json:"request_device_token,omitempty"`
	BotProtection      *InputTakeBotProtectionBody `json:"bot_protection,omitempty"`
}

func (*InputTakeTOTP) GetBotProtectionProvider

func (i *InputTakeTOTP) GetBotProtectionProvider() *InputTakeBotProtectionBody

func (*InputTakeTOTP) GetBotProtectionProviderResponse

func (i *InputTakeTOTP) GetBotProtectionProviderResponse() string

func (*InputTakeTOTP) GetBotProtectionProviderType

func (i *InputTakeTOTP) GetBotProtectionProviderType() config.BotProtectionProviderType

func (*InputTakeTOTP) GetCode

func (i *InputTakeTOTP) GetCode() string

func (*InputTakeTOTP) GetDeviceTokenRequested

func (i *InputTakeTOTP) GetDeviceTokenRequested() bool

func (*InputTakeTOTP) Input

func (*InputTakeTOTP) Input()

type InputUseAuthenticatorOOBOTP

type InputUseAuthenticatorOOBOTP struct {
	Index         int                         `json:"index"`
	BotProtection *InputTakeBotProtectionBody `json:"bot_protection,omitempty"`
}

func (*InputUseAuthenticatorOOBOTP) GetBotProtectionProvider

func (i *InputUseAuthenticatorOOBOTP) GetBotProtectionProvider() *InputTakeBotProtectionBody

func (*InputUseAuthenticatorOOBOTP) GetBotProtectionProviderResponse

func (i *InputUseAuthenticatorOOBOTP) GetBotProtectionProviderResponse() string

func (*InputUseAuthenticatorOOBOTP) GetBotProtectionProviderType

func (i *InputUseAuthenticatorOOBOTP) GetBotProtectionProviderType() config.BotProtectionProviderType

func (*InputUseAuthenticatorOOBOTP) GetIndex

func (i *InputUseAuthenticatorOOBOTP) GetIndex() int

func (*InputUseAuthenticatorOOBOTP) Input

func (*InputUseAuthenticatorOOBOTP) Input()

type IntentAccountLinking

type IntentAccountLinking struct {
	JSONPointer          jsonpointer.T             `json:"json_pointer,omitempty"`
	IncomingIdentitySpec *identity.Spec            `json:"incoming_identity_spec,omitempty"`
	Conflicts            []*AccountLinkingConflict `json:"conflicts,omitempty"`
}

func (*IntentAccountLinking) CanReactTo

func (*IntentAccountLinking) Kind

func (*IntentAccountLinking) Kind() string

func (*IntentAccountLinking) Milestone

func (*IntentAccountLinking) Milestone()

func (*IntentAccountLinking) MilestoneFlowAccountLinking

func (*IntentAccountLinking) MilestoneFlowAccountLinking()

func (*IntentAccountLinking) MilestoneFlowCreateIdentity

func (*IntentAccountLinking) MilestoneFlowCreateIdentity(flows authflow.Flows) (MilestoneDoCreateIdentity, authflow.Flows, bool)

func (*IntentAccountLinking) OutputData

func (*IntentAccountLinking) ReactTo

type IntentAccountRecoveryFlow

type IntentAccountRecoveryFlow struct {
	FlowReference authflow.FlowReference `json:"flow_reference,omitempty"`
	JSONPointer   jsonpointer.T          `json:"json_pointer,omitempty"`
	StartFrom     jsonpointer.T          `json:"start_from,omitempty"`
}

func (*IntentAccountRecoveryFlow) CanReactTo

func (*IntentAccountRecoveryFlow) FlowFlowReference

func (i *IntentAccountRecoveryFlow) FlowFlowReference() authflow.FlowReference

func (*IntentAccountRecoveryFlow) FlowInit

func (i *IntentAccountRecoveryFlow) FlowInit(r authflow.FlowReference, startFrom jsonpointer.T)

func (*IntentAccountRecoveryFlow) FlowRootObject

func (*IntentAccountRecoveryFlow) FlowType

func (*IntentAccountRecoveryFlow) Kind

func (*IntentAccountRecoveryFlow) ReactTo

type IntentAccountRecoveryFlowStepIdentify

type IntentAccountRecoveryFlowStepIdentify struct {
	FlowReference authflow.FlowReference                `json:"flow_reference,omitempty"`
	JSONPointer   jsonpointer.T                         `json:"json_pointer,omitempty"`
	StepName      string                                `json:"step_name,omitempty"`
	Options       []AccountRecoveryIdentificationOption `json:"options"`
	StartFrom     jsonpointer.T                         `json:"start_from,omitempty"`
}

func (*IntentAccountRecoveryFlowStepIdentify) CanReactTo

func (*IntentAccountRecoveryFlowStepIdentify) GetJSONPointer

func (*IntentAccountRecoveryFlowStepIdentify) GetName

func (*IntentAccountRecoveryFlowStepIdentify) Kind

func (*IntentAccountRecoveryFlowStepIdentify) OutputData

func (*IntentAccountRecoveryFlowStepIdentify) ReactTo

type IntentAccountRecoveryFlowStepIdentifyData

type IntentAccountRecoveryFlowStepIdentifyData struct {
	TypedData
	Options []AccountRecoveryIdentificationOption `json:"options"`
}

func (IntentAccountRecoveryFlowStepIdentifyData) Data

type IntentAccountRecoveryFlowStepResetPassword

type IntentAccountRecoveryFlowStepResetPassword struct {
	StepName    string        `json:"step_name,omitempty"`
	JSONPointer jsonpointer.T `json:"json_pointer,omitempty"`
}

func (*IntentAccountRecoveryFlowStepResetPassword) CanReactTo

func (*IntentAccountRecoveryFlowStepResetPassword) Kind

func (*IntentAccountRecoveryFlowStepResetPassword) OutputData

func (*IntentAccountRecoveryFlowStepResetPassword) ReactTo

type IntentAccountRecoveryFlowStepSelectDestination

type IntentAccountRecoveryFlowStepSelectDestination struct {
	FlowReference authflow.FlowReference                      `json:"flow_reference,omitempty"`
	JSONPointer   jsonpointer.T                               `json:"json_pointer,omitempty"`
	StepName      string                                      `json:"step_name,omitempty"`
	Options       []*AccountRecoveryDestinationOptionInternal `json:"options"`
}

func (*IntentAccountRecoveryFlowStepSelectDestination) CanReactTo

func (*IntentAccountRecoveryFlowStepSelectDestination) GetJSONPointer

func (*IntentAccountRecoveryFlowStepSelectDestination) GetName

func (*IntentAccountRecoveryFlowStepSelectDestination) Kind

func (*IntentAccountRecoveryFlowStepSelectDestination) OutputData

func (*IntentAccountRecoveryFlowStepSelectDestination) ReactTo

type IntentAccountRecoveryFlowStepSelectDestinationData

type IntentAccountRecoveryFlowStepSelectDestinationData struct {
	TypedData
	Options []AccountRecoveryDestinationOption `json:"options"`
}

func (IntentAccountRecoveryFlowStepSelectDestinationData) Data

type IntentAccountRecoveryFlowStepVerifyAccountRecoveryCode

type IntentAccountRecoveryFlowStepVerifyAccountRecoveryCode struct {
	FlowReference authflow.FlowReference `json:"flow_reference,omitempty"`
	JSONPointer   jsonpointer.T          `json:"json_pointer,omitempty"`
	StepName      string                 `json:"step_name,omitempty"`
	StartFrom     jsonpointer.T          `json:"start_from,omitempty"`
}

func (*IntentAccountRecoveryFlowStepVerifyAccountRecoveryCode) CanReactTo

func (*IntentAccountRecoveryFlowStepVerifyAccountRecoveryCode) GetJSONPointer

func (*IntentAccountRecoveryFlowStepVerifyAccountRecoveryCode) GetName

func (*IntentAccountRecoveryFlowStepVerifyAccountRecoveryCode) Kind

func (*IntentAccountRecoveryFlowStepVerifyAccountRecoveryCode) OutputData

func (*IntentAccountRecoveryFlowStepVerifyAccountRecoveryCode) ReactTo

type IntentAccountRecoveryFlowStepVerifyAccountRecoveryCodeData

type IntentAccountRecoveryFlowStepVerifyAccountRecoveryCodeData struct {
	TypedData
	MaskedDisplayName              string                 `json:"masked_display_name"`
	Channel                        AccountRecoveryChannel `json:"channel"`
	OTPForm                        AccountRecoveryOTPForm `json:"otp_form"`
	CodeLength                     int                    `json:"code_length,omitempty"`
	CanResendAt                    time.Time              `json:"can_resend_at,omitempty"`
	FailedAttemptRateLimitExceeded bool                   `json:"failed_attempt_rate_limit_exceeded"`
}

func (IntentAccountRecoveryFlowStepVerifyAccountRecoveryCodeData) Data

type IntentAccountRecoveryFlowSteps

type IntentAccountRecoveryFlowSteps struct {
	FlowReference authflow.FlowReference `json:"flow_reference,omitempty"`
	JSONPointer   jsonpointer.T          `json:"json_pointer,omitempty"`
	StartFrom     jsonpointer.T          `json:"start_from,omitempty"`
}

func (*IntentAccountRecoveryFlowSteps) CanReactTo

func (*IntentAccountRecoveryFlowSteps) Kind

func (*IntentAccountRecoveryFlowSteps) Milestone

func (*IntentAccountRecoveryFlowSteps) Milestone()

func (*IntentAccountRecoveryFlowSteps) MilestoneNestedSteps

func (*IntentAccountRecoveryFlowSteps) MilestoneNestedSteps()

func (*IntentAccountRecoveryFlowSteps) ReactTo

type IntentAuthenticationOOB

type IntentAuthenticationOOB struct {
	JSONPointer    jsonpointer.T                           `json:"json_pointer,omitempty"`
	UserID         string                                  `json:"user_id,omitempty"`
	Purpose        otp.Purpose                             `json:"purpose,omitempty"`
	Form           otp.Form                                `json:"form,omitempty"`
	Info           *authenticator.Info                     `json:"info,omitempty"`
	Authentication config.AuthenticationFlowAuthentication `json:"authentication,omitempty"`
}

func (*IntentAuthenticationOOB) CanReactTo

func (*IntentAuthenticationOOB) Kind

func (*IntentAuthenticationOOB) Milestone

func (*IntentAuthenticationOOB) Milestone()

func (*IntentAuthenticationOOB) MilestoneDoMarkClaimVerified

func (*IntentAuthenticationOOB) MilestoneDoMarkClaimVerified()

func (*IntentAuthenticationOOB) MilestoneDoMarkClaimVerifiedUpdateUserID

func (i *IntentAuthenticationOOB) MilestoneDoMarkClaimVerifiedUpdateUserID(newUserID string)

func (*IntentAuthenticationOOB) OutputData

func (*IntentAuthenticationOOB) ReactTo

type IntentCheckConflictAndCreateIdenity

type IntentCheckConflictAndCreateIdenity struct {
	JSONPointer jsonpointer.T          `json:"json_pointer,omitempty"`
	UserID      string                 `json:"user_id,omitempty"`
	Request     *CreateIdentityRequest `json:"request,omitempty"`
}

func (*IntentCheckConflictAndCreateIdenity) CanReactTo

func (*IntentCheckConflictAndCreateIdenity) Kind

func (*IntentCheckConflictAndCreateIdenity) Milestone

func (*IntentCheckConflictAndCreateIdenity) MilestoneFlowCreateIdentity

func (*IntentCheckConflictAndCreateIdenity) ReactTo

type IntentCreateAuthenticatorOOBOTP

type IntentCreateAuthenticatorOOBOTP struct {
	JSONPointer            jsonpointer.T                           `json:"json_pointer,omitempty"`
	UserID                 string                                  `json:"user_id,omitempty"`
	IsUpdatingExistingUser bool                                    `json:"is_updating_existing_user,omitempty"`
	Authentication         config.AuthenticationFlowAuthentication `json:"authentication,omitempty"`
}

func (*IntentCreateAuthenticatorOOBOTP) CanReactTo

func (*IntentCreateAuthenticatorOOBOTP) Kind

func (*IntentCreateAuthenticatorOOBOTP) Milestone

func (*IntentCreateAuthenticatorOOBOTP) Milestone()

func (*IntentCreateAuthenticatorOOBOTP) MilestoneDidSelectAuthenticationMethod

func (i *IntentCreateAuthenticatorOOBOTP) MilestoneDidSelectAuthenticationMethod() config.AuthenticationFlowAuthentication

func (*IntentCreateAuthenticatorOOBOTP) MilestoneFlowCreateAuthenticator

func (*IntentCreateAuthenticatorOOBOTP) MilestoneFlowSelectAuthenticationMethod

func (i *IntentCreateAuthenticatorOOBOTP) MilestoneFlowSelectAuthenticationMethod(flows authflow.Flows) (MilestoneDidSelectAuthenticationMethod, authflow.Flows, bool)

func (*IntentCreateAuthenticatorOOBOTP) MilestoneSwitchToExistingUser

func (i *IntentCreateAuthenticatorOOBOTP) MilestoneSwitchToExistingUser(ctx context.Context, deps *authflow.Dependencies, flows authflow.Flows, newUserID string) error

func (*IntentCreateAuthenticatorOOBOTP) ReactTo

type IntentCreateAuthenticatorPassword

type IntentCreateAuthenticatorPassword struct {
	JSONPointer    jsonpointer.T                           `json:"json_pointer,omitempty"`
	UserID         string                                  `json:"user_id,omitempty"`
	Authentication config.AuthenticationFlowAuthentication `json:"authentication,omitempty"`
}

func (*IntentCreateAuthenticatorPassword) CanReactTo

func (*IntentCreateAuthenticatorPassword) Kind

func (*IntentCreateAuthenticatorPassword) Milestone

func (*IntentCreateAuthenticatorPassword) Milestone()

func (*IntentCreateAuthenticatorPassword) MilestoneDidSelectAuthenticationMethod

func (n *IntentCreateAuthenticatorPassword) MilestoneDidSelectAuthenticationMethod() config.AuthenticationFlowAuthentication

func (*IntentCreateAuthenticatorPassword) MilestoneFlowCreateAuthenticator

func (*IntentCreateAuthenticatorPassword) MilestoneFlowSelectAuthenticationMethod

func (n *IntentCreateAuthenticatorPassword) MilestoneFlowSelectAuthenticationMethod(flows authflow.Flows) (MilestoneDidSelectAuthenticationMethod, authflow.Flows, bool)

func (*IntentCreateAuthenticatorPassword) ReactTo

type IntentCreateAuthenticatorTOTP

type IntentCreateAuthenticatorTOTP struct {
	JSONPointer    jsonpointer.T                           `json:"json_pointer,omitempty"`
	UserID         string                                  `json:"user_id,omitempty"`
	Authentication config.AuthenticationFlowAuthentication `json:"authentication,omitempty"`
	Authenticator  *authenticator.Info                     `json:"authenticator,omitempty"`
}

func (*IntentCreateAuthenticatorTOTP) CanReactTo

func (*IntentCreateAuthenticatorTOTP) Kind

func (*IntentCreateAuthenticatorTOTP) Milestone

func (*IntentCreateAuthenticatorTOTP) Milestone()

func (*IntentCreateAuthenticatorTOTP) MilestoneDidSelectAuthenticationMethod

func (n *IntentCreateAuthenticatorTOTP) MilestoneDidSelectAuthenticationMethod() config.AuthenticationFlowAuthentication

func (*IntentCreateAuthenticatorTOTP) MilestoneFlowCreateAuthenticator

func (*IntentCreateAuthenticatorTOTP) MilestoneFlowCreateAuthenticator(flows authflow.Flows) (MilestoneDoCreateAuthenticator, authflow.Flows, bool)

func (*IntentCreateAuthenticatorTOTP) MilestoneFlowSelectAuthenticationMethod

func (n *IntentCreateAuthenticatorTOTP) MilestoneFlowSelectAuthenticationMethod(flows authflow.Flows) (MilestoneDidSelectAuthenticationMethod, authflow.Flows, bool)

func (*IntentCreateAuthenticatorTOTP) OutputData

func (*IntentCreateAuthenticatorTOTP) ReactTo

type IntentCreateAuthenticatorTOTPData

type IntentCreateAuthenticatorTOTPData struct {
	TypedData
	Secret     string `json:"secret"`
	OTPAuthURI string `json:"otpauth_uri"`
}

func (IntentCreateAuthenticatorTOTPData) Data

type IntentCreateDeviceTokenIfRequested

type IntentCreateDeviceTokenIfRequested struct {
	JSONPointer jsonpointer.T `json:"json_pointer,omitempty"`
	UserID      string        `json:"user_id,omitempty"`
}

func (*IntentCreateDeviceTokenIfRequested) CanReactTo

func (*IntentCreateDeviceTokenIfRequested) Kind

func (*IntentCreateDeviceTokenIfRequested) Milestone

func (*IntentCreateDeviceTokenIfRequested) MilestoneDoCreateDeviceTokenIfRequested

func (*IntentCreateDeviceTokenIfRequested) MilestoneDoCreateDeviceTokenIfRequested()

func (*IntentCreateDeviceTokenIfRequested) ReactTo

type IntentCreateIdentityLoginID

type IntentCreateIdentityLoginID struct {
	JSONPointer    jsonpointer.T                           `json:"json_pointer,omitempty"`
	UserID         string                                  `json:"user_id,omitempty"`
	Identification config.AuthenticationFlowIdentification `json:"identification,omitempty"`
}

func (*IntentCreateIdentityLoginID) CanReactTo

func (*IntentCreateIdentityLoginID) Kind

func (*IntentCreateIdentityLoginID) Milestone

func (*IntentCreateIdentityLoginID) Milestone()

func (*IntentCreateIdentityLoginID) MilestoneFlowCreateIdentity

func (n *IntentCreateIdentityLoginID) MilestoneFlowCreateIdentity(flows authflow.Flows) (MilestoneDoCreateIdentity, authflow.Flows, bool)

func (*IntentCreateIdentityLoginID) MilestoneIdentificationMethod

func (n *IntentCreateIdentityLoginID) MilestoneIdentificationMethod() config.AuthenticationFlowIdentification

func (*IntentCreateIdentityLoginID) ReactTo

type IntentInspectDeviceToken

type IntentInspectDeviceToken struct {
	UserID string `json:"user_id,omitempty"`
}

func (*IntentInspectDeviceToken) CanReactTo

func (*IntentInspectDeviceToken) Kind

func (*IntentInspectDeviceToken) Milestone

func (*IntentInspectDeviceToken) Milestone()

func (*IntentInspectDeviceToken) MilestoneDeviceTokenInspected

func (*IntentInspectDeviceToken) MilestoneDeviceTokenInspected()

func (*IntentInspectDeviceToken) MilestoneFlowAuthenticate

func (i *IntentInspectDeviceToken) MilestoneFlowAuthenticate(flows authflow.Flows) (MilestoneDidAuthenticate, authflow.Flows, bool)

func (*IntentInspectDeviceToken) MilestoneFlowSelectAuthenticationMethod

func (i *IntentInspectDeviceToken) MilestoneFlowSelectAuthenticationMethod(flows authflow.Flows) (MilestoneDidSelectAuthenticationMethod, authflow.Flows, bool)

func (*IntentInspectDeviceToken) ReactTo

type IntentLDAP

type IntentLDAP struct {
	JSONPointer jsonpointer.T `json:"json_pointer,omitempty"`
	NewUserID   string        `json:"new_user_id,omitempty"`
}

func (*IntentLDAP) CanReactTo

func (i *IntentLDAP) CanReactTo(ctx context.Context, deps *authflow.Dependencies, flows authflow.Flows) (authflow.InputSchema, error)

func (*IntentLDAP) Kind

func (*IntentLDAP) Kind() string

func (*IntentLDAP) Milestone

func (*IntentLDAP) Milestone()

func (*IntentLDAP) MilestoneFlowCreateIdentity

func (*IntentLDAP) MilestoneFlowCreateIdentity(flows authflow.Flows) (MilestoneDoCreateIdentity, authflow.Flows, bool)

func (*IntentLDAP) MilestoneFlowUseIdentity

func (*IntentLDAP) MilestoneFlowUseIdentity(flows authflow.Flows) (MilestoneDoUseIdentity, authflow.Flows, bool)

func (*IntentLDAP) MilestoneIdentificationMethod

func (i *IntentLDAP) MilestoneIdentificationMethod() config.AuthenticationFlowIdentification

func (*IntentLDAP) ReactTo

func (i *IntentLDAP) ReactTo(ctx context.Context, deps *authflow.Dependencies, flows authflow.Flows, input authflow.Input) (*authflow.Node, error)

type IntentLoginFlow

type IntentLoginFlow struct {
	TargetUserID  string                 `json:"target_user_id,omitempty"`
	FlowReference authflow.FlowReference `json:"flow_reference,omitempty"`
	JSONPointer   jsonpointer.T          `json:"json_pointer,omitempty"`
}

func (*IntentLoginFlow) CanReactTo

func (*IntentLoginFlow) FlowFlowReference

func (i *IntentLoginFlow) FlowFlowReference() authflow.FlowReference

func (*IntentLoginFlow) FlowInit

func (i *IntentLoginFlow) FlowInit(r authflow.FlowReference, startFrom jsonpointer.T)

func (*IntentLoginFlow) FlowRootObject

func (*IntentLoginFlow) FlowType

func (*IntentLoginFlow) FlowType() authflow.FlowType

func (*IntentLoginFlow) GetEffects

func (i *IntentLoginFlow) GetEffects(ctx context.Context, deps *authflow.Dependencies, flows authflow.Flows) ([]authflow.Effect, error)

func (*IntentLoginFlow) Kind

func (*IntentLoginFlow) Kind() string

func (*IntentLoginFlow) ReactTo

type IntentLoginFlowStepAuthenticate

type IntentLoginFlowStepAuthenticate struct {
	FlowReference      authflow.FlowReference `json:"flow_reference,omitempty"`
	JSONPointer        jsonpointer.T          `json:"json_pointer,omitempty"`
	StepName           string                 `json:"step_name,omitempty"`
	UserID             string                 `json:"user_id,omitempty"`
	Options            []AuthenticateOption   `json:"options"`
	DeviceTokenEnabled bool                   `json:"device_token_enabled"`
}

func (*IntentLoginFlowStepAuthenticate) CanReactTo

func (*IntentLoginFlowStepAuthenticate) GetChangeRequiredPasswordAuthenticator

func (i *IntentLoginFlowStepAuthenticate) GetChangeRequiredPasswordAuthenticator(_ context.Context, _ *authflow.Dependencies, flows authflow.Flows) (info *authenticator.Info, changeRequiredReason PasswordChangeReason)

func (*IntentLoginFlowStepAuthenticate) GetJSONPointer

func (i *IntentLoginFlowStepAuthenticate) GetJSONPointer() jsonpointer.T

func (*IntentLoginFlowStepAuthenticate) GetName

func (*IntentLoginFlowStepAuthenticate) Kind

func (*IntentLoginFlowStepAuthenticate) OutputData

func (*IntentLoginFlowStepAuthenticate) ReactTo

type IntentLoginFlowStepAuthenticateTarget

type IntentLoginFlowStepAuthenticateTarget interface {
	GetIdentity(ctx context.Context, deps *authflow.Dependencies, flows authflow.Flows) *identity.Info
}

type IntentLoginFlowStepChangePassword

type IntentLoginFlowStepChangePassword struct {
	FlowReference authflow.FlowReference `json:"flow_reference,omitempty"`
	StepName      string                 `json:"step_name,omitempty"`
	JSONPointer   jsonpointer.T          `json:"json_pointer,omitempty"`
	UserID        string                 `json:"user_id,omitempty"`
}

func (*IntentLoginFlowStepChangePassword) CanReactTo

func (*IntentLoginFlowStepChangePassword) Kind

func (*IntentLoginFlowStepChangePassword) ReactTo

type IntentLoginFlowStepChangePasswordTarget

type IntentLoginFlowStepChangePasswordTarget interface {
	GetChangeRequiredPasswordAuthenticator(ctx context.Context, deps *authflow.Dependencies, flows authflow.Flows) (*authenticator.Info, PasswordChangeReason)
}

type IntentLoginFlowStepCheckAccountStatus

type IntentLoginFlowStepCheckAccountStatus struct {
	FlowReference authflow.FlowReference `json:"flow_reference,omitempty"`
	StepName      string                 `json:"step_name,omitempty"`
	JSONPointer   jsonpointer.T          `json:"json_pointer,omitempty"`
	UserID        string                 `json:"user_id,omitempty"`
}

func (*IntentLoginFlowStepCheckAccountStatus) CanReactTo

func (*IntentLoginFlowStepCheckAccountStatus) Kind

func (*IntentLoginFlowStepCheckAccountStatus) ReactTo

type IntentLoginFlowStepCreateAuthenticator

type IntentLoginFlowStepCreateAuthenticator struct {
	FlowReference          authflow.FlowReference `json:"flow_reference,omitempty"`
	JSONPointer            jsonpointer.T          `json:"json_pointer,omitempty"`
	StepName               string                 `json:"step_name,omitempty"`
	UserID                 string                 `json:"user_id,omitempty"`
	IsUpdatingExistingUser bool                   `json:"is_updating_existing_user,omitempty"`
}

func (*IntentLoginFlowStepCreateAuthenticator) CanReactTo

func (*IntentLoginFlowStepCreateAuthenticator) GetJSONPointer

func (*IntentLoginFlowStepCreateAuthenticator) GetName

func (*IntentLoginFlowStepCreateAuthenticator) Kind

func (*IntentLoginFlowStepCreateAuthenticator) Milestone

func (*IntentLoginFlowStepCreateAuthenticator) MilestoneSwitchToExistingUser

func (i *IntentLoginFlowStepCreateAuthenticator) MilestoneSwitchToExistingUser(ctx context.Context, deps *authflow.Dependencies, flows authflow.Flows, newUserID string) error

func (*IntentLoginFlowStepCreateAuthenticator) OutputData

func (*IntentLoginFlowStepCreateAuthenticator) ReactTo

type IntentLoginFlowStepCreateAuthenticatorTarget

type IntentLoginFlowStepCreateAuthenticatorTarget interface {
	GetOOBOTPClaims(ctx context.Context, deps *authflow.Dependencies, flows authflow.Flows) (map[model.ClaimName]string, error)
	IsSkipped() bool
}

type IntentLoginFlowStepIdentify

type IntentLoginFlowStepIdentify struct {
	FlowReference authflow.FlowReference `json:"flow_reference,omitempty"`
	JSONPointer   jsonpointer.T          `json:"json_pointer,omitempty"`
	StepName      string                 `json:"step_name,omitempty"`
	Options       []IdentificationOption `json:"options"`
}

func (*IntentLoginFlowStepIdentify) CanReactTo

func (*IntentLoginFlowStepIdentify) GetIdentity

func (*IntentLoginFlowStepIdentify) GetJSONPointer

func (i *IntentLoginFlowStepIdentify) GetJSONPointer() jsonpointer.T

func (*IntentLoginFlowStepIdentify) GetName

func (i *IntentLoginFlowStepIdentify) GetName() string

func (*IntentLoginFlowStepIdentify) Kind

func (*IntentLoginFlowStepIdentify) OutputData

func (*IntentLoginFlowStepIdentify) ReactTo

type IntentLoginFlowStepPromptCreatePasskey

type IntentLoginFlowStepPromptCreatePasskey struct {
	FlowReference authflow.FlowReference `json:"flow_reference,omitempty"`
	StepName      string                 `json:"step_name,omitempty"`
	JSONPointer   jsonpointer.T          `json:"json_pointer,omitempty"`
	UserID        string                 `json:"user_id,omitempty"`
}

func (*IntentLoginFlowStepPromptCreatePasskey) CanReactTo

func (*IntentLoginFlowStepPromptCreatePasskey) Kind

func (*IntentLoginFlowStepPromptCreatePasskey) ReactTo

type IntentLoginFlowStepTerminateOtherSessions

type IntentLoginFlowStepTerminateOtherSessions struct {
	FlowReference authflow.FlowReference `json:"flow_reference,omitempty"`
	StepName      string                 `json:"step_name,omitempty"`
	JSONPointer   jsonpointer.T          `json:"json_pointer,omitempty"`
	UserID        string                 `json:"user_id,omitempty"`
}

func (*IntentLoginFlowStepTerminateOtherSessions) CanReactTo

func (*IntentLoginFlowStepTerminateOtherSessions) Kind

func (*IntentLoginFlowStepTerminateOtherSessions) ReactTo

type IntentLoginFlowSteps

type IntentLoginFlowSteps struct {
	FlowReference authflow.FlowReference `json:"flow_reference,omitempty"`
	JSONPointer   jsonpointer.T          `json:"json_pointer,omitempty"`
}

func (*IntentLoginFlowSteps) CanReactTo

func (*IntentLoginFlowSteps) Kind

func (*IntentLoginFlowSteps) Kind() string

func (*IntentLoginFlowSteps) Milestone

func (*IntentLoginFlowSteps) Milestone()

func (*IntentLoginFlowSteps) MilestoneNestedSteps

func (*IntentLoginFlowSteps) MilestoneNestedSteps()

func (*IntentLoginFlowSteps) ReactTo

type IntentLookupIdentityLDAP

type IntentLookupIdentityLDAP struct {
	JSONPointer jsonpointer.T `json:"json_pointer,omitempty"`
}

func (*IntentLookupIdentityLDAP) CanReactTo

func (*IntentLookupIdentityLDAP) Kind

func (*IntentLookupIdentityLDAP) Milestone

func (*IntentLookupIdentityLDAP) Milestone()

func (*IntentLookupIdentityLDAP) MilestoneIdentificationMethod

func (i *IntentLookupIdentityLDAP) MilestoneIdentificationMethod() config.AuthenticationFlowIdentification

func (*IntentLookupIdentityLDAP) ReactTo

type IntentLookupIdentityLoginID

type IntentLookupIdentityLoginID struct {
	JSONPointer    jsonpointer.T                           `json:"json_pointer,omitempty"`
	Identification config.AuthenticationFlowIdentification `json:"identification,omitempty"`
	SyntheticInput *InputStepIdentify                      `json:"synthetic_input,omitempty"`
}

func (*IntentLookupIdentityLoginID) CanReactTo

func (*IntentLookupIdentityLoginID) Kind

func (*IntentLookupIdentityLoginID) Milestone

func (*IntentLookupIdentityLoginID) Milestone()

func (*IntentLookupIdentityLoginID) MilestoneIdentificationMethod

func (n *IntentLookupIdentityLoginID) MilestoneIdentificationMethod() config.AuthenticationFlowIdentification

func (*IntentLookupIdentityLoginID) ReactTo

type IntentLookupIdentityOAuth

type IntentLookupIdentityOAuth struct {
	JSONPointer    jsonpointer.T                           `json:"json_pointer,omitempty"`
	Identification config.AuthenticationFlowIdentification `json:"identification,omitempty"`
	SyntheticInput *InputStepIdentify                      `json:"synthetic_input,omitempty"`
}

func (*IntentLookupIdentityOAuth) CanReactTo

func (*IntentLookupIdentityOAuth) Kind

func (*IntentLookupIdentityOAuth) Milestone

func (*IntentLookupIdentityOAuth) Milestone()

func (*IntentLookupIdentityOAuth) MilestoneIdentificationMethod

func (i *IntentLookupIdentityOAuth) MilestoneIdentificationMethod() config.AuthenticationFlowIdentification

func (*IntentLookupIdentityOAuth) ReactTo

type IntentLookupIdentityPasskey

type IntentLookupIdentityPasskey struct {
	JSONPointer    jsonpointer.T                           `json:"json_pointer,omitempty"`
	Identification config.AuthenticationFlowIdentification `json:"identification,omitempty"`
	SyntheticInput *InputStepIdentify                      `json:"synthetic_input,omitempty"`
}

func (*IntentLookupIdentityPasskey) CanReactTo

func (*IntentLookupIdentityPasskey) Kind

func (*IntentLookupIdentityPasskey) Milestone

func (*IntentLookupIdentityPasskey) Milestone()

func (*IntentLookupIdentityPasskey) MilestoneIdentificationMethod

func (n *IntentLookupIdentityPasskey) MilestoneIdentificationMethod() config.AuthenticationFlowIdentification

func (*IntentLookupIdentityPasskey) ReactTo

type IntentOAuth

type IntentOAuth struct {
	JSONPointer    jsonpointer.T                           `json:"json_pointer,omitempty"`
	NewUserID      string                                  `json:"new_user_id,omitempty"`
	Identification config.AuthenticationFlowIdentification `json:"identification,omitempty"`
}

func (*IntentOAuth) CanReactTo

func (*IntentOAuth) Kind

func (*IntentOAuth) Kind() string

func (*IntentOAuth) Milestone

func (*IntentOAuth) Milestone()

func (*IntentOAuth) MilestoneFlowCreateIdentity

func (*IntentOAuth) MilestoneFlowCreateIdentity(flows authflow.Flows) (MilestoneDoCreateIdentity, authflow.Flows, bool)

func (*IntentOAuth) MilestoneFlowUseIdentity

func (*IntentOAuth) MilestoneFlowUseIdentity(flows authflow.Flows) (MilestoneDoUseIdentity, authflow.Flows, bool)

func (*IntentOAuth) MilestoneIdentificationMethod

func (i *IntentOAuth) MilestoneIdentificationMethod() config.AuthenticationFlowIdentification

func (*IntentOAuth) ReactTo

func (i *IntentOAuth) ReactTo(ctx context.Context, deps *authflow.Dependencies, flows authflow.Flows, input authflow.Input) (*authflow.Node, error)

type IntentPromoteFlow

type IntentPromoteFlow struct {
	FlowReference authflow.FlowReference `json:"flow_reference,omitempty"`
	JSONPointer   jsonpointer.T          `json:"json_pointer,omitempty"`
}

func (*IntentPromoteFlow) CanReactTo

func (*IntentPromoteFlow) FlowFlowReference

func (i *IntentPromoteFlow) FlowFlowReference() authflow.FlowReference

func (*IntentPromoteFlow) FlowInit

func (i *IntentPromoteFlow) FlowInit(r authflow.FlowReference, startFrom jsonpointer.T)

func (*IntentPromoteFlow) FlowRootObject

func (*IntentPromoteFlow) FlowType

func (*IntentPromoteFlow) FlowType() authflow.FlowType

func (*IntentPromoteFlow) GetEffects

func (i *IntentPromoteFlow) GetEffects(ctx context.Context, deps *authflow.Dependencies, flows authflow.Flows) (effs []authflow.Effect, err error)

func (*IntentPromoteFlow) Kind

func (*IntentPromoteFlow) Kind() string

func (*IntentPromoteFlow) ReactTo

type IntentPromoteFlowStepIdentify

type IntentPromoteFlowStepIdentify struct {
	FlowReference authflow.FlowReference `json:"flow_reference,omitempty"`
	JSONPointer   jsonpointer.T          `json:"json_pointer,omitempty"`
	StepName      string                 `json:"step_name,omitempty"`
	UserID        string                 `json:"user_id,omitempty"`
	Options       []IdentificationOption `json:"options"`
}

func (*IntentPromoteFlowStepIdentify) CanReactTo

func (*IntentPromoteFlowStepIdentify) GetJSONPointer

func (i *IntentPromoteFlowStepIdentify) GetJSONPointer() jsonpointer.T

func (*IntentPromoteFlowStepIdentify) GetMessageType

func (*IntentPromoteFlowStepIdentify) GetName

func (*IntentPromoteFlowStepIdentify) GetOOBOTPClaims

func (*IntentPromoteFlowStepIdentify) GetPurpose

func (*IntentPromoteFlowStepIdentify) GetVerifiableClaims

func (*IntentPromoteFlowStepIdentify) IsSkipped

func (n *IntentPromoteFlowStepIdentify) IsSkipped() bool

func (*IntentPromoteFlowStepIdentify) Kind

func (*IntentPromoteFlowStepIdentify) OutputData

func (*IntentPromoteFlowStepIdentify) ReactTo

type IntentPromoteFlowSteps

type IntentPromoteFlowSteps struct {
	FlowReference authflow.FlowReference `json:"flow_reference,omitempty"`
	JSONPointer   jsonpointer.T          `json:"json_pointer,omitempty"`
	UserID        string                 `json:"user_id,omitempty"`
}

func (*IntentPromoteFlowSteps) CanReactTo

func (*IntentPromoteFlowSteps) Kind

func (*IntentPromoteFlowSteps) Milestone

func (*IntentPromoteFlowSteps) Milestone()

func (*IntentPromoteFlowSteps) MilestoneNestedSteps

func (*IntentPromoteFlowSteps) MilestoneNestedSteps()

func (*IntentPromoteFlowSteps) ReactTo

type IntentPromoteIdentityLoginID

type IntentPromoteIdentityLoginID struct {
	JSONPointer    jsonpointer.T                           `json:"json_pointer,omitempty"`
	UserID         string                                  `json:"user_id,omitempty"`
	Identification config.AuthenticationFlowIdentification `json:"identification,omitempty"`
	SyntheticInput *InputStepIdentify                      `json:"synthetic_input,omitempty"`
}

func (*IntentPromoteIdentityLoginID) CanReactTo

func (*IntentPromoteIdentityLoginID) Kind

func (*IntentPromoteIdentityLoginID) Milestone

func (*IntentPromoteIdentityLoginID) Milestone()

func (*IntentPromoteIdentityLoginID) MilestoneFlowCreateIdentity

func (n *IntentPromoteIdentityLoginID) MilestoneFlowCreateIdentity(flows authflow.Flows) (MilestoneDoCreateIdentity, authflow.Flows, bool)

func (*IntentPromoteIdentityLoginID) MilestoneIdentificationMethod

func (n *IntentPromoteIdentityLoginID) MilestoneIdentificationMethod() config.AuthenticationFlowIdentification

func (*IntentPromoteIdentityLoginID) ReactTo

nolint:gocognit

type IntentPromoteIdentityOAuth

type IntentPromoteIdentityOAuth struct {
	JSONPointer    jsonpointer.T                           `json:"json_pointer,omitempty"`
	UserID         string                                  `json:"user_id,omitempty"`
	Identification config.AuthenticationFlowIdentification `json:"identification,omitempty"`
	SyntheticInput *InputStepIdentify                      `json:"synthetic_input,omitempty"`
}

func (*IntentPromoteIdentityOAuth) CanReactTo

func (*IntentPromoteIdentityOAuth) Kind

func (*IntentPromoteIdentityOAuth) Milestone

func (*IntentPromoteIdentityOAuth) Milestone()

func (*IntentPromoteIdentityOAuth) MilestoneFlowCreateIdentity

func (*IntentPromoteIdentityOAuth) MilestoneFlowCreateIdentity(flows authflow.Flows) (MilestoneDoCreateIdentity, authflow.Flows, bool)

func (*IntentPromoteIdentityOAuth) MilestoneIdentificationMethod

func (i *IntentPromoteIdentityOAuth) MilestoneIdentificationMethod() config.AuthenticationFlowIdentification

func (*IntentPromoteIdentityOAuth) ReactTo

type IntentReauthFlow

type IntentReauthFlow struct {
	FlowReference authflow.FlowReference `json:"flow_reference,omitempty"`
	JSONPointer   jsonpointer.T          `json:"json_pointer,omitempty"`
}

func (*IntentReauthFlow) CanReactTo

func (*IntentReauthFlow) FlowFlowReference

func (i *IntentReauthFlow) FlowFlowReference() authflow.FlowReference

func (*IntentReauthFlow) FlowInit

func (i *IntentReauthFlow) FlowInit(r authflow.FlowReference, startFrom jsonpointer.T)

func (*IntentReauthFlow) FlowRootObject

func (*IntentReauthFlow) FlowType

func (*IntentReauthFlow) FlowType() authflow.FlowType

func (*IntentReauthFlow) GetEffects

func (i *IntentReauthFlow) GetEffects(ctx context.Context, deps *authflow.Dependencies, flows authflow.Flows) ([]authflow.Effect, error)

func (*IntentReauthFlow) Kind

func (*IntentReauthFlow) Kind() string

func (*IntentReauthFlow) ReactTo

type IntentReauthFlowStepAuthenticate

type IntentReauthFlowStepAuthenticate struct {
	FlowReference authflow.FlowReference `json:"flow_reference,omitempty"`
	JSONPointer   jsonpointer.T          `json:"json_pointer,omitempty"`
	StepName      string                 `json:"step_name,omitempty"`
	UserID        string                 `json:"user_id,omitempty"`
	Options       []AuthenticateOption   `json:"options"`
}

func (*IntentReauthFlowStepAuthenticate) CanReactTo

func (*IntentReauthFlowStepAuthenticate) Kind

func (*IntentReauthFlowStepAuthenticate) OutputData

func (*IntentReauthFlowStepAuthenticate) ReactTo

type IntentReauthFlowStepIdentify

type IntentReauthFlowStepIdentify struct {
	FlowReference authflow.FlowReference `json:"flow_reference,omitempty"`
	JSONPointer   jsonpointer.T          `json:"json_pointer,omitempty"`
	StepName      string                 `json:"step_name,omitempty"`
	Options       []IdentificationOption `json:"options"`
}

func (*IntentReauthFlowStepIdentify) CanReactTo

func (*IntentReauthFlowStepIdentify) Kind

func (*IntentReauthFlowStepIdentify) OutputData

func (*IntentReauthFlowStepIdentify) ReactTo

type IntentReauthFlowSteps

type IntentReauthFlowSteps struct {
	FlowReference authflow.FlowReference `json:"flow_reference,omitempty"`
	JSONPointer   jsonpointer.T          `json:"json_pointer,omitempty"`
}

func (*IntentReauthFlowSteps) CanReactTo

func (*IntentReauthFlowSteps) Kind

func (*IntentReauthFlowSteps) Kind() string

func (*IntentReauthFlowSteps) Milestone

func (*IntentReauthFlowSteps) Milestone()

func (*IntentReauthFlowSteps) MilestoneNestedSteps

func (*IntentReauthFlowSteps) MilestoneNestedSteps()

func (*IntentReauthFlowSteps) ReactTo

type IntentSignupFlow

type IntentSignupFlow struct {
	FlowReference authflow.FlowReference `json:"flow_reference,omitempty"`
	JSONPointer   jsonpointer.T          `json:"json_pointer,omitempty"`
}

func (*IntentSignupFlow) CanReactTo

func (*IntentSignupFlow) FlowFlowReference

func (i *IntentSignupFlow) FlowFlowReference() authflow.FlowReference

func (*IntentSignupFlow) FlowInit

func (i *IntentSignupFlow) FlowInit(r authflow.FlowReference, startFrom jsonpointer.T)

func (*IntentSignupFlow) FlowRootObject

func (*IntentSignupFlow) FlowType

func (*IntentSignupFlow) FlowType() authflow.FlowType

func (*IntentSignupFlow) GetEffects

func (i *IntentSignupFlow) GetEffects(ctx context.Context, deps *authflow.Dependencies, flows authflow.Flows) (effs []authflow.Effect, err error)

func (*IntentSignupFlow) Kind

func (*IntentSignupFlow) Kind() string

func (*IntentSignupFlow) Milestone

func (*IntentSignupFlow) Milestone()

func (*IntentSignupFlow) MilestoneSwitchToExistingUser

func (i *IntentSignupFlow) MilestoneSwitchToExistingUser(ctx context.Context, deps *authflow.Dependencies, flows authflow.Flows, newUserID string) error

func (*IntentSignupFlow) ReactTo

type IntentSignupFlowStepCreateAuthenticator

type IntentSignupFlowStepCreateAuthenticator struct {
	FlowReference          authflow.FlowReference `json:"flow_reference,omitempty"`
	JSONPointer            jsonpointer.T          `json:"json_pointer,omitempty"`
	StepName               string                 `json:"step_name,omitempty"`
	UserID                 string                 `json:"user_id,omitempty"`
	IsUpdatingExistingUser bool                   `json:"is_updating_existing_user,omitempty"`
}

func (*IntentSignupFlowStepCreateAuthenticator) CanReactTo

func (*IntentSignupFlowStepCreateAuthenticator) GetJSONPointer

func (*IntentSignupFlowStepCreateAuthenticator) GetName

func (*IntentSignupFlowStepCreateAuthenticator) Kind

func (*IntentSignupFlowStepCreateAuthenticator) Milestone

func (*IntentSignupFlowStepCreateAuthenticator) MilestoneSwitchToExistingUser

func (i *IntentSignupFlowStepCreateAuthenticator) MilestoneSwitchToExistingUser(ctx context.Context, deps *authflow.Dependencies, flows authflow.Flows, newUserID string) error

func (*IntentSignupFlowStepCreateAuthenticator) OutputData

func (*IntentSignupFlowStepCreateAuthenticator) ReactTo

type IntentSignupFlowStepCreateAuthenticatorTarget

type IntentSignupFlowStepCreateAuthenticatorTarget interface {
	GetOOBOTPClaims(ctx context.Context, deps *authflow.Dependencies, flows authflow.Flows) (map[model.ClaimName]string, error)
	IsSkipped() bool
}

type IntentSignupFlowStepFillInUserProfile

type IntentSignupFlowStepFillInUserProfile struct {
	JSONPointer            jsonpointer.T `json:"json_pointer,omitempty"`
	StepName               string        `json:"step_name,omitempty"`
	UserID                 string        `json:"user_id,omitempty"`
	IsUpdatingExistingUser bool          `json:"skip_update,omitempty"`
}

func (*IntentSignupFlowStepFillInUserProfile) CanReactTo

func (*IntentSignupFlowStepFillInUserProfile) Kind

func (*IntentSignupFlowStepFillInUserProfile) Milestone

func (*IntentSignupFlowStepFillInUserProfile) MilestoneSwitchToExistingUser

func (i *IntentSignupFlowStepFillInUserProfile) MilestoneSwitchToExistingUser(ctx context.Context, deps *authflow.Dependencies, flows authflow.Flows, newUserID string) error

func (*IntentSignupFlowStepFillInUserProfile) ReactTo

type IntentSignupFlowStepIdentify

type IntentSignupFlowStepIdentify struct {
	FlowReference          authflow.FlowReference `json:"flow_reference,omitempty"`
	JSONPointer            jsonpointer.T          `json:"json_pointer,omitempty"`
	StepName               string                 `json:"step_name,omitempty"`
	UserID                 string                 `json:"user_id,omitempty"`
	Options                []IdentificationOption `json:"options,omitempty"`
	IsUpdatingExistingUser bool                   `json:"is_updating_existing_user,omitempty"`
	IsCreateSkipped        bool                   `json:"is_create_skipped,omitempty"`
}

func (*IntentSignupFlowStepIdentify) CanReactTo

func (*IntentSignupFlowStepIdentify) GetJSONPointer

func (i *IntentSignupFlowStepIdentify) GetJSONPointer() jsonpointer.T

func (*IntentSignupFlowStepIdentify) GetMessageType

func (*IntentSignupFlowStepIdentify) GetName

func (i *IntentSignupFlowStepIdentify) GetName() string

func (*IntentSignupFlowStepIdentify) GetOOBOTPClaims

func (*IntentSignupFlowStepIdentify) GetPurpose

func (*IntentSignupFlowStepIdentify) GetVerifiableClaims

func (*IntentSignupFlowStepIdentify) IsSkipped

func (n *IntentSignupFlowStepIdentify) IsSkipped() bool

func (*IntentSignupFlowStepIdentify) Kind

func (*IntentSignupFlowStepIdentify) Milestone

func (*IntentSignupFlowStepIdentify) Milestone()

func (*IntentSignupFlowStepIdentify) MilestoneSwitchToExistingUser

func (i *IntentSignupFlowStepIdentify) MilestoneSwitchToExistingUser(ctx context.Context, deps *authflow.Dependencies, flows authflow.Flows, newUserID string) error

func (*IntentSignupFlowStepIdentify) OutputData

func (*IntentSignupFlowStepIdentify) ReactTo

type IntentSignupFlowStepPromptCreatePasskey

type IntentSignupFlowStepPromptCreatePasskey struct {
	StepName    string        `json:"step_name,omitempty"`
	JSONPointer jsonpointer.T `json:"json_pointer,omitempty"`
	UserID      string        `json:"user_id,omitempty"`
}

func (*IntentSignupFlowStepPromptCreatePasskey) CanReactTo

func (*IntentSignupFlowStepPromptCreatePasskey) Kind

func (*IntentSignupFlowStepPromptCreatePasskey) Milestone

func (*IntentSignupFlowStepPromptCreatePasskey) MilestoneSwitchToExistingUser

func (i *IntentSignupFlowStepPromptCreatePasskey) MilestoneSwitchToExistingUser(ctx context.Context, deps *authflow.Dependencies, flows authflow.Flows, newUserID string) error

func (*IntentSignupFlowStepPromptCreatePasskey) ReactTo

type IntentSignupFlowStepVerify

type IntentSignupFlowStepVerify struct {
	StepName    string        `json:"step_name,omitempty"`
	JSONPointer jsonpointer.T `json:"json_pointer,omitempty"`
	UserID      string        `json:"user_id,omitempty"`
}

func (*IntentSignupFlowStepVerify) CanReactTo

func (*IntentSignupFlowStepVerify) Kind

func (*IntentSignupFlowStepVerify) Milestone

func (i *IntentSignupFlowStepVerify) Milestone()

func (*IntentSignupFlowStepVerify) MilestoneSwitchToExistingUser

func (i *IntentSignupFlowStepVerify) MilestoneSwitchToExistingUser(ctx context.Context, deps *authflow.Dependencies, flows authflow.Flows, newUserID string) error

func (*IntentSignupFlowStepVerify) ReactTo

type IntentSignupFlowStepVerifyTarget

type IntentSignupFlowStepVerifyTarget interface {
	GetVerifiableClaims(ctx context.Context, deps *authflow.Dependencies, flows authflow.Flows) (map[model.ClaimName]string, error)
	GetPurpose(ctx context.Context, deps *authflow.Dependencies, flows authflow.Flows) otp.Purpose
	GetMessageType(ctx context.Context, deps *authflow.Dependencies, flows authflow.Flows) translation.MessageType
}

type IntentSignupFlowStepViewRecoveryCode

type IntentSignupFlowStepViewRecoveryCode struct {
	JSONPointer            jsonpointer.T `json:"json_pointer,omitempty"`
	StepName               string        `json:"step_name,omitempty"`
	UserID                 string        `json:"user_id,omitempty"`
	IsUpdatingExistingUser bool          `json:"is_updating_existing_user,omitempty"`

	RecoveryCodes []string `json:"recovery_codes,omitempty"`
}

func (*IntentSignupFlowStepViewRecoveryCode) CanReactTo

func (*IntentSignupFlowStepViewRecoveryCode) Kind

func (*IntentSignupFlowStepViewRecoveryCode) Milestone

func (*IntentSignupFlowStepViewRecoveryCode) MilestoneSwitchToExistingUser

func (i *IntentSignupFlowStepViewRecoveryCode) MilestoneSwitchToExistingUser(ctx context.Context, deps *authflow.Dependencies, flows authflow.Flows, newUserID string) error

func (*IntentSignupFlowStepViewRecoveryCode) OutputData

func (*IntentSignupFlowStepViewRecoveryCode) ReactTo

type IntentSignupFlowStepViewRecoveryCodeData

type IntentSignupFlowStepViewRecoveryCodeData struct {
	TypedData
	RecoveryCodes []string `json:"recovery_codes"`
}

func (IntentSignupFlowStepViewRecoveryCodeData) Data

type IntentSignupFlowSteps

type IntentSignupFlowSteps struct {
	FlowReference          authflow.FlowReference `json:"flow_reference,omitempty"`
	JSONPointer            jsonpointer.T          `json:"json_pointer,omitempty"`
	UserID                 string                 `json:"user_id,omitempty"`
	IsUpdatingExistingUser bool                   `json:"is_updating_existing_user,omitempty"`
}

func (*IntentSignupFlowSteps) CanReactTo

func (*IntentSignupFlowSteps) Kind

func (*IntentSignupFlowSteps) Kind() string

func (*IntentSignupFlowSteps) Milestone

func (*IntentSignupFlowSteps) Milestone()

func (*IntentSignupFlowSteps) MilestoneNestedSteps

func (*IntentSignupFlowSteps) MilestoneNestedSteps()

func (*IntentSignupFlowSteps) MilestoneSwitchToExistingUser

func (i *IntentSignupFlowSteps) MilestoneSwitchToExistingUser(ctx context.Context, deps *authflow.Dependencies, flows authflow.Flows, newUserID string) error

func (*IntentSignupFlowSteps) ReactTo

type IntentSignupLoginFlow

type IntentSignupLoginFlow struct {
	FlowReference authflow.FlowReference `json:"flow_reference,omitempty"`
	JSONPointer   jsonpointer.T          `json:"json_pointer,omitempty"`
}

func (*IntentSignupLoginFlow) CanReactTo

func (*IntentSignupLoginFlow) FlowFlowReference

func (i *IntentSignupLoginFlow) FlowFlowReference() authflow.FlowReference

func (*IntentSignupLoginFlow) FlowInit

func (i *IntentSignupLoginFlow) FlowInit(r authflow.FlowReference, startFrom jsonpointer.T)

func (*IntentSignupLoginFlow) FlowRootObject

func (*IntentSignupLoginFlow) FlowType

func (*IntentSignupLoginFlow) Kind

func (*IntentSignupLoginFlow) Kind() string

func (*IntentSignupLoginFlow) ReactTo

type IntentSignupLoginFlowStepIdentify

type IntentSignupLoginFlowStepIdentify struct {
	FlowReference authflow.FlowReference `json:"flow_reference,omitempty"`
	JSONPointer   jsonpointer.T          `json:"json_pointer,omitempty"`
	StepName      string                 `json:"step_name,omitempty"`
	Options       []IdentificationOption `json:"options"`
}

func (*IntentSignupLoginFlowStepIdentify) CanReactTo

func (*IntentSignupLoginFlowStepIdentify) Kind

func (*IntentSignupLoginFlowStepIdentify) OutputData

func (*IntentSignupLoginFlowStepIdentify) ReactTo

type IntentSignupLoginFlowSteps

type IntentSignupLoginFlowSteps struct {
	FlowReference authflow.FlowReference `json:"flow_reference,omitempty"`
	JSONPointer   jsonpointer.T          `json:"json_pointer,omitempty"`
}

func (*IntentSignupLoginFlowSteps) CanReactTo

func (*IntentSignupLoginFlowSteps) Kind

func (*IntentSignupLoginFlowSteps) Milestone

func (*IntentSignupLoginFlowSteps) Milestone()

func (*IntentSignupLoginFlowSteps) MilestoneNestedSteps

func (*IntentSignupLoginFlowSteps) MilestoneNestedSteps()

func (*IntentSignupLoginFlowSteps) ReactTo

type IntentSkipCreationByExistingIdentity

type IntentSkipCreationByExistingIdentity struct {
	JSONPointer    jsonpointer.T                           `json:"json_pointer,omitempty"`
	Identity       *identity.Info                          `json:"identity,omitempty"`
	Identification config.AuthenticationFlowIdentification `json:"identification,omitempty"`
}

func (*IntentSkipCreationByExistingIdentity) CanReactTo

func (*IntentSkipCreationByExistingIdentity) Kind

func (*IntentSkipCreationByExistingIdentity) Milestone

func (*IntentSkipCreationByExistingIdentity) MilestoneDoCreateIdentity

func (n *IntentSkipCreationByExistingIdentity) MilestoneDoCreateIdentity() *identity.Info

func (*IntentSkipCreationByExistingIdentity) MilestoneDoCreateIdentitySkipCreate

func (n *IntentSkipCreationByExistingIdentity) MilestoneDoCreateIdentitySkipCreate()

func (*IntentSkipCreationByExistingIdentity) MilestoneDoCreateIdentityUpdate

func (n *IntentSkipCreationByExistingIdentity) MilestoneDoCreateIdentityUpdate(newInfo *identity.Info)

func (*IntentSkipCreationByExistingIdentity) MilestoneFlowCreateIdentity

func (*IntentSkipCreationByExistingIdentity) MilestoneIdentificationMethod

func (*IntentSkipCreationByExistingIdentity) ReactTo

type IntentUseAccountRecoveryIdentity

type IntentUseAccountRecoveryIdentity struct {
	JSONPointer    jsonpointer.T                                                   `json:"json_pointer,omitempty"`
	Identification config.AuthenticationFlowAccountRecoveryIdentification          `json:"identification,omitempty"`
	OnFailure      config.AuthenticationFlowAccountRecoveryIdentificationOnFailure `json:"on_failure,omitempty"`
}

func (*IntentUseAccountRecoveryIdentity) CanReactTo

func (*IntentUseAccountRecoveryIdentity) Kind

func (*IntentUseAccountRecoveryIdentity) Milestone

func (*IntentUseAccountRecoveryIdentity) Milestone()

func (*IntentUseAccountRecoveryIdentity) MilestoneDoUseAccountRecoveryIdentificationMethod

func (n *IntentUseAccountRecoveryIdentity) MilestoneDoUseAccountRecoveryIdentificationMethod() config.AuthenticationFlowAccountRecoveryIdentification

func (*IntentUseAccountRecoveryIdentity) ReactTo

type IntentUseAuthenticatorOOBOTP

type IntentUseAuthenticatorOOBOTP struct {
	JSONPointer    jsonpointer.T                           `json:"json_pointer,omitempty"`
	UserID         string                                  `json:"user_id,omitempty"`
	Authentication config.AuthenticationFlowAuthentication `json:"authentication,omitempty"`
	Options        []AuthenticateOption                    `json:"options,omitempty"`
}

func (*IntentUseAuthenticatorOOBOTP) CanReactTo

func (*IntentUseAuthenticatorOOBOTP) Kind

func (*IntentUseAuthenticatorOOBOTP) Milestone

func (*IntentUseAuthenticatorOOBOTP) Milestone()

func (*IntentUseAuthenticatorOOBOTP) MilestoneDidSelectAuthenticationMethod

func (i *IntentUseAuthenticatorOOBOTP) MilestoneDidSelectAuthenticationMethod() config.AuthenticationFlowAuthentication

func (*IntentUseAuthenticatorOOBOTP) MilestoneFlowAuthenticate

func (*IntentUseAuthenticatorOOBOTP) MilestoneFlowSelectAuthenticationMethod

func (i *IntentUseAuthenticatorOOBOTP) MilestoneFlowSelectAuthenticationMethod(flows authflow.Flows) (MilestoneDidSelectAuthenticationMethod, authflow.Flows, bool)

func (*IntentUseAuthenticatorOOBOTP) ReactTo

type IntentUseAuthenticatorPasskey

type IntentUseAuthenticatorPasskey struct {
	JSONPointer    jsonpointer.T                           `json:"json_pointer,omitempty"`
	UserID         string                                  `json:"user_id,omitempty"`
	Authentication config.AuthenticationFlowAuthentication `json:"authentication,omitempty"`
}

func (*IntentUseAuthenticatorPasskey) CanReactTo

func (*IntentUseAuthenticatorPasskey) Kind

func (*IntentUseAuthenticatorPasskey) Milestone

func (*IntentUseAuthenticatorPasskey) Milestone()

func (*IntentUseAuthenticatorPasskey) MilestoneDidSelectAuthenticationMethod

func (n *IntentUseAuthenticatorPasskey) MilestoneDidSelectAuthenticationMethod() config.AuthenticationFlowAuthentication

func (*IntentUseAuthenticatorPasskey) MilestoneFlowAuthenticate

func (*IntentUseAuthenticatorPasskey) MilestoneFlowSelectAuthenticationMethod

func (n *IntentUseAuthenticatorPasskey) MilestoneFlowSelectAuthenticationMethod(flows authflow.Flows) (MilestoneDidSelectAuthenticationMethod, authflow.Flows, bool)

func (*IntentUseAuthenticatorPasskey) ReactTo

type IntentUseAuthenticatorPassword

type IntentUseAuthenticatorPassword struct {
	JSONPointer    jsonpointer.T                           `json:"json_pointer,omitempty"`
	UserID         string                                  `json:"user_id,omitempty"`
	Authentication config.AuthenticationFlowAuthentication `json:"authentication,omitempty"`
}

func (*IntentUseAuthenticatorPassword) CanReactTo

func (*IntentUseAuthenticatorPassword) Kind

func (*IntentUseAuthenticatorPassword) Milestone

func (*IntentUseAuthenticatorPassword) Milestone()

func (*IntentUseAuthenticatorPassword) MilestoneDidSelectAuthenticationMethod

func (n *IntentUseAuthenticatorPassword) MilestoneDidSelectAuthenticationMethod() config.AuthenticationFlowAuthentication

func (*IntentUseAuthenticatorPassword) MilestoneFlowAuthenticate

func (*IntentUseAuthenticatorPassword) MilestoneFlowSelectAuthenticationMethod

func (n *IntentUseAuthenticatorPassword) MilestoneFlowSelectAuthenticationMethod(flows authflow.Flows) (MilestoneDidSelectAuthenticationMethod, authflow.Flows, bool)

func (*IntentUseAuthenticatorPassword) ReactTo

type IntentUseAuthenticatorTOTP

type IntentUseAuthenticatorTOTP struct {
	JSONPointer    jsonpointer.T                           `json:"json_pointer,omitempty"`
	UserID         string                                  `json:"user_id,omitempty"`
	Authentication config.AuthenticationFlowAuthentication `json:"authentication,omitempty"`
}

func (*IntentUseAuthenticatorTOTP) CanReactTo

func (*IntentUseAuthenticatorTOTP) Kind

func (*IntentUseAuthenticatorTOTP) Milestone

func (*IntentUseAuthenticatorTOTP) Milestone()

func (*IntentUseAuthenticatorTOTP) MilestoneDidSelectAuthenticationMethod

func (n *IntentUseAuthenticatorTOTP) MilestoneDidSelectAuthenticationMethod() config.AuthenticationFlowAuthentication

func (*IntentUseAuthenticatorTOTP) MilestoneFlowAuthenticate

func (*IntentUseAuthenticatorTOTP) MilestoneFlowSelectAuthenticationMethod

func (n *IntentUseAuthenticatorTOTP) MilestoneFlowSelectAuthenticationMethod(flows authflow.Flows) (MilestoneDidSelectAuthenticationMethod, authflow.Flows, bool)

func (*IntentUseAuthenticatorTOTP) ReactTo

type IntentUseIdentityLoginID

type IntentUseIdentityLoginID struct {
	JSONPointer    jsonpointer.T                           `json:"json_pointer,omitempty"`
	Identification config.AuthenticationFlowIdentification `json:"identification,omitempty"`
}

func (*IntentUseIdentityLoginID) CanReactTo

func (*IntentUseIdentityLoginID) Kind

func (*IntentUseIdentityLoginID) Milestone

func (*IntentUseIdentityLoginID) Milestone()

func (*IntentUseIdentityLoginID) MilestoneFlowUseIdentity

func (*IntentUseIdentityLoginID) MilestoneFlowUseIdentity(flows authflow.Flows) (MilestoneDoUseIdentity, authflow.Flows, bool)

func (*IntentUseIdentityLoginID) MilestoneIdentificationMethod

func (n *IntentUseIdentityLoginID) MilestoneIdentificationMethod() config.AuthenticationFlowIdentification

func (*IntentUseIdentityLoginID) ReactTo

type IntentUseIdentityPasskey

type IntentUseIdentityPasskey struct {
	JSONPointer    jsonpointer.T                           `json:"json_pointer,omitempty"`
	Identification config.AuthenticationFlowIdentification `json:"identification,omitempty"`
}

func (*IntentUseIdentityPasskey) CanReactTo

func (*IntentUseIdentityPasskey) Kind

func (*IntentUseIdentityPasskey) Milestone

func (*IntentUseIdentityPasskey) Milestone()

func (*IntentUseIdentityPasskey) MilestoneFlowUseIdentity

func (*IntentUseIdentityPasskey) MilestoneFlowUseIdentity(flows authflow.Flows) (MilestoneDoUseIdentity, authflow.Flows, bool)

func (*IntentUseIdentityPasskey) MilestoneIdentificationMethod

func (n *IntentUseIdentityPasskey) MilestoneIdentificationMethod() config.AuthenticationFlowIdentification

func (*IntentUseIdentityPasskey) ReactTo

type IntentUseRecoveryCode

type IntentUseRecoveryCode struct {
	JSONPointer    jsonpointer.T                           `json:"json_pointer,omitempty"`
	UserID         string                                  `json:"user_id,omitempty"`
	Authentication config.AuthenticationFlowAuthentication `json:"authentication,omitempty"`
}

func (*IntentUseRecoveryCode) CanReactTo

func (*IntentUseRecoveryCode) Kind

func (*IntentUseRecoveryCode) Kind() string

func (*IntentUseRecoveryCode) Milestone

func (*IntentUseRecoveryCode) Milestone()

func (*IntentUseRecoveryCode) MilestoneDidSelectAuthenticationMethod

func (n *IntentUseRecoveryCode) MilestoneDidSelectAuthenticationMethod() config.AuthenticationFlowAuthentication

func (*IntentUseRecoveryCode) MilestoneFlowAuthenticate

func (*IntentUseRecoveryCode) MilestoneFlowAuthenticate(flows authflow.Flows) (MilestoneDidAuthenticate, authflow.Flows, bool)

func (*IntentUseRecoveryCode) MilestoneFlowSelectAuthenticationMethod

func (n *IntentUseRecoveryCode) MilestoneFlowSelectAuthenticationMethod(flows authflow.Flows) (MilestoneDidSelectAuthenticationMethod, authflow.Flows, bool)

func (*IntentUseRecoveryCode) ReactTo

type IntentVerifyClaim

type IntentVerifyClaim struct {
	JSONPointer jsonpointer.T           `json:"json_pointer,omitempty"`
	UserID      string                  `json:"user_id,omitempty"`
	Purpose     otp.Purpose             `json:"purpose,omitempty"`
	MessageType translation.MessageType `json:"message_type,omitempty"`
	Form        otp.Form                `json:"form,omitempty"`
	ClaimName   model.ClaimName         `json:"claim_name,omitempty"`
	ClaimValue  string                  `json:"claim_value,omitempty"`
}

func (*IntentVerifyClaim) CanReactTo

func (*IntentVerifyClaim) Kind

func (*IntentVerifyClaim) Kind() string

func (*IntentVerifyClaim) Milestone

func (*IntentVerifyClaim) Milestone()

func (*IntentVerifyClaim) MilestoneVerifyClaim

func (*IntentVerifyClaim) MilestoneVerifyClaim()

func (*IntentVerifyClaim) MilestoneVerifyClaimUpdateUserID

func (i *IntentVerifyClaim) MilestoneVerifyClaimUpdateUserID(deps *authflow.Dependencies, flows authflow.Flows, newUserID string) error

func (*IntentVerifyClaim) OutputData

func (i *IntentVerifyClaim) OutputData(ctx context.Context, deps *authflow.Dependencies, flows authflow.Flows) (authflow.Data, error)

func (*IntentVerifyClaim) ReactTo

type MilestoneAccountRecoveryCode

type MilestoneAccountRecoveryCode interface {
	authflow.Milestone
	MilestoneAccountRecoveryCode() string
}

type MilestoneCheckLoginHint

type MilestoneCheckLoginHint interface {
	authflow.Milestone
	MilestoneCheckLoginHint()
}

type MilestoneDeviceTokenInspected

type MilestoneDeviceTokenInspected interface {
	authflow.Milestone
	MilestoneDeviceTokenInspected()
}

type MilestoneDidAuthenticate

type MilestoneDidAuthenticate interface {
	authflow.Milestone
	MilestoneDidAuthenticate() (amr []string)
}

type MilestoneDidReauthenticate

type MilestoneDidReauthenticate interface {
	authflow.Milestone
	MilestoneDidReauthenticate()
}

type MilestoneDidSelectAuthenticationMethod

type MilestoneDidSelectAuthenticationMethod interface {
	authflow.Milestone
	MilestoneDidSelectAuthenticationMethod() config.AuthenticationFlowAuthentication
}

type MilestoneDidSelectAuthenticator

type MilestoneDidSelectAuthenticator interface {
	authflow.Milestone
	MilestoneDidSelectAuthenticator() *authenticator.Info
}

type MilestoneDidUseAuthenticationLockoutMethod

type MilestoneDidUseAuthenticationLockoutMethod interface {
	authflow.Milestone
	MilestoneDidUseAuthenticationLockoutMethod() (config.AuthenticationLockoutMethod, bool)
}

type MilestoneDoCreateAuthenticator

type MilestoneDoCreateAuthenticator interface {
	authflow.Milestone
	MilestoneDoCreateAuthenticator() *authenticator.Info
	MilestoneDoCreateAuthenticatorSkipCreate()
	MilestoneDoCreateAuthenticatorUpdate(newInfo *authenticator.Info)
}

type MilestoneDoCreateDeviceTokenIfRequested

type MilestoneDoCreateDeviceTokenIfRequested interface {
	authflow.Milestone
	MilestoneDoCreateDeviceTokenIfRequested()
}

type MilestoneDoCreateIdentity

type MilestoneDoCreateIdentity interface {
	authflow.Milestone
	MilestoneDoCreateIdentity() *identity.Info
	MilestoneDoCreateIdentitySkipCreate()
	MilestoneDoCreateIdentityUpdate(newInfo *identity.Info)
}

type MilestoneDoCreatePasskey

type MilestoneDoCreatePasskey interface {
	authflow.Milestone
	MilestoneDoCreatePasskeyUpdateUserID(userID string)
}

type MilestoneDoCreateSession

type MilestoneDoCreateSession interface {
	authflow.Milestone
	MilestoneDoCreateSession() (*idpsession.IDPSession, bool)
}

type MilestoneDoCreateUser

type MilestoneDoCreateUser interface {
	authflow.Milestone
	MilestoneDoCreateUser() (userID string, createUser bool)
	MilestoneDoCreateUserUseExisting(userID string)
}

type MilestoneDoMarkClaimVerified

type MilestoneDoMarkClaimVerified interface {
	authflow.Milestone
	MilestoneDoMarkClaimVerified()
	MilestoneDoMarkClaimVerifiedUpdateUserID(newUserID string)
}

type MilestoneDoPopulateStandardAttributes

type MilestoneDoPopulateStandardAttributes interface {
	authflow.Milestone
	MilestoneDoPopulateStandardAttributes()
	MilestoneDoPopulateStandardAttributesSkip()
}

type MilestoneDoReplaceRecoveryCode

type MilestoneDoReplaceRecoveryCode interface {
	authflow.Milestone
	MilestoneDoReplaceRecoveryCodeUpdateUserID(newUserID string)
}

type MilestoneDoUpdateUserProfile

type MilestoneDoUpdateUserProfile interface {
	authflow.Milestone
	MilestoneDoUpdateUserProfileSkip()
}

type MilestoneDoUseAccountRecoveryDestination

type MilestoneDoUseAccountRecoveryDestination interface {
	authflow.Milestone
	MilestoneDoUseAccountRecoveryDestination() *AccountRecoveryDestinationOptionInternal
}

type MilestoneDoUseAccountRecoveryIdentificationMethod

type MilestoneDoUseAccountRecoveryIdentificationMethod interface {
	authflow.Milestone
	MilestoneDoUseAccountRecoveryIdentificationMethod() config.AuthenticationFlowAccountRecoveryIdentification
}

type MilestoneDoUseAccountRecoveryIdentity

type MilestoneDoUseAccountRecoveryIdentity interface {
	authflow.Milestone
	MilestoneDoUseAccountRecoveryIdentity() AccountRecoveryIdentity
}

type MilestoneDoUseAnonymousUser

type MilestoneDoUseAnonymousUser interface {
	authflow.Milestone
	MilestoneDoUseAnonymousUser() *identity.Info
}

type MilestoneDoUseAuthenticatorPassword

type MilestoneDoUseAuthenticatorPassword interface {
	authflow.Milestone
	MilestoneDoUseAuthenticatorPassword() *NodeDoUseAuthenticatorPassword
	GetJSONPointer() jsonpointer.T
}

type MilestoneDoUseIdentity

type MilestoneDoUseIdentity interface {
	authflow.Milestone
	MilestoneDoUseIdentity() *identity.Info
}

type MilestoneDoUseUser

type MilestoneDoUseUser interface {
	authflow.Milestone
	MilestoneDoUseUser() string
}

type MilestoneFlowAccountLinking

type MilestoneFlowAccountLinking interface {
	authflow.Milestone
	MilestoneFlowCreateIdentity
	MilestoneFlowAccountLinking()
}

type MilestoneFlowAuthenticate

type MilestoneFlowAuthenticate interface {
	authflow.Milestone
	MilestoneFlowAuthenticate(flows authflow.Flows) (MilestoneDidAuthenticate, authflow.Flows, bool)
}

type MilestoneFlowCreateAuthenticator

type MilestoneFlowCreateAuthenticator interface {
	authflow.Milestone
	MilestoneFlowCreateAuthenticator(flows authflow.Flows) (created MilestoneDoCreateAuthenticator, newFlow authflow.Flows, ok bool)
}

type MilestoneFlowCreateIdentity

type MilestoneFlowCreateIdentity interface {
	authflow.Milestone
	MilestoneFlowCreateIdentity(flows authflow.Flows) (created MilestoneDoCreateIdentity, newFlows authflow.Flows, ok bool)
}

type MilestoneFlowSelectAuthenticationMethod

type MilestoneFlowSelectAuthenticationMethod interface {
	authflow.Milestone
	MilestoneFlowSelectAuthenticationMethod(flows authflow.Flows) (selected MilestoneDidSelectAuthenticationMethod, newFlows authflow.Flows, ok bool)
}

type MilestoneFlowUseIdentity

type MilestoneFlowUseIdentity interface {
	authflow.Milestone
	MilestoneFlowUseIdentity(flows authflow.Flows) (MilestoneDoUseIdentity, authflow.Flows, bool)
}

type MilestoneIdentificationMethod

type MilestoneIdentificationMethod interface {
	authflow.Milestone
	MilestoneIdentificationMethod() config.AuthenticationFlowIdentification
}

type MilestoneNestedSteps

type MilestoneNestedSteps interface {
	authflow.Milestone
	MilestoneNestedSteps()
}

type MilestonePromptCreatePasskey

type MilestonePromptCreatePasskey interface {
	authflow.Milestone
	MilestonePromptCreatePasskey()
}

type MilestoneSwitchToExistingUser

type MilestoneSwitchToExistingUser interface {
	authflow.Milestone
	MilestoneSwitchToExistingUser(ctx context.Context, deps *authflow.Dependencies, flows authflow.Flows, newUserID string) error
}

type MilestoneUseAccountLinkingIdentification

type MilestoneUseAccountLinkingIdentification interface {
	authflow.Milestone
	MilestoneUseAccountLinkingIdentification() *AccountLinkingConflict
	MilestoneUseAccountLinkingIdentificationSelectedOption() AccountLinkingIdentificationOption
	MilestoneUseAccountLinkingIdentificationRedirectURI() string
	MilestoneUseAccountLinkingIdentificationResponseMode() string
}

type MilestoneVerifyClaim

type MilestoneVerifyClaim interface {
	authflow.Milestone
	MilestoneVerifyClaim()
	MilestoneVerifyClaimUpdateUserID(deps *authflow.Dependencies, flows authflow.Flows, newUserID string) error
}

type NewPasswordData

type NewPasswordData struct {
	TypedData
	PasswordPolicy *PasswordPolicy `json:"password_policy,omitempty"`
}

func NewNewPasswordData

func NewNewPasswordData(d NewPasswordData) NewPasswordData

func (NewPasswordData) Data

func (NewPasswordData) Data()

type NodeAuthenticationOOB

type NodeAuthenticationOOB struct {
	JSONPointer          jsonpointer.T                           `json:"json_pointer,omitempty"`
	UserID               string                                  `json:"user_id,omitempty"`
	Purpose              otp.Purpose                             `json:"purpose,omitempty"`
	Form                 otp.Form                                `json:"form,omitempty"`
	Info                 *authenticator.Info                     `json:"info,omitempty"`
	Channel              model.AuthenticatorOOBChannel           `json:"channel,omitempty"`
	WebsocketChannelName string                                  `json:"websocket_channel_name,omitempty"`
	Authentication       config.AuthenticationFlowAuthentication `json:"authentication,omitempty"`
}

func (*NodeAuthenticationOOB) CanReactTo

func (*NodeAuthenticationOOB) Kind

func (n *NodeAuthenticationOOB) Kind() string

func (*NodeAuthenticationOOB) OutputData

func (*NodeAuthenticationOOB) ReactTo

func (*NodeAuthenticationOOB) SendCode

type NodeCheckLoginHint

type NodeCheckLoginHint struct {
	UserID    string `json:"user_id,omitempty"`
	LoginHint string `json:"login_hint,omitempty"`
}

func NewNodeCheckLoginHint

func NewNodeCheckLoginHint(ctx context.Context, deps *authflow.Dependencies, userID string) (*NodeCheckLoginHint, error)

func (*NodeCheckLoginHint) Kind

func (n *NodeCheckLoginHint) Kind() string

func (*NodeCheckLoginHint) Milestone

func (n *NodeCheckLoginHint) Milestone()

func (*NodeCheckLoginHint) MilestoneCheckLoginHint

func (n *NodeCheckLoginHint) MilestoneCheckLoginHint()

type NodeDidConfirmTerminateOtherSessions

type NodeDidConfirmTerminateOtherSessions struct{}

func (*NodeDidConfirmTerminateOtherSessions) Kind

type NodeDidReauthenticate

type NodeDidReauthenticate struct {
	UserID string `json:"user_id"`

	AuthenticationInfoEntry *authenticationinfo.Entry `json:"authentication_info_entry,omitempty"`
}

func (*NodeDidReauthenticate) GetAuthenticationInfoEntry

func (n *NodeDidReauthenticate) GetAuthenticationInfoEntry(ctx context.Context, deps *authflow.Dependencies, flows authflow.Flows) *authenticationinfo.Entry

func (*NodeDidReauthenticate) GetEffects

func (n *NodeDidReauthenticate) GetEffects(ctx context.Context, deps *authflow.Dependencies, flows authflow.Flows) (effs []authflow.Effect, err error)

func (*NodeDidReauthenticate) Kind

func (*NodeDidReauthenticate) Kind() string

func (*NodeDidReauthenticate) Milestone

func (*NodeDidReauthenticate) Milestone()

func (*NodeDidReauthenticate) MilestoneDidReauthenticate

func (n *NodeDidReauthenticate) MilestoneDidReauthenticate()

type NodeDidSelectAuthenticator

type NodeDidSelectAuthenticator struct {
	Authenticator *authenticator.Info `json:"authenticator,omitempty"`
}

func (*NodeDidSelectAuthenticator) Kind

func (*NodeDidSelectAuthenticator) Milestone

func (n *NodeDidSelectAuthenticator) Milestone()

func (*NodeDidSelectAuthenticator) MilestoneDidSelectAuthenticator

func (n *NodeDidSelectAuthenticator) MilestoneDidSelectAuthenticator() *authenticator.Info

type NodeDoClearDeviceTokenCookie

type NodeDoClearDeviceTokenCookie struct {
	Cookie *http.Cookie `json:"cookie,omitempty"`
}

func (*NodeDoClearDeviceTokenCookie) GetCookies

func (*NodeDoClearDeviceTokenCookie) Kind

type NodeDoConsumeRecoveryCode

type NodeDoConsumeRecoveryCode struct {
	RecoveryCode *mfa.RecoveryCode `json:"recovery_code,omitempty"`
}

func (*NodeDoConsumeRecoveryCode) GetEffects

func (*NodeDoConsumeRecoveryCode) Kind

func (*NodeDoConsumeRecoveryCode) Milestone

func (*NodeDoConsumeRecoveryCode) Milestone()

func (*NodeDoConsumeRecoveryCode) MilestoneDidAuthenticate

func (*NodeDoConsumeRecoveryCode) MilestoneDidAuthenticate() (amr []string)

func (*NodeDoConsumeRecoveryCode) MilestoneDidUseAuthenticationLockoutMethod

func (*NodeDoConsumeRecoveryCode) MilestoneDidUseAuthenticationLockoutMethod() (config.AuthenticationLockoutMethod, bool)

type NodeDoCreateAuthenticator

type NodeDoCreateAuthenticator struct {
	SkipCreate    bool                `json:"skip_create,omitempty"`
	Authenticator *authenticator.Info `json:"authenticator,omitempty"`
}

func (*NodeDoCreateAuthenticator) GetEffects

func (n *NodeDoCreateAuthenticator) GetEffects(ctx context.Context, deps *authflow.Dependencies, flows authflow.Flows) (effs []authflow.Effect, err error)

func (*NodeDoCreateAuthenticator) Kind

func (*NodeDoCreateAuthenticator) Milestone

func (n *NodeDoCreateAuthenticator) Milestone()

func (*NodeDoCreateAuthenticator) MilestoneDoCreateAuthenticator

func (n *NodeDoCreateAuthenticator) MilestoneDoCreateAuthenticator() *authenticator.Info

func (*NodeDoCreateAuthenticator) MilestoneDoCreateAuthenticatorSkipCreate

func (n *NodeDoCreateAuthenticator) MilestoneDoCreateAuthenticatorSkipCreate()

func (*NodeDoCreateAuthenticator) MilestoneDoCreateAuthenticatorUpdate

func (n *NodeDoCreateAuthenticator) MilestoneDoCreateAuthenticatorUpdate(newInfo *authenticator.Info)

type NodeDoCreateDeviceToken

type NodeDoCreateDeviceToken struct {
	UserID string       `json:"user_id"`
	Cookie *http.Cookie `json:"cookie,omitempty"`
}

func (*NodeDoCreateDeviceToken) GetCookies

func (n *NodeDoCreateDeviceToken) GetCookies(ctx context.Context, deps *authflow.Dependencies, flows authflow.Flows) ([]*http.Cookie, error)

func (*NodeDoCreateDeviceToken) Kind

type NodeDoCreateIdentity

type NodeDoCreateIdentity struct {
	SkipCreate bool           `json:"skip_create,omitempty"`
	Identity   *identity.Info `json:"identity,omitempty"`
}

func (*NodeDoCreateIdentity) GetEffects

func (n *NodeDoCreateIdentity) GetEffects(ctx context.Context, deps *authflow.Dependencies, flows authflow.Flows) (effs []authflow.Effect, err error)

func (*NodeDoCreateIdentity) Kind

func (n *NodeDoCreateIdentity) Kind() string

func (*NodeDoCreateIdentity) Milestone

func (*NodeDoCreateIdentity) Milestone()

func (*NodeDoCreateIdentity) MilestoneDoCreateIdentity

func (n *NodeDoCreateIdentity) MilestoneDoCreateIdentity() *identity.Info

func (*NodeDoCreateIdentity) MilestoneDoCreateIdentitySkipCreate

func (n *NodeDoCreateIdentity) MilestoneDoCreateIdentitySkipCreate()

func (*NodeDoCreateIdentity) MilestoneDoCreateIdentityUpdate

func (n *NodeDoCreateIdentity) MilestoneDoCreateIdentityUpdate(newInfo *identity.Info)

type NodeDoCreatePasskey

type NodeDoCreatePasskey struct {
	SkipCreate          bool                `json:"skip_create,omitempty"`
	Identity            *identity.Info      `json:"identity,omitempty"`
	Authenticator       *authenticator.Info `json:"authenticator,omitempty"`
	AttestationResponse []byte              `json:"attestation_response,omitempty"`
}

func (*NodeDoCreatePasskey) GetEffects

func (n *NodeDoCreatePasskey) GetEffects(ctx context.Context, deps *authflow.Dependencies, flows authflow.Flows) (effs []authflow.Effect, err error)

func (*NodeDoCreatePasskey) Kind

func (n *NodeDoCreatePasskey) Kind() string

func (*NodeDoCreatePasskey) Milestone

func (*NodeDoCreatePasskey) Milestone()

func (*NodeDoCreatePasskey) MilestoneDoCreateAuthenticator

func (n *NodeDoCreatePasskey) MilestoneDoCreateAuthenticator() *authenticator.Info

func (*NodeDoCreatePasskey) MilestoneDoCreateAuthenticatorSkipCreate

func (n *NodeDoCreatePasskey) MilestoneDoCreateAuthenticatorSkipCreate()

func (*NodeDoCreatePasskey) MilestoneDoCreateAuthenticatorUpdate

func (n *NodeDoCreatePasskey) MilestoneDoCreateAuthenticatorUpdate(newInfo *authenticator.Info)

func (*NodeDoCreatePasskey) MilestoneDoCreateIdentity

func (n *NodeDoCreatePasskey) MilestoneDoCreateIdentity() *identity.Info

func (*NodeDoCreatePasskey) MilestoneDoCreateIdentitySkipCreate

func (n *NodeDoCreatePasskey) MilestoneDoCreateIdentitySkipCreate()

func (*NodeDoCreatePasskey) MilestoneDoCreateIdentityUpdate

func (n *NodeDoCreatePasskey) MilestoneDoCreateIdentityUpdate(newInfo *identity.Info)

func (*NodeDoCreatePasskey) MilestoneDoCreatePasskeyUpdateUserID

func (n *NodeDoCreatePasskey) MilestoneDoCreatePasskeyUpdateUserID(userID string)

type NodeDoCreateSession

type NodeDoCreateSession struct {
	UserID       string               `json:"user_id"`
	CreateReason session.CreateReason `json:"create_reason"`
	SkipCreate   bool                 `json:"skip_create"`

	Session                 *idpsession.IDPSession    `json:"session,omitempty"`
	SessionCookie           *http.Cookie              `json:"session_cookie,omitempty"`
	AuthenticationInfoEntry *authenticationinfo.Entry `json:"authentication_info_entry,omitempty"`
	SameSiteStrictCookie    *http.Cookie              `json:"same_site_strict_cookie,omitempty"`
}

func (*NodeDoCreateSession) GetAuthenticationInfoEntry

func (n *NodeDoCreateSession) GetAuthenticationInfoEntry(ctx context.Context, deps *authflow.Dependencies, flows authflow.Flows) *authenticationinfo.Entry

func (*NodeDoCreateSession) GetCookies

func (n *NodeDoCreateSession) GetCookies(ctx context.Context, deps *authflow.Dependencies, flows authflow.Flows) ([]*http.Cookie, error)

func (*NodeDoCreateSession) GetEffects

func (n *NodeDoCreateSession) GetEffects(ctx context.Context, deps *authflow.Dependencies, flows authflow.Flows) (effs []authflow.Effect, err error)

func (*NodeDoCreateSession) Kind

func (*NodeDoCreateSession) Kind() string

func (*NodeDoCreateSession) Milestone

func (*NodeDoCreateSession) Milestone()

func (*NodeDoCreateSession) MilestoneDoCreateSession

func (n *NodeDoCreateSession) MilestoneDoCreateSession() (*idpsession.IDPSession, bool)

type NodeDoCreateUser

type NodeDoCreateUser struct {
	UserID       string `json:"user_id"`
	SkipCreation bool   `json:"skip_creation,omitempty"`
}

func (*NodeDoCreateUser) GetEffects

func (n *NodeDoCreateUser) GetEffects(ctx context.Context, deps *authflow.Dependencies, flows authflow.Flows) (effs []authflow.Effect, err error)

func (*NodeDoCreateUser) Kind

func (n *NodeDoCreateUser) Kind() string

func (*NodeDoCreateUser) Milestone

func (*NodeDoCreateUser) Milestone()

func (*NodeDoCreateUser) MilestoneDoCreateUser

func (n *NodeDoCreateUser) MilestoneDoCreateUser() (string, bool)

func (*NodeDoCreateUser) MilestoneDoCreateUserUseExisting

func (n *NodeDoCreateUser) MilestoneDoCreateUserUseExisting(userID string)

func (*NodeDoCreateUser) MilestoneDoUseUser

func (n *NodeDoCreateUser) MilestoneDoUseUser() string

type NodeDoForceChangePassword

type NodeDoForceChangePassword struct {
	Authenticator *authenticator.Info   `json:"authenticator,omitempty"`
	Reason        *PasswordChangeReason `json:"reason,omitempty"`
}

func (*NodeDoForceChangePassword) GetEffects

func (*NodeDoForceChangePassword) Kind

type NodeDoJustInTimeCreateAuthenticator

type NodeDoJustInTimeCreateAuthenticator struct {
	SkipCreate    bool                `json:"skip_create,omitempty"`
	Authenticator *authenticator.Info `json:"authenticator,omitempty"`
}

func (*NodeDoJustInTimeCreateAuthenticator) GetEffects

func (*NodeDoJustInTimeCreateAuthenticator) Kind

func (*NodeDoJustInTimeCreateAuthenticator) Milestone

func (n *NodeDoJustInTimeCreateAuthenticator) Milestone()

func (*NodeDoJustInTimeCreateAuthenticator) MilestoneDidSelectAuthenticator

func (n *NodeDoJustInTimeCreateAuthenticator) MilestoneDidSelectAuthenticator() *authenticator.Info

func (*NodeDoJustInTimeCreateAuthenticator) MilestoneDoCreateAuthenticator

func (n *NodeDoJustInTimeCreateAuthenticator) MilestoneDoCreateAuthenticator() *authenticator.Info

func (*NodeDoJustInTimeCreateAuthenticator) MilestoneDoCreateAuthenticatorSkipCreate

func (n *NodeDoJustInTimeCreateAuthenticator) MilestoneDoCreateAuthenticatorSkipCreate()

func (*NodeDoJustInTimeCreateAuthenticator) MilestoneDoCreateAuthenticatorUpdate

func (n *NodeDoJustInTimeCreateAuthenticator) MilestoneDoCreateAuthenticatorUpdate(newInfo *authenticator.Info)

type NodeDoMarkClaimVerified

type NodeDoMarkClaimVerified struct {
	Claim *verification.Claim `json:"verified_claim,omitempty"`
}

func (*NodeDoMarkClaimVerified) GetEffects

func (n *NodeDoMarkClaimVerified) GetEffects(ctx context.Context, deps *authflow.Dependencies, flows authflow.Flows) (effs []authflow.Effect, err error)

func (*NodeDoMarkClaimVerified) Kind

func (n *NodeDoMarkClaimVerified) Kind() string

func (*NodeDoMarkClaimVerified) Milestone

func (*NodeDoMarkClaimVerified) Milestone()

func (*NodeDoMarkClaimVerified) MilestoneDoMarkClaimVerified

func (n *NodeDoMarkClaimVerified) MilestoneDoMarkClaimVerified()

func (*NodeDoMarkClaimVerified) MilestoneDoMarkClaimVerifiedUpdateUserID

func (n *NodeDoMarkClaimVerified) MilestoneDoMarkClaimVerifiedUpdateUserID(newUserID string)

type NodeDoPopulateStandardAttributesInSignup

type NodeDoPopulateStandardAttributesInSignup struct {
	Identity   *identity.Info `json:"identity,omitempty"`
	SkipUpdate bool           `json:"skip_update,omitempty"`
}

This node is only for use in signup or promote

func (*NodeDoPopulateStandardAttributesInSignup) GetEffects

func (*NodeDoPopulateStandardAttributesInSignup) Kind

func (*NodeDoPopulateStandardAttributesInSignup) Milestone

func (*NodeDoPopulateStandardAttributesInSignup) MilestoneDoPopulateStandardAttributes

func (*NodeDoPopulateStandardAttributesInSignup) MilestoneDoPopulateStandardAttributes()

func (*NodeDoPopulateStandardAttributesInSignup) MilestoneDoPopulateStandardAttributesSkip

func (n *NodeDoPopulateStandardAttributesInSignup) MilestoneDoPopulateStandardAttributesSkip()

type NodeDoReplaceRecoveryCode

type NodeDoReplaceRecoveryCode struct {
	UserID        string   `json:"user_id,omitempty"`
	RecoveryCodes []string `json:"recovery_codes,omitempty"`
}

func (*NodeDoReplaceRecoveryCode) GetEffects

func (n *NodeDoReplaceRecoveryCode) GetEffects(ctx context.Context, deps *authflow.Dependencies, flows authflow.Flows) (effs []authflow.Effect, err error)

func (*NodeDoReplaceRecoveryCode) Kind

func (*NodeDoReplaceRecoveryCode) Milestone

func (*NodeDoReplaceRecoveryCode) Milestone()

func (*NodeDoReplaceRecoveryCode) MilestoneDoReplaceRecoveryCodeUpdateUserID

func (n *NodeDoReplaceRecoveryCode) MilestoneDoReplaceRecoveryCodeUpdateUserID(newUserID string)

type NodeDoResetPassword

type NodeDoResetPassword struct {
	NewPassword string `json:"new_password,omitempty"`
	Code        string `json:"code,omitempty"`
}

func (*NodeDoResetPassword) GetEffects

func (*NodeDoResetPassword) Kind

func (*NodeDoResetPassword) Kind() string

type NodeDoSendAccountRecoveryCode

type NodeDoSendAccountRecoveryCode struct {
	ParentJSONPointer jsonpointer.T              `json:"parent_json_pointer,omitempty"`
	FlowReference     authflow.FlowReference     `json:"flow_reference,omitempty"`
	TargetLoginID     string                     `json:"target_login_id,omitempty"`
	CodeKind          forgotpassword.CodeKind    `json:"code_kind,omitempty"`
	CodeChannel       forgotpassword.CodeChannel `json:"code_channel,omitempty"`
}

func NewNodeDoSendAccountRecoveryCode

func NewNodeDoSendAccountRecoveryCode(
	ctx context.Context,
	deps *authflow.Dependencies,
	flowReference authflow.FlowReference,
	jsonPointer jsonpointer.T,
	targetLoginID string,
	codeKind forgotpassword.CodeKind,
	codeChannel forgotpassword.CodeChannel,
) *NodeDoSendAccountRecoveryCode

func (*NodeDoSendAccountRecoveryCode) Kind

func (*NodeDoSendAccountRecoveryCode) Send

func (n *NodeDoSendAccountRecoveryCode) Send(
	ctx context.Context,
	deps *authflow.Dependencies,
	ignoreRateLimitError bool,
) error

type NodeDoUpdateAuthenticator

type NodeDoUpdateAuthenticator struct {
	Authenticator *authenticator.Info `json:"authenticator,omitempty"`
}

func (*NodeDoUpdateAuthenticator) GetEffects

func (*NodeDoUpdateAuthenticator) Kind

type NodeDoUpdateUserProfile

type NodeDoUpdateUserProfile struct {
	UserID             string     `json:"user_id,omitempty"`
	SkipUpdate         bool       `json:"skip_update,omitempty"`
	StandardAttributes attrs.List `json:"standard_attributes,omitempty"`
	CustomAttributes   attrs.List `json:"custom_attributes,omitempty"`
}

func (*NodeDoUpdateUserProfile) GetEffects

func (n *NodeDoUpdateUserProfile) GetEffects(ctx context.Context, deps *authflow.Dependencies, flows authflow.Flows) (effs []authflow.Effect, err error)

func (*NodeDoUpdateUserProfile) Kind

func (*NodeDoUpdateUserProfile) Milestone

func (*NodeDoUpdateUserProfile) Milestone()

func (*NodeDoUpdateUserProfile) MilestoneDoUpdateUserProfileSkip

func (i *NodeDoUpdateUserProfile) MilestoneDoUpdateUserProfileSkip()

type NodeDoUseAccountRecoveryIdentity

type NodeDoUseAccountRecoveryIdentity struct {
	Identification config.AuthenticationFlowAccountRecoveryIdentification `json:"identification,omitempty"`
	Spec           *identity.Spec                                         `json:"spec,omitempty"`
	MaybeIdentity  *identity.Info                                         `json:"maybe_identity,omitempty"`
}

func (*NodeDoUseAccountRecoveryIdentity) Kind

func (*NodeDoUseAccountRecoveryIdentity) Milestone

func (*NodeDoUseAccountRecoveryIdentity) Milestone()

func (*NodeDoUseAccountRecoveryIdentity) MilestoneDoUseAccountRecoveryIdentity

func (n *NodeDoUseAccountRecoveryIdentity) MilestoneDoUseAccountRecoveryIdentity() AccountRecoveryIdentity

type NodeDoUseAnonymousUser

type NodeDoUseAnonymousUser struct {
	Identity      *identity.Info `json:"identity,omitempty"`
	JWT           string         `json:"jwt,omitempty"`
	PromotionCode string         `json:"promotion_code,omitempty"`
}

func NewNodeDoUseAnonymousUser

func NewNodeDoUseAnonymousUser(ctx context.Context, deps *authflow.Dependencies) (*NodeDoUseAnonymousUser, error)

func (*NodeDoUseAnonymousUser) GetEffects

func (n *NodeDoUseAnonymousUser) GetEffects(ctx context.Context, deps *authflow.Dependencies, flows authflow.Flows) (effs []authflow.Effect, err error)

func (*NodeDoUseAnonymousUser) Kind

func (*NodeDoUseAnonymousUser) Milestone

func (*NodeDoUseAnonymousUser) Milestone()

func (*NodeDoUseAnonymousUser) MilestoneDoUseAnonymousUser

func (n *NodeDoUseAnonymousUser) MilestoneDoUseAnonymousUser() *identity.Info

func (*NodeDoUseAnonymousUser) MilestoneDoUseUser

func (n *NodeDoUseAnonymousUser) MilestoneDoUseUser() string

type NodeDoUseAuthenticatorPasskey

type NodeDoUseAuthenticatorPasskey struct {
	AssertionResponse []byte              `json:"assertion_response,omitempty"`
	Authenticator     *authenticator.Info `json:"authenticator,omitempty"`
	RequireUpdate     bool                `json:"require_update,omitempty"`
}

func (*NodeDoUseAuthenticatorPasskey) GetEffects

func (*NodeDoUseAuthenticatorPasskey) Kind

func (*NodeDoUseAuthenticatorPasskey) Milestone

func (*NodeDoUseAuthenticatorPasskey) Milestone()

func (*NodeDoUseAuthenticatorPasskey) MilestoneDidAuthenticate

func (n *NodeDoUseAuthenticatorPasskey) MilestoneDidAuthenticate() (amr []string)

func (*NodeDoUseAuthenticatorPasskey) MilestoneDidSelectAuthenticator

func (n *NodeDoUseAuthenticatorPasskey) MilestoneDidSelectAuthenticator() *authenticator.Info

type NodeDoUseAuthenticatorPassword

type NodeDoUseAuthenticatorPassword struct {
	JSONPointer            jsonpointer.T        `json:"json_pointer,omitempty"`
	Authenticator          *authenticator.Info  `json:"authenticator,omitempty"`
	PasswordChangeRequired bool                 `json:"password_change_required,omitempty"`
	PasswordChangeReason   PasswordChangeReason `json:"password_change_required_reason,omitempty"`
}

func (*NodeDoUseAuthenticatorPassword) GetJSONPointer

func (n *NodeDoUseAuthenticatorPassword) GetJSONPointer() jsonpointer.T

func (*NodeDoUseAuthenticatorPassword) Kind

func (*NodeDoUseAuthenticatorPassword) Milestone

func (*NodeDoUseAuthenticatorPassword) Milestone()

func (*NodeDoUseAuthenticatorPassword) MilestoneDidAuthenticate

func (n *NodeDoUseAuthenticatorPassword) MilestoneDidAuthenticate() (amr []string)

func (*NodeDoUseAuthenticatorPassword) MilestoneDidSelectAuthenticator

func (n *NodeDoUseAuthenticatorPassword) MilestoneDidSelectAuthenticator() *authenticator.Info

func (*NodeDoUseAuthenticatorPassword) MilestoneDidUseAuthenticationLockoutMethod

func (n *NodeDoUseAuthenticatorPassword) MilestoneDidUseAuthenticationLockoutMethod() (config.AuthenticationLockoutMethod, bool)

func (*NodeDoUseAuthenticatorPassword) MilestoneDoUseAuthenticatorPassword

func (n *NodeDoUseAuthenticatorPassword) MilestoneDoUseAuthenticatorPassword() *NodeDoUseAuthenticatorPassword

type NodeDoUseAuthenticatorSimple

type NodeDoUseAuthenticatorSimple struct {
	Authenticator *authenticator.Info `json:"authenticator,omitempty"`
}

func (*NodeDoUseAuthenticatorSimple) Kind

func (*NodeDoUseAuthenticatorSimple) Milestone

func (*NodeDoUseAuthenticatorSimple) Milestone()

func (*NodeDoUseAuthenticatorSimple) MilestoneDidAuthenticate

func (n *NodeDoUseAuthenticatorSimple) MilestoneDidAuthenticate() (amr []string)

func (*NodeDoUseAuthenticatorSimple) MilestoneDidSelectAuthenticator

func (n *NodeDoUseAuthenticatorSimple) MilestoneDidSelectAuthenticator() *authenticator.Info

func (*NodeDoUseAuthenticatorSimple) MilestoneDidUseAuthenticationLockoutMethod

func (n *NodeDoUseAuthenticatorSimple) MilestoneDidUseAuthenticationLockoutMethod() (config.AuthenticationLockoutMethod, bool)

type NodeDoUseDeviceToken

type NodeDoUseDeviceToken struct{}

func (*NodeDoUseDeviceToken) Kind

func (*NodeDoUseDeviceToken) Kind() string

func (*NodeDoUseDeviceToken) Milestone

func (*NodeDoUseDeviceToken) Milestone()

func (*NodeDoUseDeviceToken) MilestoneDidAuthenticate

func (*NodeDoUseDeviceToken) MilestoneDidAuthenticate() (amr []string)

func (*NodeDoUseDeviceToken) MilestoneDidSelectAuthenticationMethod

func (*NodeDoUseDeviceToken) MilestoneDidSelectAuthenticationMethod() config.AuthenticationFlowAuthentication

type NodeDoUseIDToken

type NodeDoUseIDToken struct {
	IDToken string `json:"id_token,omitempty"`

	UserID string `json:"user_id,omitempty"`
}

func (*NodeDoUseIDToken) Kind

func (*NodeDoUseIDToken) Kind() string

func (*NodeDoUseIDToken) Milestone

func (*NodeDoUseIDToken) Milestone()

func (*NodeDoUseIDToken) MilestoneDoUseUser

func (n *NodeDoUseIDToken) MilestoneDoUseUser() string

type NodeDoUseIdentity

type NodeDoUseIdentity struct {
	Identity *identity.Info `json:"identity,omitempty"`
}

func NewNodeDoUseIdentity

func NewNodeDoUseIdentity(ctx context.Context, flows authflow.Flows, n *NodeDoUseIdentity) (*NodeDoUseIdentity, error)

func (*NodeDoUseIdentity) Kind

func (*NodeDoUseIdentity) Kind() string

func (*NodeDoUseIdentity) Milestone

func (*NodeDoUseIdentity) Milestone()

func (*NodeDoUseIdentity) MilestoneDoUseIdentity

func (n *NodeDoUseIdentity) MilestoneDoUseIdentity() *identity.Info

func (*NodeDoUseIdentity) MilestoneDoUseUser

func (n *NodeDoUseIdentity) MilestoneDoUseUser() string

type NodeDoUseIdentityPasskey

type NodeDoUseIdentityPasskey struct {
	AssertionResponse []byte              `json:"assertion_response,omitempty"`
	Identity          *identity.Info      `json:"identity,omitempty"`
	Authenticator     *authenticator.Info `json:"authenticator,omitempty"`
	RequireUpdate     bool                `json:"require_update,omitempty"`
}

func (*NodeDoUseIdentityPasskey) GetEffects

func (*NodeDoUseIdentityPasskey) Kind

func (*NodeDoUseIdentityPasskey) Milestone

func (*NodeDoUseIdentityPasskey) Milestone()

func (*NodeDoUseIdentityPasskey) MilestoneDidAuthenticate

func (n *NodeDoUseIdentityPasskey) MilestoneDidAuthenticate() (amr []string)

func (*NodeDoUseIdentityPasskey) MilestoneDidSelectAuthenticator

func (n *NodeDoUseIdentityPasskey) MilestoneDidSelectAuthenticator() *authenticator.Info

func (*NodeDoUseIdentityPasskey) MilestoneDoUseIdentity

func (n *NodeDoUseIdentityPasskey) MilestoneDoUseIdentity() *identity.Info

func (*NodeDoUseIdentityPasskey) MilestoneDoUseUser

func (n *NodeDoUseIdentityPasskey) MilestoneDoUseUser() string

type NodeDoUseIdentityWithUpdate

type NodeDoUseIdentityWithUpdate struct {
	OldIdentityInfo *identity.Info `json:"old_identity_info,omitempty"`
	NewIdentityInfo *identity.Info `json:"new_identity_info,omitempty"`
}

func NewNodeDoUseIdentityWithUpdate

func NewNodeDoUseIdentityWithUpdate(ctx context.Context, deps *authflow.Dependencies, flows authflow.Flows, oldIdentityInfo *identity.Info, spec *identity.Spec) (*NodeDoUseIdentityWithUpdate, error)

func (*NodeDoUseIdentityWithUpdate) GetEffects

func (*NodeDoUseIdentityWithUpdate) Kind

func (*NodeDoUseIdentityWithUpdate) Milestone

func (*NodeDoUseIdentityWithUpdate) Milestone()

func (*NodeDoUseIdentityWithUpdate) MilestoneDoUseIdentity

func (n *NodeDoUseIdentityWithUpdate) MilestoneDoUseIdentity() *identity.Info

func (*NodeDoUseIdentityWithUpdate) MilestoneDoUseUser

func (n *NodeDoUseIdentityWithUpdate) MilestoneDoUseUser() string

type NodeIdentifyWithIDToken

type NodeIdentifyWithIDToken struct {
	JSONPointer    jsonpointer.T                           `json:"json_pointer,omitempty"`
	Identification config.AuthenticationFlowIdentification `json:"identification,omitempty"`
}

func (*NodeIdentifyWithIDToken) CanReactTo

func (*NodeIdentifyWithIDToken) Kind

func (*NodeIdentifyWithIDToken) Milestone

func (*NodeIdentifyWithIDToken) Milestone()

func (*NodeIdentifyWithIDToken) MilestoneIdentificationMethod

func (n *NodeIdentifyWithIDToken) MilestoneIdentificationMethod() config.AuthenticationFlowIdentification

func (*NodeIdentifyWithIDToken) ReactTo

type NodeLoginFlowChangePassword

type NodeLoginFlowChangePassword struct {
	JSONPointer   jsonpointer.T         `json:"json_pointer,omitempty"`
	Authenticator *authenticator.Info   `json:"authenticator,omitempty"`
	Reason        *PasswordChangeReason `json:"reason,omitempty"`
}

func (*NodeLoginFlowChangePassword) CanReactTo

func (*NodeLoginFlowChangePassword) GetChangeReason

func (n *NodeLoginFlowChangePassword) GetChangeReason() *PasswordChangeReason

func (*NodeLoginFlowChangePassword) Kind

func (*NodeLoginFlowChangePassword) OutputData

func (*NodeLoginFlowChangePassword) ReactTo

type NodeLoginFlowTerminateOtherSessions

type NodeLoginFlowTerminateOtherSessions struct {
	JSONPointer jsonpointer.T `json:"json_pointer,omitempty"`
}

func (*NodeLoginFlowTerminateOtherSessions) CanReactTo

func (*NodeLoginFlowTerminateOtherSessions) Kind

func (*NodeLoginFlowTerminateOtherSessions) ReactTo

type NodeLookupIdentityOAuth

type NodeLookupIdentityOAuth struct {
	JSONPointer    jsonpointer.T      `json:"json_pointer,omitempty"`
	SyntheticInput *InputStepIdentify `json:"synthetic_input,omitempty"`
	Alias          string             `json:"alias,omitempty"`
	RedirectURI    string             `json:"redirect_uri,omitempty"`
	ResponseMode   string             `json:"response_mode,omitempty"`
}

func (*NodeLookupIdentityOAuth) CanReactTo

func (*NodeLookupIdentityOAuth) Kind

func (*NodeLookupIdentityOAuth) OutputData

func (*NodeLookupIdentityOAuth) ReactTo

type NodeOAuth

type NodeOAuth struct {
	JSONPointer  jsonpointer.T `json:"json_pointer,omitempty"`
	NewUserID    string        `json:"new_user_id,omitempty"`
	Alias        string        `json:"alias,omitempty"`
	RedirectURI  string        `json:"redirect_uri,omitempty"`
	ResponseMode string        `json:"response_mode,omitempty"`
}

func (*NodeOAuth) CanReactTo

func (n *NodeOAuth) CanReactTo(ctx context.Context, deps *authflow.Dependencies, flows authflow.Flows) (authflow.InputSchema, error)

func (*NodeOAuth) Kind

func (*NodeOAuth) Kind() string

func (*NodeOAuth) OutputData

func (n *NodeOAuth) OutputData(ctx context.Context, deps *authflow.Dependencies, flows authflow.Flows) (authflow.Data, error)

func (*NodeOAuth) ReactTo

func (n *NodeOAuth) ReactTo(ctx context.Context, deps *authflow.Dependencies, flows authflow.Flows, input authflow.Input) (*authflow.Node, error)

type NodePromoteIdentityOAuth

type NodePromoteIdentityOAuth struct {
	JSONPointer    jsonpointer.T      `json:"json_pointer,omitempty"`
	UserID         string             `json:"user_id,omitempty"`
	SyntheticInput *InputStepIdentify `json:"synthetic_input,omitempty"`
	Alias          string             `json:"alias,omitempty"`
	RedirectURI    string             `json:"redirect_uri,omitempty"`
	ResponseMode   string             `json:"response_mode,omitempty"`
}

func (*NodePromoteIdentityOAuth) CanReactTo

func (*NodePromoteIdentityOAuth) Kind

func (*NodePromoteIdentityOAuth) OutputData

func (*NodePromoteIdentityOAuth) ReactTo

type NodePromptCreatePasskey

type NodePromptCreatePasskey struct {
	JSONPointer     jsonpointer.T                  `json:"json_pointer,omitempty"`
	UserID          string                         `json:"user_id,omitempty"`
	CreationOptions *model.WebAuthnCreationOptions `json:"creation_options,omitempty"`
}

func (*NodePromptCreatePasskey) CanReactTo

func (*NodePromptCreatePasskey) Kind

func (n *NodePromptCreatePasskey) Kind() string

func (*NodePromptCreatePasskey) Milestone

func (n *NodePromptCreatePasskey) Milestone()

func (*NodePromptCreatePasskey) MilestonePromptCreatePasskey

func (n *NodePromptCreatePasskey) MilestonePromptCreatePasskey()

func (*NodePromptCreatePasskey) OutputData

func (*NodePromptCreatePasskey) ReactTo

type NodePromptCreatePasskeyData

type NodePromptCreatePasskeyData struct {
	TypedData
	CreationOptions *model.WebAuthnCreationOptions `json:"creation_options,omitempty"`
}

func (NodePromptCreatePasskeyData) Data

func (m NodePromptCreatePasskeyData) Data()

type NodeSentinel

type NodeSentinel struct{}

NodeSentinel is useful to terminate a flow.

func (*NodeSentinel) Kind

func (n *NodeSentinel) Kind() string

type NodeSkipCreationByExistingAuthenticator

type NodeSkipCreationByExistingAuthenticator struct {
	JSONPointer    jsonpointer.T                           `json:"json_pointer,omitempty"`
	Authenticator  *authenticator.Info                     `json:"authenticator,omitempty"`
	Authentication config.AuthenticationFlowAuthentication `json:"authentication,omitempty"`
}

func (*NodeSkipCreationByExistingAuthenticator) Kind

func (*NodeSkipCreationByExistingAuthenticator) Milestone

func (*NodeSkipCreationByExistingAuthenticator) MilestoneDidSelectAuthenticationMethod

func (n *NodeSkipCreationByExistingAuthenticator) MilestoneDidSelectAuthenticationMethod() config.AuthenticationFlowAuthentication

func (*NodeSkipCreationByExistingAuthenticator) MilestoneDoCreateAuthenticator

func (n *NodeSkipCreationByExistingAuthenticator) MilestoneDoCreateAuthenticator() *authenticator.Info

func (*NodeSkipCreationByExistingAuthenticator) MilestoneDoCreateAuthenticatorSkipCreate

func (n *NodeSkipCreationByExistingAuthenticator) MilestoneDoCreateAuthenticatorSkipCreate()

func (*NodeSkipCreationByExistingAuthenticator) MilestoneDoCreateAuthenticatorUpdate

func (n *NodeSkipCreationByExistingAuthenticator) MilestoneDoCreateAuthenticatorUpdate(newInfo *authenticator.Info)

func (*NodeSkipCreationByExistingAuthenticator) MilestoneFlowCreateAuthenticator

func (*NodeSkipCreationByExistingAuthenticator) MilestoneFlowSelectAuthenticationMethod

type NodeUseAccountLinkingIdentification

type NodeUseAccountLinkingIdentification struct {
	Option   AccountLinkingIdentificationOption `json:"option,omitempty"`
	Conflict *AccountLinkingConflict            `json:"conflict,omitempty"`

	// oauth
	RedirectURI  string `json:"redirect_uri,omitempty"`
	ResponseMode string `json:"response_mode,omitempty"`
}

func (*NodeUseAccountLinkingIdentification) Kind

func (*NodeUseAccountLinkingIdentification) Milestone

func (*NodeUseAccountLinkingIdentification) MilestoneUseAccountLinkingIdentification

func (n *NodeUseAccountLinkingIdentification) MilestoneUseAccountLinkingIdentification() *AccountLinkingConflict

func (*NodeUseAccountLinkingIdentification) MilestoneUseAccountLinkingIdentificationRedirectURI

func (n *NodeUseAccountLinkingIdentification) MilestoneUseAccountLinkingIdentificationRedirectURI() string

func (*NodeUseAccountLinkingIdentification) MilestoneUseAccountLinkingIdentificationResponseMode

func (n *NodeUseAccountLinkingIdentification) MilestoneUseAccountLinkingIdentificationResponseMode() string

func (*NodeUseAccountLinkingIdentification) MilestoneUseAccountLinkingIdentificationSelectedOption

func (n *NodeUseAccountLinkingIdentification) MilestoneUseAccountLinkingIdentificationSelectedOption() AccountLinkingIdentificationOption

type NodeUseAccountRecoveryCode

type NodeUseAccountRecoveryCode struct {
	JSONPointer jsonpointer.T `json:"json_pointer,omitempty"`
	Code        string        `json:"code,omitempty"`
}

func (*NodeUseAccountRecoveryCode) Kind

func (*NodeUseAccountRecoveryCode) Milestone

func (*NodeUseAccountRecoveryCode) Milestone()

func (*NodeUseAccountRecoveryCode) MilestoneAccountRecoveryCode

func (n *NodeUseAccountRecoveryCode) MilestoneAccountRecoveryCode() string

type NodeUseAccountRecoveryDestination

type NodeUseAccountRecoveryDestination struct {
	Destination *AccountRecoveryDestinationOptionInternal `json:"destination,omitempty"`
}

func (*NodeUseAccountRecoveryDestination) Kind

func (*NodeUseAccountRecoveryDestination) Milestone

func (*NodeUseAccountRecoveryDestination) Milestone()

func (*NodeUseAccountRecoveryDestination) MilestoneDoUseAccountRecoveryDestination

func (n *NodeUseAccountRecoveryDestination) MilestoneDoUseAccountRecoveryDestination() *AccountRecoveryDestinationOptionInternal

type NodeVerifyClaim

type NodeVerifyClaim struct {
	JSONPointer          jsonpointer.T                 `json:"json_pointer,omitempty"`
	UserID               string                        `json:"user_id,omitempty"`
	Purpose              otp.Purpose                   `json:"purpose,omitempty"`
	MessageType          translation.MessageType       `json:"message_type,omitempty"`
	Form                 otp.Form                      `json:"form,omitempty"`
	ClaimName            model.ClaimName               `json:"claim_name,omitempty"`
	ClaimValue           string                        `json:"claim_value,omitempty"`
	Channel              model.AuthenticatorOOBChannel `json:"channel,omitempty"`
	WebsocketChannelName string                        `json:"websocket_channel_name,omitempty"`
}

func NewNodeVerifyClaim

func NewNodeVerifyClaim(n *NodeVerifyClaim) *NodeVerifyClaim

func (*NodeVerifyClaim) CanReactTo

func (*NodeVerifyClaim) Kind

func (n *NodeVerifyClaim) Kind() string

func (*NodeVerifyClaim) OutputData

func (n *NodeVerifyClaim) OutputData(ctx context.Context, deps *authflow.Dependencies, flows authflow.Flows) (authflow.Data, error)

func (*NodeVerifyClaim) ReactTo

func (*NodeVerifyClaim) SendCode

func (n *NodeVerifyClaim) SendCode(ctx context.Context, deps *authflow.Dependencies) error

type OAuthData

type OAuthData struct {
	TypedData
	Alias                 string         `json:"alias,omitempty"`
	OAuthProviderType     string         `json:"oauth_provider_type,omitempty"`
	OAuthAuthorizationURL string         `json:"oauth_authorization_url,omitempty"`
	WechatAppType         wechat.AppType `json:"wechat_app_type,omitempty"`
}

func NewOAuthData

func NewOAuthData(d OAuthData) OAuthData

func (OAuthData) Data

func (OAuthData) Data()

type PasswordChangeReason

type PasswordChangeReason string
const (
	PasswordChangeReasonPolicy PasswordChangeReason = "policy"
	// nolint: gosec // This is not a credential
	PasswordChangeReasonExpiry PasswordChangeReason = "expiry"
)

type PasswordPolicy

type PasswordPolicy struct {
	MinimumLength      *int                   `json:"minimum_length,omitempty"`
	UppercaseRequired  bool                   `json:"uppercase_required,omitempty"`
	LowercaseRequired  bool                   `json:"lowercase_required,omitempty"`
	AlphabetRequired   bool                   `json:"alphabet_required,omitempty"`
	DigitRequired      bool                   `json:"digit_required,omitempty"`
	SymbolRequired     bool                   `json:"symbol_required,omitempty"`
	MinimumZxcvbnScore *int                   `json:"minimum_zxcvbn_score,omitempty"`
	History            *PasswordPolicyHistory `json:"history,omitempty"`
	ExcludedKeywords   []string               `json:"excluded_keywords,omitempty"`
}

type PasswordPolicyHistory

type PasswordPolicyHistory struct {
	Enabled bool `json:"enabled"`
	Size    int  `json:"size,omitempty"`
	Days    int  `json:"days,omitempty"`
}

type SelectOOBOTPChannelsData

type SelectOOBOTPChannelsData struct {
	TypedData
	Channels         []model.AuthenticatorOOBChannel `json:"channels,omitempty"`
	MaskedClaimValue string                          `json:"masked_claim_value,omitempty"`
}

func (SelectOOBOTPChannelsData) Data

func (SelectOOBOTPChannelsData) Data()

type StepAuthenticateData

type StepAuthenticateData struct {
	TypedData
	Options            []AuthenticateOptionForOutput `json:"options"`
	DeviceTokenEnabled bool                          `json:"device_token_enabled"`
}

func (StepAuthenticateData) Data

func (m StepAuthenticateData) Data()

type SyntheticInputAccountLinkingIdentify

type SyntheticInputAccountLinkingIdentify struct {
	Identification config.AuthenticationFlowIdentification

	// For identification=email/phone/username
	LoginID string

	// For identification=oauth
	Alias        string
	RedirectURI  string
	ResponseMode string
}

This input is for advancing the login flow with the conflicted existing identity

func (*SyntheticInputAccountLinkingIdentify) GetIdentificationMethod

GetIdentificationMethod implements inputTakeIdentificationMethod.

func (*SyntheticInputAccountLinkingIdentify) GetLoginID

GetLoginID implements inputTakeLoginID.

func (*SyntheticInputAccountLinkingIdentify) GetOAuthAlias

func (i *SyntheticInputAccountLinkingIdentify) GetOAuthAlias() string

GetOAuthAlias implements inputTakeOAuthAuthorizationRequest.

func (*SyntheticInputAccountLinkingIdentify) GetOAuthRedirectURI

func (i *SyntheticInputAccountLinkingIdentify) GetOAuthRedirectURI() string

GetOAuthRedirectURI implements inputTakeOAuthAuthorizationRequest.

func (*SyntheticInputAccountLinkingIdentify) GetOAuthResponseMode

func (i *SyntheticInputAccountLinkingIdentify) GetOAuthResponseMode() string

GetOAuthResponseMode implements inputTakeOAuthAuthorizationRequest.

func (*SyntheticInputAccountLinkingIdentify) Input

type SyntheticInputLDAP

type SyntheticInputLDAP struct {
	ServerName string
	Username   string
	Password   string
}

func (*SyntheticInputLDAP) GetIdentificationMethod

func (i *SyntheticInputLDAP) GetIdentificationMethod() config.AuthenticationFlowIdentification

func (*SyntheticInputLDAP) GetPassword

func (i *SyntheticInputLDAP) GetPassword() string

func (*SyntheticInputLDAP) GetServerName

func (i *SyntheticInputLDAP) GetServerName() string

func (*SyntheticInputLDAP) GetUsername

func (i *SyntheticInputLDAP) GetUsername() string

func (*SyntheticInputLDAP) Input

func (*SyntheticInputLDAP) Input()

type SyntheticInputOAuth

type SyntheticInputOAuth struct {
	Identification config.AuthenticationFlowIdentification `json:"identification,omitempty"`
	Alias          string                                  `json:"alias,omitempty"`
	State          string                                  `json:"state,omitempty"`
	RedirectURI    string                                  `json:"redirect_uri,omitempty"`
	ResponseMode   string                                  `json:"response_mode,omitempty"`
	IdentitySpec   *identity.Spec                          `json:"identity_spec,omitempty"`
	BotProtection  *InputTakeBotProtectionBody             `json:"bot_protection,omitempty"`
}

func (*SyntheticInputOAuth) GetBotProtectionProvider

func (i *SyntheticInputOAuth) GetBotProtectionProvider() *InputTakeBotProtectionBody

func (*SyntheticInputOAuth) GetBotProtectionProviderResponse

func (i *SyntheticInputOAuth) GetBotProtectionProviderResponse() string

func (*SyntheticInputOAuth) GetBotProtectionProviderType

func (i *SyntheticInputOAuth) GetBotProtectionProviderType() config.BotProtectionProviderType

func (*SyntheticInputOAuth) GetIdentificationMethod

func (i *SyntheticInputOAuth) GetIdentificationMethod() config.AuthenticationFlowIdentification

func (*SyntheticInputOAuth) GetIdentitySpec

func (i *SyntheticInputOAuth) GetIdentitySpec() *identity.Spec

func (*SyntheticInputOAuth) GetOAuthAlias

func (i *SyntheticInputOAuth) GetOAuthAlias() string

func (*SyntheticInputOAuth) GetOAuthRedirectURI

func (i *SyntheticInputOAuth) GetOAuthRedirectURI() string

func (*SyntheticInputOAuth) GetOAuthResponseMode

func (i *SyntheticInputOAuth) GetOAuthResponseMode() string

func (*SyntheticInputOAuth) GetOAuthState

func (i *SyntheticInputOAuth) GetOAuthState() string

func (*SyntheticInputOAuth) Input

func (*SyntheticInputOAuth) Input()

type SyntheticInputPasskey

type SyntheticInputPasskey struct {
	Identification    config.AuthenticationFlowIdentification `json:"identification,omitempty"`
	AssertionResponse *protocol.CredentialAssertionResponse   `json:"assertion_response,omitempty"`
	BotProtection     *InputTakeBotProtectionBody             `json:"bot_protection,omitempty"`
}

func (*SyntheticInputPasskey) GetAssertionResponse

func (i *SyntheticInputPasskey) GetAssertionResponse() *protocol.CredentialAssertionResponse

func (*SyntheticInputPasskey) GetBotProtectionProvider

func (i *SyntheticInputPasskey) GetBotProtectionProvider() *InputTakeBotProtectionBody

func (*SyntheticInputPasskey) GetBotProtectionProviderResponse

func (i *SyntheticInputPasskey) GetBotProtectionProviderResponse() string

func (*SyntheticInputPasskey) GetBotProtectionProviderType

func (i *SyntheticInputPasskey) GetBotProtectionProviderType() config.BotProtectionProviderType

func (*SyntheticInputPasskey) GetIdentificationMethod

func (i *SyntheticInputPasskey) GetIdentificationMethod() config.AuthenticationFlowIdentification

func (*SyntheticInputPasskey) Input

func (*SyntheticInputPasskey) Input()

type TypedData

type TypedData struct {
	Type DataType `json:"type,omitempty"`
}

type VerifyOOBOTPData

type VerifyOOBOTPData struct {
	TypedData
	Channel                        model.AuthenticatorOOBChannel `json:"channel,omitempty"`
	OTPForm                        otp.Form                      `json:"otp_form,omitempty"`
	WebsocketURL                   string                        `json:"websocket_url,omitempty"`
	MaskedClaimValue               string                        `json:"masked_claim_value,omitempty"`
	CodeLength                     int                           `json:"code_length,omitempty"`
	CanResendAt                    time.Time                     `json:"can_resend_at,omitempty"`
	CanCheck                       bool                          `json:"can_check"`
	FailedAttemptRateLimitExceeded bool                          `json:"failed_attempt_rate_limit_exceeded"`
}

func NewVerifyOOBOTPData

func NewVerifyOOBOTPData(d VerifyOOBOTPData) VerifyOOBOTPData

func (VerifyOOBOTPData) Data

func (m VerifyOOBOTPData) Data()

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL