Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CapabilitiesSubFlow = flowpilot.NewSubFlow(shared.FlowCapabilities). State(shared.StatePreflight, capabilities.RegisterClientCapabilities{}). MustBuild()
View Source
var CredentialOnboardingSubFlow = flowpilot.NewSubFlow(shared.FlowCredentialOnboarding). State(shared.StateCredentialOnboardingChooser, credential_onboarding.ContinueToPasskey{}, credential_onboarding.ContinueToPassword{}, credential_onboarding.SkipCredentialOnboardingMethodChooser{}, shared.Back{}). State(shared.StateOnboardingCreatePasskey, credential_onboarding.WebauthnGenerateCreationOptions{}, credential_onboarding.SkipPasskey{}, shared.Back{}). State(shared.StateOnboardingVerifyPasskeyAttestation, credential_onboarding.WebauthnVerifyAttestationResponse{}, shared.Back{}). State(shared.StatePasswordCreation, credential_onboarding.RegisterPassword{}, credential_onboarding.SkipPassword{}, shared.Back{}). MustBuild()
View Source
var CredentialUsageSubFlow = flowpilot.NewSubFlow(shared.FlowCredentialUsage). State(shared.StateLoginInit, credential_usage.ContinueWithLoginIdentifier{}, credential_usage.WebauthnGenerateRequestOptions{}, credential_usage.WebauthnVerifyAssertionResponse{}, credential_usage.RememberMe{}, shared.ThirdPartyOAuth{}). State(shared.StateLoginPasskey, credential_usage.WebauthnVerifyAssertionResponse{}, shared.Back{}). State(shared.StateThirdParty, shared.ExchangeToken{}). State(shared.StateLoginMethodChooser, credential_usage.ContinueToPasswordLogin{}, credential_usage.ContinueToPasscodeConfirmation{}, shared.Back{}, ). State(shared.StateLoginPassword, credential_usage.PasswordLogin{}, credential_usage.ContinueToPasscodeConfirmationRecovery{}, shared.Back{}, ). State(shared.StateLoginPasswordRecovery, credential_usage.PasswordRecovery{}). State(shared.StatePasscodeConfirmation, credential_usage.VerifyPasscode{}, credential_usage.ReSendPasscode{}, shared.Back{}). BeforeState(shared.StatePasscodeConfirmation, credential_usage.SendPasscode{}). MustBuild()
View Source
var DeviceTrustSubFlow = flowpilot.NewSubFlow(shared.FlowDeviceTrust). State(shared.StateDeviceTrust, device_trust.TrustDevice{}, shared.Skip{}, shared.Back{}). MustBuild()
View Source
var MFACreationSubFlow = flowpilot.NewSubFlow(shared.FlowMFACreation). State(shared.StateMFAMethodChooser, mfa_creation.ContinueToOTPSecretCreation{}, mfa_creation.ContinueToSecurityKeyCreation{}, mfa_creation.SkipMFA{}, shared.Back{}). BeforeState(shared.StateMFAOTPSecretCreation, mfa_creation.OTPSecretGenerate{}). State(shared.StateMFAOTPSecretCreation, mfa_creation.OTPCodeVerify{}, shared.Back{}). State(shared.StateMFASecurityKeyCreation, mfa_creation.WebauthnGenerateCreationOptionsForSecurityKeys{}, shared.Back{}). MustBuild()
View Source
var MFAUsageSubFlow = flowpilot.NewSubFlow(shared.FlowMFAUsage). State(shared.StateLoginSecurityKey, mfa_usage.WebauthnGenerateRequestOptionsSecurityKey{}, mfa_usage.ContinueToLoginOTP{}). State(shared.StateLoginOTP, mfa_usage.OTPCodeValidate{}, mfa_usage.ContinueToLoginSecurityKey{}). MustBuild()
View Source
var UserDetailsSubFlow = flowpilot.NewSubFlow(shared.FlowUserDetails). State(shared.StateOnboardingUsername, user_details.UsernameSet{}, user_details.SkipUsername{}). State(shared.StateOnboardingEmail, user_details.EmailAddressSet{}, user_details.SkipEmail{}). MustBuild()
Functions ¶
func NewLoginFlow ¶ added in v1.0.1
func NewProfileFlow ¶ added in v1.0.1
func NewRegistrationFlow ¶ added in v1.0.1
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.