Documentation ¶
Index ¶
- Constants
- Variables
- func ConfigureAuthflowV2AccountLinkingRoute(route httproute.Route) httproute.Route
- func ConfigureAuthflowV2AccountStatusRoute(route httproute.Route) httproute.Route
- func ConfigureAuthflowV2ChangePasswordSuccessRoute(route httproute.Route) httproute.Route
- func ConfigureAuthflowV2CreatePasswordRoute(route httproute.Route) httproute.Route
- func ConfigureAuthflowV2EnterOOBOTPRoute(route httproute.Route) httproute.Route
- func ConfigureAuthflowV2EnterPasswordRoute(route httproute.Route) httproute.Route
- func ConfigureAuthflowV2EnterRecoveryCodeRoute(route httproute.Route) httproute.Route
- func ConfigureAuthflowV2EnterTOTPRoute(route httproute.Route) httproute.Route
- func ConfigureAuthflowV2ErrorRoute(route httproute.Route) httproute.Route
- func ConfigureAuthflowV2ForgotPasswordLinkSentRoute(route httproute.Route) httproute.Route
- func ConfigureAuthflowV2ForgotPasswordOTPRoute(route httproute.Route) httproute.Route
- func ConfigureAuthflowV2ForgotPasswordRoute(route httproute.Route) httproute.Route
- func ConfigureAuthflowV2LDAPLoginRoute(route httproute.Route) httproute.Route
- func ConfigureAuthflowV2NoAuthenticatorRoute(route httproute.Route) httproute.Route
- func ConfigureAuthflowV2PreviewRoute(route httproute.Route) httproute.Route
- func ConfigureAuthflowV2PromoteRoute(route httproute.Route) httproute.Route
- func ConfigureAuthflowV2PromptCreatePasskeyRoute(route httproute.Route) httproute.Route
- func ConfigureAuthflowV2ReauthRoute(route httproute.Route) httproute.Route
- func ConfigureAuthflowV2ResetPasswordRoute(route httproute.Route) httproute.Route
- func ConfigureAuthflowV2ResetPasswordSuccessRoute(route httproute.Route) httproute.Route
- func ConfigureAuthflowV2SelectAccountRoute(route httproute.Route) httproute.Route
- func ConfigureAuthflowV2SettingsIdentityAddEmailRoute(route httproute.Route) httproute.Route
- func ConfigureAuthflowV2SettingsIdentityAddPhoneRoute(route httproute.Route) httproute.Route
- func ConfigureAuthflowV2SettingsIdentityChangePrimaryEmailRoute(route httproute.Route) httproute.Route
- func ConfigureAuthflowV2SettingsIdentityChangePrimaryPhoneRoute(route httproute.Route) httproute.Route
- func ConfigureAuthflowV2SettingsIdentityEditEmailRoute(route httproute.Route) httproute.Route
- func ConfigureAuthflowV2SettingsIdentityEditPhoneRoute(route httproute.Route) httproute.Route
- func ConfigureAuthflowV2SettingsIdentityEditUsername(route httproute.Route) httproute.Route
- func ConfigureAuthflowV2SettingsIdentityListEmailRoute(route httproute.Route) httproute.Route
- func ConfigureAuthflowV2SettingsIdentityListOAuthRoute(route httproute.Route) httproute.Route
- func ConfigureAuthflowV2SettingsIdentityListPhoneRoute(route httproute.Route) httproute.Route
- func ConfigureAuthflowV2SettingsIdentityListUsername(route httproute.Route) httproute.Route
- func ConfigureAuthflowV2SettingsIdentityNewUsername(route httproute.Route) httproute.Route
- func ConfigureAuthflowV2SettingsIdentityVerifyEmailRoute(route httproute.Route) httproute.Route
- func ConfigureAuthflowV2SettingsIdentityVerifyPhoneRoute(route httproute.Route) httproute.Route
- func ConfigureAuthflowV2SettingsIdentityViewEmailRoute(route httproute.Route) httproute.Route
- func ConfigureAuthflowV2SettingsIdentityViewPhoneRoute(route httproute.Route) httproute.Route
- func ConfigureAuthflowV2SettingsIdentityViewUsername(route httproute.Route) httproute.Route
- func ConfigureAuthflowV2SettingsMFAChangePassword(route httproute.Route) httproute.Route
- func ConfigureAuthflowV2SettingsMFACreateOOBOTPRoute(route httproute.Route) httproute.Route
- func ConfigureAuthflowV2SettingsMFACreatePassword(route httproute.Route) httproute.Route
- func ConfigureAuthflowV2SettingsMFACreateTOTPRoute(route httproute.Route) httproute.Route
- func ConfigureAuthflowV2SettingsMFAEnterOOBOTPRoute(route httproute.Route) httproute.Route
- func ConfigureAuthflowV2SettingsMFAEnterTOTPRoute(route httproute.Route) httproute.Route
- func ConfigureAuthflowV2SettingsMFAPassword(route httproute.Route) httproute.Route
- func ConfigureAuthflowV2SettingsMFAViewRecoveryCodeRoute(route httproute.Route) httproute.Route
- func ConfigureAuthflowV2SetupOOBOTPRoute(route httproute.Route) httproute.Route
- func ConfigureAuthflowV2SetupTOTPRoute(route httproute.Route) httproute.Route
- func ConfigureAuthflowV2TerminateOtherSessionsRoute(route httproute.Route) httproute.Route
- func ConfigureAuthflowV2UsePasskeyRoute(route httproute.Route) httproute.Route
- func ConfigureAuthflowV2VerifyBotProtectionRoute(route httproute.Route) httproute.Route
- func ConfigureAuthflowV2VerifyLoginLinkOTPRoute(route httproute.Route) httproute.Route
- func ConfigureAuthflowV2ViewRecoveryCodeRoute(route httproute.Route) httproute.Route
- func ConfigureAuthflowV2WechatRoute(route httproute.Route) httproute.Route
- func ConfigureAuthflowv2ChangePasswordRoute(route httproute.Route) httproute.Route
- func ConfigureAuthflowv2FinishFlowRoute(route httproute.Route) httproute.Route
- func ConfigureSettingsV2AdvancedSettingsRoute(route httproute.Route) httproute.Route
- func ConfigureSettingsV2Route(route httproute.Route) httproute.Route
- func ConfigureV2AuthflowOOBOTPLinkRoute(route httproute.Route) httproute.Route
- func PatchGenderForm(form url.Values)
- type AuthFlowV2ForgotPasswordAlternative
- type AuthFlowV2ForgotPasswordAlternativeType
- type AuthFlowV2ForgotPasswordViewModel
- type AuthenticationFlowWebsocketEventStore
- type AuthflowCreatePasswordViewModel
- type AuthflowEnterOOBOTPViewModel
- type AuthflowEnterPasswordViewModel
- type AuthflowForgotPasswordOTPAlternativeChannel
- type AuthflowForgotPasswordOTPViewModel
- type AuthflowLDAPLoginViewModel
- type AuthflowLoginEndpointsProvider
- type AuthflowLoginViewModel
- type AuthflowOOBOTPLinkViewModel
- type AuthflowSetupOOBOTPViewModel
- type AuthflowSetupTOTPViewModel
- type AuthflowV2AccountLinkingHandler
- type AuthflowV2AccountLinkingOption
- type AuthflowV2AccountLinkingViewModel
- type AuthflowV2AccountStatusHandler
- type AuthflowV2ChangePasswordHandler
- type AuthflowV2ChangePasswordNavigator
- type AuthflowV2ChangePasswordSuccessHandler
- type AuthflowV2ChangePasswordSuccessViewModel
- type AuthflowV2CreatePasswordHandler
- func (h *AuthflowV2CreatePasswordHandler) GetData(w http.ResponseWriter, r *http.Request, s *webapp.Session, ...) (map[string]interface{}, error)
- func (h *AuthflowV2CreatePasswordHandler) GetInlinePreviewData(w http.ResponseWriter, r *http.Request) (map[string]interface{}, error)
- func (h *AuthflowV2CreatePasswordHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
- type AuthflowV2EnterOOBOTPHandler
- func (h *AuthflowV2EnterOOBOTPHandler) GetData(w http.ResponseWriter, r *http.Request, s *webapp.Session, ...) (map[string]interface{}, error)
- func (h *AuthflowV2EnterOOBOTPHandler) GetInlinePreviewData(w http.ResponseWriter, r *http.Request) (map[string]interface{}, error)
- func (h *AuthflowV2EnterOOBOTPHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
- type AuthflowV2EnterPasswordHandler
- func (h *AuthflowV2EnterPasswordHandler) GetData(w http.ResponseWriter, r *http.Request, s *webapp.Session, ...) (map[string]interface{}, error)
- func (h *AuthflowV2EnterPasswordHandler) GetInlinePreviewData(w http.ResponseWriter, r *http.Request) (map[string]interface{}, error)
- func (h *AuthflowV2EnterPasswordHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
- type AuthflowV2EnterRecoveryCodeHandler
- type AuthflowV2EnterRecoveryCodeViewModel
- type AuthflowV2EnterTOTPHandler
- func (h *AuthflowV2EnterTOTPHandler) GetData(w http.ResponseWriter, r *http.Request, s *webapp.Session, ...) (map[string]interface{}, error)
- func (h *AuthflowV2EnterTOTPHandler) GetInlinePreviewData(w http.ResponseWriter, r *http.Request) (map[string]interface{}, error)
- func (h *AuthflowV2EnterTOTPHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
- type AuthflowV2EnterTOTPViewModel
- type AuthflowV2ErrorHandler
- func (h *AuthflowV2ErrorHandler) GetData(w http.ResponseWriter, r *http.Request, s *webapp.Session, ...) (map[string]interface{}, error)
- func (h *AuthflowV2ErrorHandler) GetInlinePreviewData(w http.ResponseWriter, r *http.Request) (map[string]interface{}, error)
- func (h *AuthflowV2ErrorHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
- type AuthflowV2FinishFlowHandler
- type AuthflowV2ForgotPasswordHandler
- type AuthflowV2ForgotPasswordLinkSentHandler
- type AuthflowV2ForgotPasswordLinkSentViewModel
- type AuthflowV2ForgotPasswordOTPHandler
- type AuthflowV2LDAPLoginHandler
- type AuthflowV2LoginHandler
- func (h *AuthflowV2LoginHandler) GetData(w http.ResponseWriter, r *http.Request, s *webapp.Session, ...) (map[string]interface{}, error)
- func (h *AuthflowV2LoginHandler) GetInlinePreviewData(w http.ResponseWriter, r *http.Request) (map[string]interface{}, error)
- func (h *AuthflowV2LoginHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
- type AuthflowV2Navigator
- func (n *AuthflowV2Navigator) Navigate(s *webapp.AuthflowScreenWithFlowResponse, r *http.Request, webSessionID string, ...)
- func (n *AuthflowV2Navigator) NavigateChangePasswordSuccessPage(s *webapp.AuthflowScreen, r *http.Request, webSessionID string) (result *webapp.Result)
- func (n *AuthflowV2Navigator) NavigateNonRecoverableError(r *http.Request, u *url.URL, e error)
- func (n *AuthflowV2Navigator) NavigateResetPasswordSuccessPage() string
- func (n *AuthflowV2Navigator) NavigateSelectAccount(result *webapp.Result)
- func (n *AuthflowV2Navigator) NavigateVerifyBotProtection(result *webapp.Result)
- type AuthflowV2NavigatorEndpointsProvider
- type AuthflowV2NavigatorOAuthStateStore
- type AuthflowV2NoAuthenticatorHandler
- type AuthflowV2NotFoundHandler
- type AuthflowV2OOBOTPLinkHandler
- func (h *AuthflowV2OOBOTPLinkHandler) GetData(w http.ResponseWriter, r *http.Request, s *webapp.Session, ...) (map[string]interface{}, error)
- func (h *AuthflowV2OOBOTPLinkHandler) GetInlinePreviewData(w http.ResponseWriter, r *http.Request) (map[string]interface{}, error)
- func (h *AuthflowV2OOBOTPLinkHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
- type AuthflowV2PromoteEndpointsProvider
- type AuthflowV2PromoteHandler
- type AuthflowV2PromptCreatePasskeyHandler
- func (h *AuthflowV2PromptCreatePasskeyHandler) GetData(w http.ResponseWriter, r *http.Request, s *webapp.Session, ...) (map[string]interface{}, error)
- func (h *AuthflowV2PromptCreatePasskeyHandler) GetInlinePreviewData(w http.ResponseWriter, r *http.Request) (map[string]interface{}, error)
- func (h *AuthflowV2PromptCreatePasskeyHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
- type AuthflowV2PromptCreatePasskeyViewModel
- type AuthflowV2ReauthHandler
- type AuthflowV2ResetPasswordHandler
- func (h *AuthflowV2ResetPasswordHandler) GetAuthflowData(w http.ResponseWriter, r *http.Request, ...) (map[string]interface{}, error)
- func (h *AuthflowV2ResetPasswordHandler) GetAuthflowErrorData(w http.ResponseWriter, r *http.Request, err error) (map[string]interface{}, error)
- func (h *AuthflowV2ResetPasswordHandler) GetNonAuthflowData(w http.ResponseWriter, r *http.Request) (map[string]interface{}, error)
- func (h *AuthflowV2ResetPasswordHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
- type AuthflowV2ResetPasswordSuccessHandler
- type AuthflowV2ResetPasswordSuccessViewModel
- type AuthflowV2SelectAccountHandler
- type AuthflowV2SettingsAdvancedSettingsHandler
- type AuthflowV2SettingsBiometricHandler
- type AuthflowV2SettingsChangePasskeyHandler
- type AuthflowV2SettingsChangePasswordHandler
- type AuthflowV2SettingsDeleteAccountHandler
- type AuthflowV2SettingsDeleteAccountSuccessHandler
- type AuthflowV2SettingsDeleteAccountViewModel
- type AuthflowV2SettingsHandler
- type AuthflowV2SettingsIdentityAddEmailHandler
- type AuthflowV2SettingsIdentityAddEmailViewModel
- type AuthflowV2SettingsIdentityAddPhoneHandler
- type AuthflowV2SettingsIdentityAddPhoneViewModel
- type AuthflowV2SettingsIdentityChangePrimaryEmailHandler
- type AuthflowV2SettingsIdentityChangePrimaryEmailViewModel
- type AuthflowV2SettingsIdentityChangePrimaryPhoneHandler
- type AuthflowV2SettingsIdentityChangePrimaryPhoneViewModel
- type AuthflowV2SettingsIdentityEditEmailHandler
- type AuthflowV2SettingsIdentityEditEmailViewModel
- type AuthflowV2SettingsIdentityEditPhoneHandler
- type AuthflowV2SettingsIdentityEditPhoneViewModel
- type AuthflowV2SettingsIdentityEditUsernameHandler
- type AuthflowV2SettingsIdentityEditUsernameViewModel
- type AuthflowV2SettingsIdentityListEmailHandler
- type AuthflowV2SettingsIdentityListEmailViewModel
- type AuthflowV2SettingsIdentityListOAuthHandler
- type AuthflowV2SettingsIdentityListOAuthViewModel
- type AuthflowV2SettingsIdentityListPhoneHandler
- type AuthflowV2SettingsIdentityListPhoneViewModel
- type AuthflowV2SettingsIdentityListUsernameHandler
- type AuthflowV2SettingsIdentityListUsernameViewModel
- type AuthflowV2SettingsIdentityNewUsernameHandler
- type AuthflowV2SettingsIdentityNewUsernameViewModel
- type AuthflowV2SettingsIdentityVerifyEmailHandler
- type AuthflowV2SettingsIdentityVerifyEmailViewModel
- type AuthflowV2SettingsIdentityVerifyPhoneHandler
- type AuthflowV2SettingsIdentityVerifyPhoneViewModel
- type AuthflowV2SettingsIdentityViewEmailHandler
- type AuthflowV2SettingsIdentityViewEmailViewModel
- type AuthflowV2SettingsIdentityViewPhoneHandler
- type AuthflowV2SettingsIdentityViewPhoneViewModel
- type AuthflowV2SettingsIdentityViewUsernameHandler
- type AuthflowV2SettingsIdentityViewUsernameViewModel
- type AuthflowV2SettingsMFAChangePasswordHandler
- type AuthflowV2SettingsMFACreateOOBOTPHandler
- type AuthflowV2SettingsMFACreatePasswordHandler
- type AuthflowV2SettingsMFACreateTOTPHandler
- type AuthflowV2SettingsMFACreateTOTPViewModel
- type AuthflowV2SettingsMFAEnterOOBOTPHandler
- type AuthflowV2SettingsMFAEnterTOTPHandler
- type AuthflowV2SettingsMFAEnterTOTPViewModel
- type AuthflowV2SettingsMFAHandler
- type AuthflowV2SettingsMFAPasswordHandler
- type AuthflowV2SettingsMFAViewRecoveryCodeHandler
- type AuthflowV2SettingsMFAViewRecoveryCodeViewModel
- type AuthflowV2SettingsOOBOTPHandler
- type AuthflowV2SettingsOOBOTPViewModel
- type AuthflowV2SettingsPasskeyViewModel
- type AuthflowV2SettingsProfileEditHandler
- type AuthflowV2SettingsProfileHandler
- type AuthflowV2SettingsSessionsHandler
- type AuthflowV2SettingsTOTPHandler
- type AuthflowV2SettingsTOTPViewModel
- type AuthflowV2SetupOOBOTPHandler
- type AuthflowV2SetupTOTPHandler
- type AuthflowV2SignupHandler
- type AuthflowV2SignupServeOptions
- type AuthflowV2SignupUIVariant
- type AuthflowV2SignupViewModel
- type AuthflowV2TerminateOtherSessionsHandler
- type AuthflowV2UsePasskeyHandler
- func (h *AuthflowV2UsePasskeyHandler) GetData(w http.ResponseWriter, r *http.Request, s *webapp.Session, ...) (map[string]interface{}, error)
- func (h *AuthflowV2UsePasskeyHandler) GetInlinePreviewData(w http.ResponseWriter, r *http.Request) (map[string]interface{}, error)
- func (h *AuthflowV2UsePasskeyHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
- type AuthflowV2UsePasskeyViewModel
- type AuthflowV2VerifyBotProtectionHandler
- type AuthflowV2VerifyLoginLinkOTPHandler
- type AuthflowV2ViewRecoveryCodeHandler
- type AuthflowV2WechatHandler
- type AuthflowV2WechatHandlerOAuthStateStore
- type AuthflowViewRecoveryCodeViewModel
- type AuthflowWechatViewModel
- type Authorization
- type BiometricIdentity
- type BiometricIdentityProvider
- type ForgotPasswordLoginIDInputType
- type InternalAuthflowV2SignupLoginHandler
- func (h *InternalAuthflowV2SignupLoginHandler) GetData(w http.ResponseWriter, r *http.Request, s *webapp.Session, ...) (map[string]interface{}, error)
- func (h *InternalAuthflowV2SignupLoginHandler) GetInlinePreviewData(w http.ResponseWriter, r *http.Request, options AuthflowV2SignupServeOptions) (map[string]interface{}, error)
- func (h *InternalAuthflowV2SignupLoginHandler) ServeHTTP(w http.ResponseWriter, r *http.Request, options AuthflowV2SignupServeOptions)
- type LoginLinkOTPPageQueryState
- type PasskeyCreationOptionsService
- type ResetPasswordHandlerDatabase
- type ResetPasswordHandlerPasswordPolicy
- type ResetPasswordHandlerResetPasswordService
- type SelectAccountAuthenticationInfoService
- type SelectAccountIdentityService
- type SelectAccountUIInfoResolver
- type SelectAccountUserFacade
- type SelectAccountUserService
- type SelectAccountViewModel
- type SettingsAccountDeletionViewModel
- type SettingsBiometricViewModel
- type SettingsMFACreateOOBOTPViewModel
- type SettingsMFAEnterOOBOTPViewModel
- type SettingsSessionsViewModel
- type VerifyLoginLinkOTPViewModel
Constants ¶
View Source
const ( AuthflowV2RouteLogin = "/login" AuthflowV2RouteSignup = "/signup" AuthflowV2RoutePromote = "/flows/promote_user" AuthflowV2RouteReauth = "/reauth" AuthflowV2RouteSelectAccount = "/authflow/v2/select_account" AuthflowV2RouteVerifyBotProtection = "/authflow/v2/verify_bot_protection" // AuthflowV2RouteSignupLogin is login because login page has passkey. AuthflowV2RouteSignupLogin = AuthflowV2RouteLogin AuthflowV2RouteTerminateOtherSessions = "/authflow/v2/terminate_other_sessions" // nolint: gosec AuthflowV2RoutePromptCreatePasskey = "/authflow/v2/prompt_create_passkey" AuthflowV2RouteViewRecoveryCode = "/authflow/v2/view_recovery_code" // nolint: gosec AuthflowV2RouteCreatePassword = "/authflow/v2/create_password" // nolint: gosec AuthflowV2RouteChangePassword = "/authflow/v2/change_password" // nolint: gosec AuthflowV2RouteChangePasswordSuccess = "/authflow/v2/change_password/success" // nolint: gosec AuthflowV2RouteEnterPassword = "/authflow/v2/enter_password" AuthflowV2RouteEnterRecoveryCode = "/authflow/v2/enter_recovery_code" AuthflowV2RouteEnterOOBOTP = "/authflow/v2/enter_oob_otp" AuthflowV2RouteOOBOTPLink = "/authflow/v2/oob_otp_link" AuthflowV2RouteVerifyLink = "/authflow/v2/verify_login_link" AuthflowV2RouteEnterTOTP = "/authflow/v2/enter_totp" AuthflowV2RouteSetupTOTP = "/authflow/v2/setup_totp" AuthflowV2RouteSetupOOBOTP = "/authflow/v2/setup_oob_otp" AuthflowV2RouteLDAPLogin = "/authflow/v2/ldap_login" // nolint: gosec AuthflowV2RouteUsePasskey = "/authflow/v2/use_passkey" // nolint: gosec AuthflowV2RouteForgotPassword = "/authflow/v2/forgot_password" // nolint: gosec AuthflowV2RouteForgotPasswordOTP = "/authflow/v2/forgot_password/otp" // nolint: gosec AuthflowV2RouteForgotPasswordLinkSent = "/authflow/v2/forgot_password/link/sent" // nolint: gosec AuthflowV2RouteResetPassword = "/authflow/v2/reset_password" // nolint: gosec AuthflowV2RouteResetPasswordSuccess = "/authflow/v2/reset_password/success" AuthflowV2RouteWechat = "/authflow/v2/wechat" AuthflowV2RouteAccountLinking = "/authflow/v2/account_linking" SettingsV2RouteSettings = "/settings" SettingsV2RouteProfilePictureEditSettings = "/settings/profile/picture/edit" SettingsV2RouteSettingsProfileGenderEdit = "/settings/profile/gender/edit" SettingsV2RouteAdvancedSettings = "/settings/advanced_settings" // The following routes are dead ends. AuthflowV2RouteAccountStatus = "/authflow/v2/account_status" AuthflowV2RouteNoAuthenticator = "/authflow/v2/no_authenticator" AuthflowV2RouteFinishFlow = "/authflow/v2/finish" AuthflowV2RouteSettingsProfile = "/settings/v2/profile" AuthflowV2RouteSettingsMFA = "/settings/mfa" AuthflowV2RouteSettingsMFAViewRecoveryCode = "/settings/mfa/view_recovery_code" // nolint: gosec AuthflowV2RouteSettingsMFACreatePassword = "/settings/mfa/create_password" AuthflowV2RouteSettingsMFACreateOOBOTP = "/settings/mfa/create_oob_otp_:channel" AuthflowV2RouteSettingsMFAEnterOOBOTP = "/settings/mfa/enter_oob_otp" // nolint: gosec AuthflowV2RouteSettingsMFAPassword = "/settings/mfa/password" // nolint: gosec AuthflowV2RouteSettingsMFAChangePassword = "/settings/mfa/change_password" AuthflowV2RouteSettingsMFACreateTOTP = "/settings/mfa/create_totp" AuthflowV2RouteSettingsMFAEnterTOTP = "/settings/mfa/enter_totp" AuthflowV2RouteSettingsIdentityListEmail = "/settings/identity/email" AuthflowV2RouteSettingsIdentityAddEmail = "/settings/identity/add_email" AuthflowV2RouteSettingsIdentityChangeEmail = "/settings/identity/change_email" AuthflowV2RouteSettingsIdentityViewEmail = "/settings/identity/view_email" AuthflowV2RouteSettingsIdentityChangePrimaryEmail = "/settings/identity/change_primary_email" AuthflowV2RouteSettingsIdentityVerifyEmail = "/settings/identity/verify_email" AuthflowV2RouteSettingsIdentityListPhone = "/settings/identity/phone" AuthflowV2RouteSettingsIdentityAddPhone = "/settings/identity/add_phone" AuthflowV2RouteSettingsIdentityChangePhone = "/settings/identity/change_phone" AuthflowV2RouteSettingsIdentityViewPhone = "/settings/identity/view_phone" AuthflowV2RouteSettingsIdentityChangePrimaryPhone = "/settings/identity/change_primary_phone" AuthflowV2RouteSettingsIdentityVerifyPhone = "/settings/identity/verify_phone" AuthflowV2RouteSettingsIdentityListUsername = "/settings/identity/username" AuthflowV2RouteSettingsIdentityAddUsername = "/settings/identity/add_username" AuthflowV2RouteSettingsIdentityViewUsername = "/settings/identity/view_username" AuthflowV2RouteSettingsIdentityChangeUsername = "/settings/identity/change_username" AuthflowV2RouteSettingsIdentityListOAuth = "/settings/identity/oauth" AuthflowV2RouteSettingsIdentityOAuthCallback = "/settings/identity/oauth/callback" )
View Source
const LoginLinkOTPPageQueryStateKey = "state"
Variables ¶
View Source
var AuthflowChangePasswordSchema = validation.NewSimpleSchema(`
{
"type": "object",
"properties": {
"x_new_password": { "type": "string" },
"x_confirm_password": { "type": "string" }
},
"required": ["x_new_password", "x_confirm_password"]
}
`)
View Source
var AuthflowCreatePasswordSchema = validation.NewSimpleSchema(`
{
"type": "object",
"properties": {
"x_password": { "type": "string" },
"x_confirm_password": { "type": "string" }
},
"required": ["x_password", "x_confirm_password"]
}
`)
View Source
var AuthflowEnterOOBOTPSchema = validation.NewSimpleSchema(`
{
"type": "object",
"properties": {
"x_code": {
"type": "string",
"format": "x_oob_otp_code"
}
},
"required": ["x_code"]
}
`)
View Source
var AuthflowEnterPasswordSchema = validation.NewSimpleSchema(`
{
"type": "object",
"properties": {
"x_password": { "type": "string" }
},
"required": ["x_password"]
}
`)
View Source
var AuthflowEnterRecoveryCodeSchema = validation.NewSimpleSchema(`
{
"type": "object",
"properties": {
"x_recovery_code": {
"type": "string",
"format": "x_recovery_code"
}
},
"required": ["x_recovery_code"]
}
`)
View Source
var AuthflowEnterTOTPSchema = validation.NewSimpleSchema(`
{
"type": "object",
"properties": {
"x_code": { "type": "string" }
},
"required": ["x_code"]
}
`)
View Source
var AuthflowForgotPasswordOTPSchema = validation.NewSimpleSchema(`
{
"type": "object",
"properties": {
"x_code": {
"type": "string",
"format": "x_oob_otp_code"
}
},
"required": ["x_code"]
}
`)
View Source
var AuthflowLDAPLoginSchema = validation.NewSimpleSchema(`
{
"type": "object",
"properties": {
"x_username": { "type": "string" },
"x_password": { "type": "string" }
},
"required": ["x_username", "x_password"]
}
`)
View Source
var AuthflowLoginLoginIDSchema = validation.NewSimpleSchema(`
{
"type": "object",
"properties": {
"x_login_id": { "type": "string" },
"x_login_id_input_type": { "type": "string" }
},
"required": ["x_login_id", "x_login_id_input_type"]
}
`)
View Source
var AuthflowPromoteLoginIDSchema = validation.NewSimpleSchema(`
{
"type": "object",
"properties": {
"q_login_id_key": { "type": "string" },
"q_login_id": { "type": "string" }
},
"required": ["q_login_id_key", "q_login_id"]
}
`)
View Source
var AuthflowResetPasswordSchema = validation.NewSimpleSchema(`
{
"type": "object",
"properties": {
"x_password": { "type": "string" },
"x_confirm_password": { "type": "string" }
},
"required": ["x_password", "x_confirm_password"]
}
`)
View Source
var AuthflowSetupOOBOTPSchema = validation.NewSimpleSchema(`
{
"type": "object",
"properties": {
"x_target": { "type": "string" }
},
"required": ["x_target"]
}
`)
View Source
var AuthflowSetupTOTPSchema = validation.NewSimpleSchema(`
{
"type": "object",
"properties": {
"x_code": { "type": "string" }
},
"required": ["x_code"]
}
`)
View Source
var AuthflowV2AccountLinkingIdentifySchema = validation.NewSimpleSchema(`
{
"type": "object",
"properties": {
"x_index": { "type": "string" }
},
"required": ["x_index"]
}
`)
View Source
var AuthflowV2ForgotPasswordSchema = validation.NewSimpleSchema(`
{
"type": "object",
"properties": {
"x_login_id": { "type": "string" },
"x_login_id_type": { "type": "string", "enum": ["phone", "email"] }
},
"required": ["x_login_id", "x_login_id_type"]
}
`)
View Source
var AuthflowV2SettingsChangePasswordSchema = validation.NewSimpleSchema(`
{
"type": "object",
"properties": {
"x_old_password": { "type": "string" },
"x_new_password": { "type": "string" },
"x_confirm_password": { "type": "string" }
},
"required": ["x_old_password", "x_new_password", "x_confirm_password"]
}
`)
View Source
var AuthflowV2SettingsIdentityAddEmailSchema = validation.NewSimpleSchema(`
{
"type": "object",
"properties": {
"x_login_id": { "type": "string" }
},
"required": ["x_login_id"]
}
`)
View Source
var AuthflowV2SettingsIdentityAddPhoneSchema = validation.NewSimpleSchema(`
{
"type": "object",
"properties": {
"x_channel": { "type": "string" },
"x_login_id": { "type": "string" }
},
"required": ["x_channel", "x_login_id"]
}
`)
View Source
var AuthflowV2SettingsIdentityDeleteUsernameSchema = validation.NewSimpleSchema(`
{
"type": "object",
"properties": {
"x_login_id_key": { "type": "string" },
"x_identity_id": { "type": "string" }
},
"required": ["x_identity_id", "x_login_id_key"]
}
`)
View Source
var AuthflowV2SettingsIdentityEditEmailSchema = validation.NewSimpleSchema(`
{
"type": "object",
"properties": {
"x_login_id": { "type": "string" },
"x_identity_id": { "type": "string" }
},
"required": ["x_login_id", "x_identity_id"]
}
`)
View Source
var AuthflowV2SettingsIdentityEditPhoneSchema = validation.NewSimpleSchema(`
{
"type": "object",
"properties": {
"x_channel": { "type": "string" },
"x_login_id": { "type": "string" },
"x_identity_id": { "type": "string" }
},
"required": ["x_channel", "x_login_id", "x_identity_id"]
}
`)
View Source
var AuthflowV2SettingsIdentityEditUsernameSchema = validation.NewSimpleSchema(`
{
"type": "object",
"properties": {
"x_login_id_key": { "type": "string" },
"x_login_id": { "type": "string" },
"x_identity_id": { "type": "string" }
},
"required": ["x_login_id_key", "x_login_id", "x_identity_id"]
}
`)
View Source
var AuthflowV2SettingsIdentityNewUsernameSchema = validation.NewSimpleSchema(`
{
"type": "object",
"properties": {
"x_login_id_key": { "type": "string" },
"x_login_id": { "type": "string" }
},
"required": ["x_login_id_key", "x_login_id"]
}
`)
View Source
var AuthflowV2SettingsIdentityResendEmailSchema = validation.NewSimpleSchema(`
{
"type": "object",
"properties": {
"q_token": { "type": "string" }
},
"required": ["q_token"]
}
`)
View Source
var AuthflowV2SettingsIdentityResendOOBOTPSchema = validation.NewSimpleSchema(`
{
"type": "object",
"properties": {
"q_token": { "type": "string" }
},
"required": ["q_token"]
}
`)
View Source
var AuthflowV2SettingsIdentityResendPhoneSchema = validation.NewSimpleSchema(`
{
"type": "object",
"properties": {
"q_token": { "type": "string" }
},
"required": ["q_token"]
}
`)
View Source
var AuthflowV2SettingsIdentityUpdateVerificationEmailSchema = validation.NewSimpleSchema(`
{
"type": "object",
"properties": {
"x_login_id": { "type": "string" },
"x_identity_id": { "type": "string" }
},
"required": ["x_login_id", "x_identity_id"]
}
`)
View Source
var AuthflowV2SettingsIdentityVerifyEmailSchema = validation.NewSimpleSchema(`
{
"type": "object",
"properties": {
"x_login_id_key": { "type": "string" },
"q_token": { "type": "string" },
"x_code": { "type": "string" }
},
"required": ["x_login_id_key", "q_token", "x_code"]
}
`)
View Source
var AuthflowV2SettingsIdentityVerifyPhoneSchema = validation.NewSimpleSchema(`
{
"type": "object",
"properties": {
"x_login_id_key": { "type": "string" },
"x_code": { "type": "string" }
},
"required": ["x_login_id_key", "x_code"]
}
`)
View Source
var AuthflowV2SettingsMFAChangePasswordSchema = validation.NewSimpleSchema(`
{
"type": "object",
"properties": {
"x_old_password": { "type": "string" },
"x_new_password": { "type": "string" },
"x_confirm_password": { "type": "string" }
},
"required": ["x_old_password", "x_new_password", "x_confirm_password"]
}
`)
View Source
var AuthflowV2SettingsMFACreateOOBOTPSchema = validation.NewSimpleSchema(`
{
"type": "object",
"properties": {
"x_channel": { "type": "string" },
"x_target": { "type": "string" }
},
"required": ["x_channel", "x_target"]
}
`)
View Source
var AuthflowV2SettingsMFACreatePasswordSchema = validation.NewSimpleSchema(`
{
"type": "object",
"properties": {
"x_password": { "type": "string" },
"x_confirm_password": { "type": "string" }
},
"required": ["x_password", "x_confirm_password"]
}
`)
View Source
var AuthflowV2SettingsMFACreateTOTPSchema = validation.NewSimpleSchema(`
{
"type": "object",
"properties": {
"x_totp": { "type": "string" },
"x_confirm_totp": { "type": "string" }
},
"required": ["x_totp", "x_confirm_totp"]
}
`)
View Source
var AuthflowV2SettingsMFAEnterOOBOTP = validation.NewSimpleSchema(`
{
"type": "object",
"properties": {
"x_code": {
"type": "string",
"format": "x_oob_otp_code"
}
},
"required": ["x_code"]
}
`)
View Source
var AuthflowV2SettingsMFAEnterTOTPSchema = validation.NewSimpleSchema(`
{
"type": "object",
"properties": {
"x_code": { "type": "string" }
},
"required": ["x_code"]
}
`)
View Source
var AuthflowV2SettingsRemoveIdentityEmailSchema = validation.NewSimpleSchema(`
{
"type": "object",
"properties": {
"x_identity_id": { "type": "string" }
},
"required": ["x_identity_id"]
}
`)
View Source
var AuthflowV2SettingsRemoveIdentityPhoneSchema = validation.NewSimpleSchema(`
{
"type": "object",
"properties": {
"x_identity_id": { "type": "string" }
},
"required": ["x_identity_id"]
}
`)
View Source
var AuthflowV2SettingsUpdateIdentityVerificationPhoneSchema = validation.NewSimpleSchema(`
{
"type": "object",
"properties": {
"x_channel": { "type": "string" },
"x_login_id": { "type": "string" },
"x_identity_id": { "type": "string" }
},
"required": ["x_channel", "x_login_id", "x_identity_id"]
}
`)
View Source
var AuthflowV2SignupLoginIDSchema = validation.NewSimpleSchema(`
{
"type": "object",
"properties": {
"q_login_id_key": { "type": "string" },
"q_login_id": { "type": "string" }
},
"required": ["q_login_id_key", "q_login_id"]
}
`)
View Source
var DependencySet = wire.NewSet( wire.Struct(new(AuthflowV2Navigator), "*"), wire.Struct(new(InternalAuthflowV2SignupLoginHandler), "*"), wire.Struct(new(AuthflowV2LoginHandler), "*"), wire.Struct(new(AuthflowV2SignupHandler), "*"), wire.Struct(new(AuthflowV2ReauthHandler), "*"), wire.Struct(new(AuthflowV2EnterPasswordHandler), "*"), wire.Struct(new(AuthflowV2EnterOOBOTPHandler), "*"), wire.Struct(new(AuthflowV2SetupOOBOTPHandler), "*"), wire.Struct(new(AuthflowV2ViewRecoveryCodeHandler), "*"), wire.Struct(new(AuthflowV2ErrorHandler), "*"), wire.Struct(new(AuthflowV2NoAuthenticatorHandler), "*"), wire.Struct(new(AuthflowV2CreatePasswordHandler), "*"), wire.Struct(new(AuthflowV2AccountStatusHandler), "*"), wire.Struct(new(AuthflowV2NotFoundHandler), "*"), wire.Struct(new(AuthflowV2SelectAccountHandler), "*"), wire.Struct(new(AuthflowV2VerifyBotProtectionHandler), "*"), wire.Struct(new(AuthflowV2EnterRecoveryCodeHandler), "*"), wire.Struct(new(AuthflowV2ChangePasswordHandler), "*"), wire.Struct(new(AuthflowV2ChangePasswordSuccessHandler), "*"), wire.Struct(new(AuthflowV2ForgotPasswordHandler), "*"), wire.Struct(new(AuthflowV2ForgotPasswordLinkSentHandler), "*"), wire.Struct(new(AuthflowV2ForgotPasswordOTPHandler), "*"), wire.Struct(new(AuthflowV2ResetPasswordHandler), "*"), wire.Struct(new(AuthflowV2ResetPasswordSuccessHandler), "*"), wire.Struct(new(AuthflowV2SetupTOTPHandler), "*"), wire.Struct(new(AuthflowV2EnterTOTPHandler), "*"), wire.Struct(new(AuthflowV2OOBOTPLinkHandler), "*"), wire.Struct(new(AuthflowV2VerifyLoginLinkOTPHandler), "*"), wire.Struct(new(AuthflowV2PromptCreatePasskeyHandler), "*"), wire.Struct(new(AuthflowV2UsePasskeyHandler), "*"), wire.Struct(new(AuthflowV2TerminateOtherSessionsHandler), "*"), wire.Struct(new(AuthflowV2PromoteHandler), "*"), wire.Struct(new(AuthflowV2FinishFlowHandler), "*"), wire.Struct(new(AuthflowV2WechatHandler), "*"), wire.Struct(new(AuthflowV2AccountLinkingHandler), "*"), wire.Struct(new(AuthflowV2LDAPLoginHandler), "*"), wire.Struct(new(AuthflowV2SettingsHandler), "*"), wire.Struct(new(AuthflowV2SettingsProfileHandler), "*"), wire.Struct(new(AuthflowV2SettingsProfileEditHandler), "*"), wire.Struct(new(AuthflowV2SettingsChangePasswordHandler), "*"), wire.Struct(new(AuthflowV2SettingsChangePasskeyHandler), "*"), wire.Struct(new(AuthflowV2SettingsBiometricHandler), "*"), wire.Struct(new(AuthflowV2SettingsSessionsHandler), "*"), wire.Struct(new(AuthflowV2SettingsMFAHandler), "*"), wire.Struct(new(AuthflowV2SettingsAdvancedSettingsHandler), "*"), wire.Struct(new(AuthflowV2SettingsDeleteAccountHandler), "*"), wire.Struct(new(AuthflowV2SettingsDeleteAccountSuccessHandler), "*"), wire.Struct(new(AuthflowV2SettingsMFAViewRecoveryCodeHandler), "*"), wire.Struct(new(AuthflowV2SettingsMFACreatePasswordHandler), "*"), wire.Struct(new(AuthflowV2SettingsMFAChangePasswordHandler), "*"), wire.Struct(new(AuthflowV2SettingsMFAPasswordHandler), "*"), wire.Struct(new(AuthflowV2SettingsTOTPHandler), "*"), wire.Struct(new(AuthflowV2SettingsMFACreateTOTPHandler), "*"), wire.Struct(new(AuthflowV2SettingsMFAEnterTOTPHandler), "*"), wire.Struct(new(AuthflowV2SettingsOOBOTPHandler), "*"), wire.Struct(new(AuthflowV2SettingsMFACreateOOBOTPHandler), "*"), wire.Struct(new(AuthflowV2SettingsMFAEnterOOBOTPHandler), "*"), wire.Struct(new(AuthflowV2SettingsIdentityAddEmailHandler), "*"), wire.Struct(new(AuthflowV2SettingsIdentityEditEmailHandler), "*"), wire.Struct(new(AuthflowV2SettingsIdentityVerifyEmailHandler), "*"), wire.Struct(new(AuthflowV2SettingsIdentityListEmailHandler), "*"), wire.Struct(new(AuthflowV2SettingsIdentityViewEmailHandler), "*"), wire.Struct(new(AuthflowV2SettingsIdentityChangePrimaryEmailHandler), "*"), wire.Struct(new(AuthflowV2SettingsIdentityListPhoneHandler), "*"), wire.Struct(new(AuthflowV2SettingsIdentityViewPhoneHandler), "*"), wire.Struct(new(AuthflowV2SettingsIdentityAddPhoneHandler), "*"), wire.Struct(new(AuthflowV2SettingsIdentityEditPhoneHandler), "*"), wire.Struct(new(AuthflowV2SettingsIdentityChangePrimaryPhoneHandler), "*"), wire.Struct(new(AuthflowV2SettingsIdentityVerifyPhoneHandler), "*"), wire.Struct(new(AuthflowV2SettingsIdentityListUsernameHandler), "*"), wire.Struct(new(AuthflowV2SettingsIdentityNewUsernameHandler), "*"), wire.Struct(new(AuthflowV2SettingsIdentityViewUsernameHandler), "*"), wire.Struct(new(AuthflowV2SettingsIdentityEditUsernameHandler), "*"), wire.Struct(new(AuthflowV2SettingsIdentityListOAuthHandler), "*"), )
View Source
var TemplateSettingsIdentityEditUsernameTemplate = template.RegisterHTML( "web/authflowv2/settings_identity_edit_username.html", handlerwebapp.SettingsComponents..., )
View Source
var TemplateSettingsIdentityListUsernameTemplate = template.RegisterHTML( "web/authflowv2/settings_identity_list_username.html", handlerwebapp.SettingsComponents..., )
View Source
var TemplateSettingsIdentityNewUsernameTemplate = template.RegisterHTML( "web/authflowv2/settings_identity_new_username.html", handlerwebapp.SettingsComponents..., )
View Source
var TemplateSettingsIdentityViewUsernameTemplate = template.RegisterHTML( "web/authflowv2/settings_identity_view_username.html", handlerwebapp.SettingsComponents..., )
View Source
var TemplateSettingsProfileNoPermission = template.RegisterHTML( "web/authflowv2/settings_profile_no_permission.html", handlerwebapp.Components..., )
View Source
var TemplateSettingsV2PasskeyHTML = template.RegisterHTML( "web/authflowv2/settings_passkey.html", handlerwebapp.SettingsComponents..., )
View Source
var TemplateWebAuthflowAccountStatusHTML = template.RegisterHTML( "web/authflowv2/account_status.html", handlerwebapp.Components..., )
View Source
var TemplateWebAuthflowChangePasswordHTML = template.RegisterHTML( "web/authflowv2/change_password.html", handlerwebapp.Components..., )
View Source
var TemplateWebAuthflowChangePasswordSuccessHTML = template.RegisterHTML( "web/authflowv2/change_password_success.html", handlerwebapp.Components..., )
View Source
var TemplateWebAuthflowCreatePasswordHTML = template.RegisterHTML( "web/authflowv2/create_password.html", handlerwebapp.Components..., )
View Source
var TemplateWebAuthflowEnterOOBOTPHTML = template.RegisterHTML( "web/authflowv2/enter_oob_otp.html", handlerwebapp.Components..., )
View Source
var TemplateWebAuthflowEnterPasswordHTML = template.RegisterHTML( "web/authflowv2/enter_password.html", handlerwebapp.Components..., )
View Source
var TemplateWebAuthflowEnterRecoveryCodeHTML = template.RegisterHTML( "web/authflowv2/enter_recovery_code.html", handlerwebapp.Components..., )
View Source
var TemplateWebAuthflowEnterTOTPHTML = template.RegisterHTML( "web/authflowv2/enter_totp.html", handlerwebapp.Components..., )
View Source
var TemplateWebAuthflowForgotPasswordOTPHTML = template.RegisterHTML( "web/authflowv2/forgot_password_otp.html", handlerwebapp.Components..., )
View Source
var TemplateWebAuthflowLDAPLoginHTML = template.RegisterHTML( "web/authflowv2/ldap_login.html", handlerwebapp.Components..., )
View Source
var TemplateWebAuthflowLoginHTML = template.RegisterHTML( "web/authflowv2/login.html", handlerwebapp.Components..., )
View Source
var TemplateWebAuthflowOOBOTPLinkHTML = template.RegisterHTML( "web/authflowv2/oob_otp_link.html", handlerwebapp.Components..., )
View Source
var TemplateWebAuthflowPromptCreatePasskeyHTML = template.RegisterHTML( "web/authflowv2/prompt_create_passkey.html", handlerwebapp.Components..., )
View Source
var TemplateWebAuthflowResetPasswordHTML = template.RegisterHTML( "web/authflowv2/reset_password.html", handlerwebapp.Components..., )
View Source
var TemplateWebAuthflowResetPasswordSuccessHTML = template.RegisterHTML( "web/authflowv2/reset_password_success.html", handlerwebapp.Components..., )
View Source
var TemplateWebAuthflowSetupOOBOTPHTML = template.RegisterHTML( "web/authflowv2/setup_oob_otp.html", handlerwebapp.Components..., )
View Source
var TemplateWebAuthflowSetupTOTPHTML = template.RegisterHTML( "web/authflowv2/setup_totp.html", handlerwebapp.Components..., )
View Source
var TemplateWebAuthflowSetupTOTPVerifyHTML = template.RegisterHTML( "web/authflowv2/setup_totp_verify.html", handlerwebapp.Components..., )
View Source
var TemplateWebAuthflowTerminateOtherSessionsHTML = template.RegisterHTML( "web/authflowv2/terminate_other_sessions.html", handlerwebapp.Components..., )
View Source
var TemplateWebAuthflowUsePasskeyHTML = template.RegisterHTML( "web/authflowv2/use_passkey.html", handlerwebapp.Components..., )
View Source
var TemplateWebAuthflowV2AccountLinkingHTML = template.RegisterHTML( "web/authflowv2/account_linking.html", handlerwebapp.Components..., )
View Source
var TemplateWebAuthflowV2ForgotPasswordHTML = template.RegisterHTML( "web/authflowv2/forgot_password.html", handlerwebapp.Components..., )
View Source
var TemplateWebAuthflowV2ForgotPasswordLinkSentHTML = template.RegisterHTML( "web/authflowv2/forgot_password_link_sent.html", handlerwebapp.Components..., )
View Source
var TemplateWebAuthflowV2NoAuthenticatorHTML = template.RegisterHTML( "web/authflowv2/no_authenticator.html", handlerwebapp.Components..., )
View Source
var TemplateWebAuthflowV2SignupHTML = template.RegisterHTML( "web/authflowv2/signup.html", handlerwebapp.Components..., )
View Source
var TemplateWebAuthflowVerifyBotProtectionHTML = template.RegisterHTML( "web/authflowv2/verify_bot_protection.html", handlerwebapp.Components..., )
View Source
var TemplateWebAuthflowViewRecoveryCodeHTML = template.RegisterHTML( "web/authflowv2/view_recovery_code.html", handlerwebapp.Components..., )
View Source
var TemplateWebAuthflowWechatHTML = template.RegisterHTML( "web/authflowv2/wechat.html", handlerwebapp.Components..., )
View Source
var TemplateWebFatalErrorHTML = handlerwebapp.TemplateV2WebFatalErrorHTML
View Source
var TemplateWebNotFoundHTML = template.RegisterHTML( "web/authflowv2/not_found.html", handlerwebapp.Components..., )
View Source
var TemplateWebSelectAccountHTML = template.RegisterHTML( "web/authflowv2/select_account.html", handlerwebapp.Components..., )
View Source
var TemplateWebSettingsIdentityAddEmailHTML = template.RegisterHTML( "web/authflowv2/settings_identity_add_email.html", handlerwebapp.SettingsComponents..., )
View Source
var TemplateWebSettingsIdentityAddPhoneHTML = template.RegisterHTML( "web/authflowv2/settings_identity_add_phone.html", handlerwebapp.SettingsComponents..., )
View Source
var TemplateWebSettingsIdentityChangePrimaryEmailHTML = template.RegisterHTML( "web/authflowv2/settings_identity_change_primary_email.html", handlerwebapp.SettingsComponents..., )
View Source
var TemplateWebSettingsIdentityChangePrimaryPhoneHTML = template.RegisterHTML( "web/authflowv2/settings_identity_change_primary_phone.html", handlerwebapp.SettingsComponents..., )
View Source
var TemplateWebSettingsIdentityEditEmailHTML = template.RegisterHTML( "web/authflowv2/settings_identity_edit_email.html", handlerwebapp.SettingsComponents..., )
View Source
var TemplateWebSettingsIdentityEditPhoneHTML = template.RegisterHTML( "web/authflowv2/settings_identity_edit_phone.html", handlerwebapp.SettingsComponents..., )
View Source
var TemplateWebSettingsIdentityListEmailHTML = template.RegisterHTML( "web/authflowv2/settings_identity_list_email.html", handlerwebapp.SettingsComponents..., )
View Source
var TemplateWebSettingsIdentityListOAuthHTML = template.RegisterHTML( "web/authflowv2/settings_identity_list_oauth.html", handlerwebapp.SettingsComponents..., )
View Source
var TemplateWebSettingsIdentityListPhoneHTML = template.RegisterHTML( "web/authflowv2/settings_identity_list_phone.html", handlerwebapp.SettingsComponents..., )
View Source
var TemplateWebSettingsIdentityVerifyEmailHTML = template.RegisterHTML( "web/authflowv2/settings_identity_verify_email.html", handlerwebapp.SettingsComponents..., )
View Source
var TemplateWebSettingsIdentityVerifyPhoneHTML = template.RegisterHTML( "web/authflowv2/settings_identity_verify_phone.html", handlerwebapp.SettingsComponents..., )
View Source
var TemplateWebSettingsIdentityViewEmailHTML = template.RegisterHTML( "web/authflowv2/settings_identity_view_email.html", handlerwebapp.SettingsComponents..., )
View Source
var TemplateWebSettingsIdentityViewPhoneHTML = template.RegisterHTML( "web/authflowv2/settings_identity_view_phone.html", handlerwebapp.SettingsComponents..., )
View Source
var TemplateWebSettingsMFACreateOOBOTPHTML = template.RegisterHTML( "web/authflowv2/settings_mfa_create_oob_otp.html", handlerwebapp.SettingsComponents..., )
View Source
var TemplateWebSettingsMFACreatePasswordHTML = template.RegisterHTML( "web/authflowv2/settings_mfa_create_password.html", handlerwebapp.SettingsComponents..., )
View Source
var TemplateWebSettingsMFACreateTOTPHTML = template.RegisterHTML( "web/authflowv2/settings_mfa_create_totp.html", handlerwebapp.SettingsComponents..., )
View Source
var TemplateWebSettingsMFAEnterOOBOTPHTML = template.RegisterHTML( "web/authflowv2/settings_mfa_enter_oob_otp.html", handlerwebapp.SettingsComponents..., )
View Source
var TemplateWebSettingsMFAEnterTOTPHTML = template.RegisterHTML( "web/authflowv2/settings_mfa_enter_totp.html", handlerwebapp.SettingsComponents..., )
View Source
var TemplateWebSettingsMFAHTML = template.RegisterHTML( "web/authflowv2/settings_mfa.html", handlerwebapp.SettingsComponents..., )
View Source
var TemplateWebSettingsMFAPasswordHTML = template.RegisterHTML( "web/authflowv2/settings_mfa_password.html", handlerwebapp.SettingsComponents..., )
View Source
var TemplateWebSettingsMFAViewRecoveryCodeHTML = template.RegisterHTML( "web/authflowv2/settings_mfa_view_recovery_code.html", handlerwebapp.SettingsComponents..., )
View Source
var TemplateWebSettingsOOBOTPHTML = template.RegisterHTML( "web/authflowv2/settings_oob_otp.html", handlerwebapp.SettingsComponents..., )
View Source
var TemplateWebSettingsProfileHTML = template.RegisterHTML( "web/authflowv2/settings_profile.html", handlerwebapp.SettingsComponents..., )
View Source
var TemplateWebSettingsTOTPHTML = template.RegisterHTML( "web/authflowv2/settings_mfa_totp.html", handlerwebapp.SettingsComponents..., )
View Source
var TemplateWebSettingsV2AdvancedSettingsHTML = template.RegisterHTML( "web/authflowv2/settings_advanced.html", handlerwebapp.SettingsComponents..., )
View Source
var TemplateWebSettingsV2BiometricHTML = template.RegisterHTML( "web/authflowv2/settings_biometric.html", handlerwebapp.SettingsComponents..., )
View Source
var TemplateWebSettingsV2ChangePasswordHTML = template.RegisterHTML( "web/authflowv2/settings_change_password.html", handlerwebapp.SettingsComponents..., )
View Source
var TemplateWebSettingsV2DeleteAccountHTML = template.RegisterHTML( "web/authflowv2/settings_delete_account.html", handlerwebapp.SettingsComponents..., )
View Source
var TemplateWebSettingsV2DeleteAccountSuccessHTML = template.RegisterHTML( "web/authflowv2/settings_delete_account_success.html", handlerwebapp.SettingsComponents..., )
View Source
var TemplateWebSettingsV2HTML = template.RegisterHTML( "web/authflowv2/settings.html", handlerwebapp.SettingsComponents..., )
View Source
var TemplateWebSettingsV2MFAChangePasswordHTML = template.RegisterHTML( "web/authflowv2/settings_mfa_change_password.html", handlerwebapp.SettingsComponents..., )
View Source
var TemplateWebSettingsV2SessionsHTML = template.RegisterHTML( "web/authflowv2/settings_sessions.html", handlerwebapp.SettingsComponents..., )
View Source
var TemplateWebVerifyLoginLinkOTPHTML = template.RegisterHTML( "web/authflowv2/verify_login_link.html", handlerwebapp.Components..., )
View Source
var VerifyLoginLinkOTPSchema = validation.NewSimpleSchema(`
{
"type": "object",
"properties": {
"x_oob_otp_code": { "type": "string" }
},
"required": ["x_oob_otp_code"]
}
`)
Functions ¶
func PatchGenderForm ¶
Types ¶
type AuthFlowV2ForgotPasswordAlternative ¶
type AuthFlowV2ForgotPasswordAlternative struct { AlternativeType AuthFlowV2ForgotPasswordAlternativeType Href string }
type AuthFlowV2ForgotPasswordAlternativeType ¶
type AuthFlowV2ForgotPasswordAlternativeType string
const ( AuthFlowV2ForgotPasswordAlternativeTypeEmail AuthFlowV2ForgotPasswordAlternativeType = "email" AuthFlowV2ForgotPasswordAlternativeTypePhone AuthFlowV2ForgotPasswordAlternativeType = "phone" )
type AuthFlowV2ForgotPasswordViewModel ¶
type AuthFlowV2ForgotPasswordViewModel struct { LoginIDInputType ForgotPasswordLoginIDInputType LoginID string LoginIDDisabled bool RequiresLoginIDInput bool Alternatives []*AuthFlowV2ForgotPasswordAlternative // These overrides AuthflowViewModel PhoneLoginIDEnabled bool EmailLoginIDEnabled bool LoginIDContextualType string // "email", "phone" }
func NewAuthFlowV2ForgotPasswordViewModel ¶
func NewAuthFlowV2ForgotPasswordViewModel( r *http.Request, initialScreen *webapp.AuthflowScreenWithFlowResponse, selectDestinationScreen *webapp.AuthflowScreenWithFlowResponse) AuthFlowV2ForgotPasswordViewModel
type AuthflowEnterOOBOTPViewModel ¶
type AuthflowEnterOOBOTPViewModel struct { FlowActionType string Channel string MaskedClaimValue string CodeLength int FailedAttemptRateLimitExceeded bool ResendCooldown int }
func NewAuthflowEnterOOBOTPViewModel ¶
func NewAuthflowEnterOOBOTPViewModel(s *webapp.Session, screen *webapp.AuthflowScreenWithFlowResponse, now time.Time) AuthflowEnterOOBOTPViewModel
func NewInlinePreviewAuthflowEnterOOBOTPViewModel ¶
func NewInlinePreviewAuthflowEnterOOBOTPViewModel( authenticatorConfig *config.AuthenticatorConfig, identityConfig *config.IdentityConfig, ) AuthflowEnterOOBOTPViewModel
type AuthflowEnterPasswordViewModel ¶
type AuthflowEnterPasswordViewModel struct { AuthenticationStage string PasswordManagerUsername string ForgotPasswordInputType string ForgotPasswordLoginID string IsBotProtectionRequired bool }
func NewAuthflowEnterPasswordViewModel ¶
func NewAuthflowEnterPasswordViewModel(s *webapp.Session, screen *webapp.AuthflowScreenWithFlowResponse) AuthflowEnterPasswordViewModel
func NewInlinePreviewAuthflowEnterPasswordViewModel ¶
func NewInlinePreviewAuthflowEnterPasswordViewModel() AuthflowEnterPasswordViewModel
type AuthflowForgotPasswordOTPAlternativeChannel ¶
type AuthflowForgotPasswordOTPAlternativeChannel struct { Index int Channel declarative.AccountRecoveryChannel }
type AuthflowForgotPasswordOTPViewModel ¶
type AuthflowForgotPasswordOTPViewModel struct { Channel declarative.AccountRecoveryChannel MaskedClaimValue string CodeLength int FailedAttemptRateLimitExceeded bool ResendCooldown int AlternativeChannels []AuthflowForgotPasswordOTPAlternativeChannel }
func NewAuthflowForgotPasswordOTPViewModel ¶
func NewAuthflowForgotPasswordOTPViewModel( c *handlerwebapp.AuthflowController, s *webapp.Session, screen *webapp.AuthflowScreenWithFlowResponse, now time.Time) (*AuthflowForgotPasswordOTPViewModel, error)
type AuthflowLDAPLoginViewModel ¶
type AuthflowLDAPLoginViewModel struct {
LDAPServerName string
}
func NewAuthflowLDAPLoginViewModel ¶
func NewAuthflowLDAPLoginViewModel(ldapServerName string, apiError *apierrors.APIError) AuthflowLDAPLoginViewModel
nolint: gocognit
type AuthflowLoginViewModel ¶
type AuthflowLoginViewModel struct {
AllowLoginOnly bool
}
func NewAuthflowLoginViewModel ¶
func NewAuthflowLoginViewModel(allowLoginOnly bool) AuthflowLoginViewModel
type AuthflowOOBOTPLinkViewModel ¶
type AuthflowOOBOTPLinkViewModel struct { WebsocketURL htmltemplate.URL StateToken string StateQuery handlerwebapp.LoginLinkOTPPageQueryState MaskedClaimValue string ResendCooldown int }
func NewAuthflowOOBOTPLinkViewModel ¶
func NewAuthflowOOBOTPLinkViewModel(s *webapp.Session, screen *webapp.AuthflowScreenWithFlowResponse, now time.Time) AuthflowOOBOTPLinkViewModel
func NewInlinePreviewAuthflowOOBOTPLinkViewModel ¶
func NewInlinePreviewAuthflowOOBOTPLinkViewModel() AuthflowOOBOTPLinkViewModel
type AuthflowSetupOOBOTPViewModel ¶
type AuthflowSetupOOBOTPViewModel struct { OOBAuthenticatorType model.AuthenticatorType Channel model.AuthenticatorOOBChannel IsBotProtectionRequired bool }
func NewAuthflowSetupOOBOTPViewModel ¶
func NewAuthflowSetupOOBOTPViewModel(s *webapp.Session, screen *webapp.AuthflowScreenWithFlowResponse) AuthflowSetupOOBOTPViewModel
type AuthflowSetupTOTPViewModel ¶
type AuthflowSetupTOTPViewModel struct { Secret string ImageURI htmltemplate.URL }
type AuthflowV2AccountLinkingHandler ¶
type AuthflowV2AccountLinkingHandler struct { Controller *handlerwebapp.AuthflowController BaseViewModel *viewmodels.BaseViewModeler Renderer handlerwebapp.Renderer Endpoints handlerwebapp.AuthflowSignupEndpointsProvider }
func (*AuthflowV2AccountLinkingHandler) GetData ¶
func (h *AuthflowV2AccountLinkingHandler) GetData(w http.ResponseWriter, r *http.Request, s *webapp.Session, screen *webapp.AuthflowScreenWithFlowResponse) (map[string]interface{}, error)
func (*AuthflowV2AccountLinkingHandler) ServeHTTP ¶
func (h *AuthflowV2AccountLinkingHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type AuthflowV2AccountLinkingOption ¶
type AuthflowV2AccountLinkingOption struct { Identification config.AuthenticationFlowIdentification MaskedDisplayName string ProviderType string Index int }
type AuthflowV2AccountLinkingViewModel ¶
type AuthflowV2AccountLinkingViewModel struct {
Options []AuthflowV2AccountLinkingOption
}
func NewAuthflowV2AccountLinkingViewModel ¶
func NewAuthflowV2AccountLinkingViewModel(s *webapp.Session, screen *webapp.AuthflowScreenWithFlowResponse) AuthflowV2AccountLinkingViewModel
type AuthflowV2AccountStatusHandler ¶
type AuthflowV2AccountStatusHandler struct { BaseViewModel *viewmodels.BaseViewModeler Renderer handlerwebapp.Renderer }
func (*AuthflowV2AccountStatusHandler) ServeHTTP ¶
func (h *AuthflowV2AccountStatusHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type AuthflowV2ChangePasswordHandler ¶
type AuthflowV2ChangePasswordHandler struct { Controller *handlerwebapp.AuthflowController BaseViewModel *viewmodels.BaseViewModeler ChangePasswordViewModel *viewmodels.ChangePasswordViewModeler Renderer handlerwebapp.Renderer }
func (*AuthflowV2ChangePasswordHandler) GetData ¶
func (h *AuthflowV2ChangePasswordHandler) GetData(w http.ResponseWriter, r *http.Request, s *webapp.Session, screen *webapp.AuthflowScreenWithFlowResponse) (map[string]interface{}, error)
func (*AuthflowV2ChangePasswordHandler) ServeHTTP ¶
func (h *AuthflowV2ChangePasswordHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type AuthflowV2ChangePasswordNavigator ¶
type AuthflowV2ChangePasswordNavigator interface {
}type AuthflowV2ChangePasswordSuccessHandler ¶
type AuthflowV2ChangePasswordSuccessHandler struct { Controller *handlerwebapp.AuthflowController BaseViewModel *viewmodels.BaseViewModeler Renderer handlerwebapp.Renderer }
func (*AuthflowV2ChangePasswordSuccessHandler) GetData ¶
func (h *AuthflowV2ChangePasswordSuccessHandler) GetData(w http.ResponseWriter, r *http.Request) (map[string]interface{}, error)
func (*AuthflowV2ChangePasswordSuccessHandler) ServeHTTP ¶
func (h *AuthflowV2ChangePasswordSuccessHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type AuthflowV2ChangePasswordSuccessViewModel ¶
type AuthflowV2ChangePasswordSuccessViewModel struct {
CanBackToSignIn bool
}
type AuthflowV2CreatePasswordHandler ¶
type AuthflowV2CreatePasswordHandler struct { Controller *handlerwebapp.AuthflowController BaseViewModel *viewmodels.BaseViewModeler InlinePreviewAuthflowBranchViewModeler *viewmodels.InlinePreviewAuthflowBranchViewModeler Renderer handlerwebapp.Renderer FeatureConfig *config.FeatureConfig AuthenticatorConfig *config.AuthenticatorConfig }
func (*AuthflowV2CreatePasswordHandler) GetData ¶
func (h *AuthflowV2CreatePasswordHandler) GetData(w http.ResponseWriter, r *http.Request, s *webapp.Session, screen *webapp.AuthflowScreenWithFlowResponse) (map[string]interface{}, error)
func (*AuthflowV2CreatePasswordHandler) GetInlinePreviewData ¶
func (h *AuthflowV2CreatePasswordHandler) GetInlinePreviewData(w http.ResponseWriter, r *http.Request) (map[string]interface{}, error)
func (*AuthflowV2CreatePasswordHandler) ServeHTTP ¶
func (h *AuthflowV2CreatePasswordHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type AuthflowV2EnterOOBOTPHandler ¶
type AuthflowV2EnterOOBOTPHandler struct { Controller *handlerwebapp.AuthflowController BaseViewModel *viewmodels.BaseViewModeler InlinePreviewAuthflowBranchViewModeler *viewmodels.InlinePreviewAuthflowBranchViewModeler Renderer handlerwebapp.Renderer FlashMessage handlerwebapp.FlashMessage Clock clock.Clock AuthenticatorConfig *config.AuthenticatorConfig IdentityConfig *config.IdentityConfig }
func (*AuthflowV2EnterOOBOTPHandler) GetData ¶
func (h *AuthflowV2EnterOOBOTPHandler) GetData(w http.ResponseWriter, r *http.Request, s *webapp.Session, screen *webapp.AuthflowScreenWithFlowResponse) (map[string]interface{}, error)
func (*AuthflowV2EnterOOBOTPHandler) GetInlinePreviewData ¶
func (h *AuthflowV2EnterOOBOTPHandler) GetInlinePreviewData(w http.ResponseWriter, r *http.Request) (map[string]interface{}, error)
func (*AuthflowV2EnterOOBOTPHandler) ServeHTTP ¶
func (h *AuthflowV2EnterOOBOTPHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type AuthflowV2EnterPasswordHandler ¶
type AuthflowV2EnterPasswordHandler struct { Controller *handlerwebapp.AuthflowController BaseViewModel *viewmodels.BaseViewModeler Renderer handlerwebapp.Renderer InlinePreviewAuthflowBranchViewModeler *viewmodels.InlinePreviewAuthflowBranchViewModeler }
func (*AuthflowV2EnterPasswordHandler) GetData ¶
func (h *AuthflowV2EnterPasswordHandler) GetData(w http.ResponseWriter, r *http.Request, s *webapp.Session, screen *webapp.AuthflowScreenWithFlowResponse) (map[string]interface{}, error)
func (*AuthflowV2EnterPasswordHandler) GetInlinePreviewData ¶
func (h *AuthflowV2EnterPasswordHandler) GetInlinePreviewData(w http.ResponseWriter, r *http.Request) (map[string]interface{}, error)
func (*AuthflowV2EnterPasswordHandler) ServeHTTP ¶
func (h *AuthflowV2EnterPasswordHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type AuthflowV2EnterRecoveryCodeHandler ¶
type AuthflowV2EnterRecoveryCodeHandler struct { Controller *handlerwebapp.AuthflowController BaseViewModel *viewmodels.BaseViewModeler Renderer handlerwebapp.Renderer }
func (*AuthflowV2EnterRecoveryCodeHandler) GetData ¶
func (h *AuthflowV2EnterRecoveryCodeHandler) GetData(w http.ResponseWriter, r *http.Request, s *webapp.Session, screen *webapp.AuthflowScreenWithFlowResponse) (map[string]interface{}, error)
func (*AuthflowV2EnterRecoveryCodeHandler) ServeHTTP ¶
func (h *AuthflowV2EnterRecoveryCodeHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type AuthflowV2EnterRecoveryCodeViewModel ¶
type AuthflowV2EnterRecoveryCodeViewModel struct {
IsBotProtectionRequired bool
}
func NewAuthflowV2EnterRecoveryCodeViewModel ¶
func NewAuthflowV2EnterRecoveryCodeViewModel(s *webapp.Session, screen *webapp.AuthflowScreenWithFlowResponse) AuthflowV2EnterRecoveryCodeViewModel
type AuthflowV2EnterTOTPHandler ¶
type AuthflowV2EnterTOTPHandler struct { Controller *handlerwebapp.AuthflowController BaseViewModel *viewmodels.BaseViewModeler InlinePreviewAuthflowBranchViewModeler *viewmodels.InlinePreviewAuthflowBranchViewModeler Renderer handlerwebapp.Renderer }
func (*AuthflowV2EnterTOTPHandler) GetData ¶
func (h *AuthflowV2EnterTOTPHandler) GetData(w http.ResponseWriter, r *http.Request, s *webapp.Session, screen *webapp.AuthflowScreenWithFlowResponse) (map[string]interface{}, error)
func (*AuthflowV2EnterTOTPHandler) GetInlinePreviewData ¶
func (h *AuthflowV2EnterTOTPHandler) GetInlinePreviewData(w http.ResponseWriter, r *http.Request) (map[string]interface{}, error)
func (*AuthflowV2EnterTOTPHandler) ServeHTTP ¶
func (h *AuthflowV2EnterTOTPHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type AuthflowV2EnterTOTPViewModel ¶
type AuthflowV2EnterTOTPViewModel struct {
IsBotProtectionRequired bool
}
func NewAuthflowV2EnterTOTPViewModel ¶
func NewAuthflowV2EnterTOTPViewModel(s *webapp.Session, screen *webapp.AuthflowScreenWithFlowResponse) AuthflowV2EnterTOTPViewModel
type AuthflowV2ErrorHandler ¶
type AuthflowV2ErrorHandler struct { Controller *handlerwebapp.AuthflowController BaseViewModel *viewmodels.BaseViewModeler Renderer handlerwebapp.Renderer }
func (*AuthflowV2ErrorHandler) GetData ¶
func (h *AuthflowV2ErrorHandler) GetData(w http.ResponseWriter, r *http.Request, s *webapp.Session, screen *webapp.AuthflowScreenWithFlowResponse) (map[string]interface{}, error)
func (*AuthflowV2ErrorHandler) GetInlinePreviewData ¶
func (h *AuthflowV2ErrorHandler) GetInlinePreviewData(w http.ResponseWriter, r *http.Request) (map[string]interface{}, error)
func (*AuthflowV2ErrorHandler) ServeHTTP ¶
func (h *AuthflowV2ErrorHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type AuthflowV2FinishFlowHandler ¶
type AuthflowV2FinishFlowHandler struct { Controller *handlerwebapp.AuthflowController BaseViewModel *viewmodels.BaseViewModeler Renderer handlerwebapp.Renderer }
func (*AuthflowV2FinishFlowHandler) ServeHTTP ¶
func (h *AuthflowV2FinishFlowHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type AuthflowV2ForgotPasswordHandler ¶
type AuthflowV2ForgotPasswordHandler struct { Controller *handlerwebapp.AuthflowController BaseViewModel *viewmodels.BaseViewModeler AuthflowViewModel *viewmodels.AuthflowViewModeler Renderer handlerwebapp.Renderer }
func (*AuthflowV2ForgotPasswordHandler) GetData ¶
func (h *AuthflowV2ForgotPasswordHandler) GetData( w http.ResponseWriter, r *http.Request, s *webapp.Session, initialScreen *webapp.AuthflowScreenWithFlowResponse, selectDestinationScreen *webapp.AuthflowScreenWithFlowResponse) (map[string]interface{}, error)
func (*AuthflowV2ForgotPasswordHandler) ServeHTTP ¶
func (h *AuthflowV2ForgotPasswordHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type AuthflowV2ForgotPasswordLinkSentHandler ¶
type AuthflowV2ForgotPasswordLinkSentHandler struct { Controller *handlerwebapp.AuthflowController BaseViewModel *viewmodels.BaseViewModeler Renderer handlerwebapp.Renderer Clock clock.Clock }
func (*AuthflowV2ForgotPasswordLinkSentHandler) GetData ¶
func (h *AuthflowV2ForgotPasswordLinkSentHandler) GetData(w http.ResponseWriter, r *http.Request, s *webapp.Session, screen *webapp.AuthflowScreenWithFlowResponse) (map[string]interface{}, error)
func (*AuthflowV2ForgotPasswordLinkSentHandler) ServeHTTP ¶
func (h *AuthflowV2ForgotPasswordLinkSentHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type AuthflowV2ForgotPasswordOTPHandler ¶
type AuthflowV2ForgotPasswordOTPHandler struct { Controller *handlerwebapp.AuthflowController BaseViewModel *viewmodels.BaseViewModeler Renderer handlerwebapp.Renderer FlashMessage handlerwebapp.FlashMessage Clock clock.Clock }
func (*AuthflowV2ForgotPasswordOTPHandler) ServeHTTP ¶
func (h *AuthflowV2ForgotPasswordOTPHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type AuthflowV2LDAPLoginHandler ¶
type AuthflowV2LDAPLoginHandler struct { Controller *handlerwebapp.AuthflowController BaseViewModel *viewmodels.BaseViewModeler Renderer handlerwebapp.Renderer }
func (*AuthflowV2LDAPLoginHandler) GetData ¶
func (h *AuthflowV2LDAPLoginHandler) GetData(w http.ResponseWriter, r *http.Request, s *webapp.Session, screen *webapp.AuthflowScreenWithFlowResponse, ldapServerName string) (map[string]interface{}, error)
func (*AuthflowV2LDAPLoginHandler) ServeHTTP ¶
func (h *AuthflowV2LDAPLoginHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type AuthflowV2LoginHandler ¶
type AuthflowV2LoginHandler struct { SignupLoginHandler InternalAuthflowV2SignupLoginHandler UIConfig *config.UIConfig AuthenticationConfig *config.AuthenticationConfig Controller *handlerwebapp.AuthflowController BaseViewModel *viewmodels.BaseViewModeler AuthflowViewModel *viewmodels.AuthflowViewModeler Renderer handlerwebapp.Renderer MeterService handlerwebapp.MeterService TutorialCookie handlerwebapp.TutorialCookie ErrorService handlerwebapp.ErrorService Endpoints AuthflowLoginEndpointsProvider }
func (*AuthflowV2LoginHandler) GetData ¶
func (h *AuthflowV2LoginHandler) GetData(w http.ResponseWriter, r *http.Request, s *webapp.Session, screen *webapp.AuthflowScreenWithFlowResponse, allowLoginOnly bool) (map[string]interface{}, error)
func (*AuthflowV2LoginHandler) GetInlinePreviewData ¶
func (h *AuthflowV2LoginHandler) GetInlinePreviewData(w http.ResponseWriter, r *http.Request) (map[string]interface{}, error)
func (*AuthflowV2LoginHandler) ServeHTTP ¶
func (h *AuthflowV2LoginHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type AuthflowV2Navigator ¶
type AuthflowV2Navigator struct {}
func (*AuthflowV2Navigator) Navigate ¶
func (n *AuthflowV2Navigator) Navigate(s *webapp.AuthflowScreenWithFlowResponse, r *http.Request, webSessionID string, result *webapp.Result)
func (*AuthflowV2Navigator) NavigateChangePasswordSuccessPage ¶
func (n *AuthflowV2Navigator) NavigateChangePasswordSuccessPage(s *webapp.AuthflowScreen, r *http.Request, webSessionID string) (result *webapp.Result)
func (*AuthflowV2Navigator) NavigateNonRecoverableError ¶
func (*AuthflowV2Navigator) NavigateResetPasswordSuccessPage ¶
func (n *AuthflowV2Navigator) NavigateResetPasswordSuccessPage() string
func (*AuthflowV2Navigator) NavigateSelectAccount ¶
func (n *AuthflowV2Navigator) NavigateSelectAccount(result *webapp.Result)
func (*AuthflowV2Navigator) NavigateVerifyBotProtection ¶
func (n *AuthflowV2Navigator) NavigateVerifyBotProtection(result *webapp.Result)
type AuthflowV2NavigatorEndpointsProvider ¶
type AuthflowV2NavigatorEndpointsProvider interface {}
type AuthflowV2NavigatorOAuthStateStore ¶
type AuthflowV2NavigatorOAuthStateStore interface {
}type AuthflowV2NoAuthenticatorHandler ¶
type AuthflowV2NoAuthenticatorHandler struct { BaseViewModel *viewmodels.BaseViewModeler Renderer handlerwebapp.Renderer }
func (*AuthflowV2NoAuthenticatorHandler) ServeHTTP ¶
func (h *AuthflowV2NoAuthenticatorHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type AuthflowV2NotFoundHandler ¶
type AuthflowV2NotFoundHandler struct { ControllerFactory handlerwebapp.ControllerFactory BaseViewModel *viewmodels.BaseViewModeler Renderer handlerwebapp.Renderer }
func (*AuthflowV2NotFoundHandler) GetData ¶
func (h *AuthflowV2NotFoundHandler) GetData(r *http.Request, w http.ResponseWriter) (map[string]interface{}, error)
func (*AuthflowV2NotFoundHandler) ServeHTTP ¶
func (h *AuthflowV2NotFoundHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type AuthflowV2OOBOTPLinkHandler ¶
type AuthflowV2OOBOTPLinkHandler struct { Controller *handlerwebapp.AuthflowController BaseViewModel *viewmodels.BaseViewModeler InlinePreviewAuthflowBranchViewModeler *viewmodels.InlinePreviewAuthflowBranchViewModeler Renderer handlerwebapp.Renderer Clock clock.Clock }
func (*AuthflowV2OOBOTPLinkHandler) GetData ¶
func (h *AuthflowV2OOBOTPLinkHandler) GetData(w http.ResponseWriter, r *http.Request, s *webapp.Session, screen *webapp.AuthflowScreenWithFlowResponse) (map[string]interface{}, error)
func (*AuthflowV2OOBOTPLinkHandler) GetInlinePreviewData ¶
func (h *AuthflowV2OOBOTPLinkHandler) GetInlinePreviewData(w http.ResponseWriter, r *http.Request) (map[string]interface{}, error)
func (*AuthflowV2OOBOTPLinkHandler) ServeHTTP ¶
func (h *AuthflowV2OOBOTPLinkHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type AuthflowV2PromoteHandler ¶
type AuthflowV2PromoteHandler struct { Controller *handlerwebapp.AuthflowController BaseViewModel *viewmodels.BaseViewModeler AuthflowViewModel *viewmodels.AuthflowViewModeler Renderer handlerwebapp.Renderer Endpoints AuthflowV2PromoteEndpointsProvider }
func (*AuthflowV2PromoteHandler) GetData ¶
func (h *AuthflowV2PromoteHandler) GetData( w http.ResponseWriter, r *http.Request, s *webapp.Session, screen *webapp.AuthflowScreenWithFlowResponse, ) (map[string]interface{}, error)
func (*AuthflowV2PromoteHandler) ServeHTTP ¶
func (h *AuthflowV2PromoteHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type AuthflowV2PromptCreatePasskeyHandler ¶
type AuthflowV2PromptCreatePasskeyHandler struct { Controller *handlerwebapp.AuthflowController BaseViewModel *viewmodels.BaseViewModeler Renderer handlerwebapp.Renderer }
func (*AuthflowV2PromptCreatePasskeyHandler) GetData ¶
func (h *AuthflowV2PromptCreatePasskeyHandler) GetData(w http.ResponseWriter, r *http.Request, s *webapp.Session, screen *webapp.AuthflowScreenWithFlowResponse) (map[string]interface{}, error)
func (*AuthflowV2PromptCreatePasskeyHandler) GetInlinePreviewData ¶
func (h *AuthflowV2PromptCreatePasskeyHandler) GetInlinePreviewData(w http.ResponseWriter, r *http.Request) (map[string]interface{}, error)
func (*AuthflowV2PromptCreatePasskeyHandler) ServeHTTP ¶
func (h *AuthflowV2PromptCreatePasskeyHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type AuthflowV2PromptCreatePasskeyViewModel ¶
type AuthflowV2PromptCreatePasskeyViewModel struct {
CreationOptionsJSON string
}
type AuthflowV2ReauthHandler ¶
type AuthflowV2ReauthHandler struct { Controller *handlerwebapp.AuthflowController }
func (*AuthflowV2ReauthHandler) ServeHTTP ¶
func (h *AuthflowV2ReauthHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type AuthflowV2ResetPasswordHandler ¶
type AuthflowV2ResetPasswordHandler struct { NonAuthflowControllerFactory handlerwebapp.ControllerFactory Controller *handlerwebapp.AuthflowController BaseViewModel *viewmodels.BaseViewModeler Renderer handlerwebapp.Renderer AdminAPIResetPasswordPolicy ResetPasswordHandlerPasswordPolicy ResetPassword ResetPasswordHandlerResetPasswordService Database ResetPasswordHandlerDatabase }
func (*AuthflowV2ResetPasswordHandler) GetAuthflowData ¶
func (h *AuthflowV2ResetPasswordHandler) GetAuthflowData(w http.ResponseWriter, r *http.Request, screen *webapp.AuthflowScreenWithFlowResponse) (map[string]interface{}, error)
func (*AuthflowV2ResetPasswordHandler) GetAuthflowErrorData ¶
func (h *AuthflowV2ResetPasswordHandler) GetAuthflowErrorData(w http.ResponseWriter, r *http.Request, err error) (map[string]interface{}, error)
func (*AuthflowV2ResetPasswordHandler) GetNonAuthflowData ¶
func (h *AuthflowV2ResetPasswordHandler) GetNonAuthflowData(w http.ResponseWriter, r *http.Request) (map[string]interface{}, error)
func (*AuthflowV2ResetPasswordHandler) ServeHTTP ¶
func (h *AuthflowV2ResetPasswordHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type AuthflowV2ResetPasswordSuccessHandler ¶
type AuthflowV2ResetPasswordSuccessHandler struct { Controller *handlerwebapp.AuthflowController BaseViewModel *viewmodels.BaseViewModeler Renderer handlerwebapp.Renderer }
func (*AuthflowV2ResetPasswordSuccessHandler) GetData ¶
func (h *AuthflowV2ResetPasswordSuccessHandler) GetData(w http.ResponseWriter, r *http.Request) (map[string]interface{}, error)
func (*AuthflowV2ResetPasswordSuccessHandler) ServeHTTP ¶
func (h *AuthflowV2ResetPasswordSuccessHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type AuthflowV2ResetPasswordSuccessViewModel ¶
type AuthflowV2ResetPasswordSuccessViewModel struct {
CanBackToSignIn bool
}
type AuthflowV2SelectAccountHandler ¶
type AuthflowV2SelectAccountHandler struct { ControllerFactory handlerwebapp.ControllerFactory BaseViewModel *viewmodels.BaseViewModeler Renderer handlerwebapp.Renderer AuthenticationConfig *config.AuthenticationConfig SignedUpCookie webapp.SignedUpCookieDef Users SelectAccountUserService UserFacade SelectAccountUserFacade Identities SelectAccountIdentityService AuthenticationInfoService SelectAccountAuthenticationInfoService UIInfoResolver SelectAccountUIInfoResolver Cookies handlerwebapp.CookieManager OAuthConfig *config.OAuthConfig UIConfig *config.UIConfig OAuthClientResolver handlerwebapp.WebappOAuthClientResolver }
func (*AuthflowV2SelectAccountHandler) GetData ¶
func (h *AuthflowV2SelectAccountHandler) GetData(r *http.Request, rw http.ResponseWriter, userID string) (map[string]interface{}, error)
func (*AuthflowV2SelectAccountHandler) ServeHTTP ¶
func (h *AuthflowV2SelectAccountHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
nolint: gocognit
type AuthflowV2SettingsAdvancedSettingsHandler ¶
type AuthflowV2SettingsAdvancedSettingsHandler struct { ControllerFactory handlerwebapp.ControllerFactory BaseViewModel *viewmodels.BaseViewModeler Renderer handlerwebapp.Renderer }
func (*AuthflowV2SettingsAdvancedSettingsHandler) GetData ¶
func (h *AuthflowV2SettingsAdvancedSettingsHandler) GetData(r *http.Request, w http.ResponseWriter) (map[string]interface{}, error)
func (*AuthflowV2SettingsAdvancedSettingsHandler) ServeHTTP ¶
func (h *AuthflowV2SettingsAdvancedSettingsHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type AuthflowV2SettingsBiometricHandler ¶
type AuthflowV2SettingsBiometricHandler struct { Database *appdb.Handle ControllerFactory handlerwebapp.ControllerFactory BaseViewModel *viewmodels.BaseViewModeler SettingsViewModel *viewmodels.SettingsViewModeler Renderer handlerwebapp.Renderer Identities handlerwebapp.SettingsIdentityService BiometricProvider BiometricIdentityProvider AccountManagementService *accountmanagement.Service }
func (*AuthflowV2SettingsBiometricHandler) GetData ¶
func (h *AuthflowV2SettingsBiometricHandler) GetData(r *http.Request, rw http.ResponseWriter) (map[string]interface{}, error)
func (*AuthflowV2SettingsBiometricHandler) ServeHTTP ¶
func (h *AuthflowV2SettingsBiometricHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type AuthflowV2SettingsChangePasskeyHandler ¶
type AuthflowV2SettingsChangePasskeyHandler struct { Database *appdb.Handle ControllerFactory handlerwebapp.ControllerFactory BaseViewModel *viewmodels.BaseViewModeler SettingsViewModel *viewmodels.SettingsViewModeler Renderer handlerwebapp.Renderer Identities identityservice.Service AccountManagement *accountmanagement.Service Passkey PasskeyCreationOptionsService }
func (*AuthflowV2SettingsChangePasskeyHandler) GetData ¶
func (h *AuthflowV2SettingsChangePasskeyHandler) GetData(r *http.Request, rw http.ResponseWriter) (map[string]interface{}, error)
func (*AuthflowV2SettingsChangePasskeyHandler) ServeHTTP ¶
func (h *AuthflowV2SettingsChangePasskeyHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type AuthflowV2SettingsChangePasswordHandler ¶
type AuthflowV2SettingsChangePasswordHandler struct { ControllerFactory handlerwebapp.ControllerFactory BaseViewModel *viewmodels.BaseViewModeler Renderer handlerwebapp.Renderer AccountManagementService *accountmanagement.Service PasswordPolicy handlerwebapp.PasswordPolicy }
func (*AuthflowV2SettingsChangePasswordHandler) GetData ¶
func (h *AuthflowV2SettingsChangePasswordHandler) GetData(r *http.Request, rw http.ResponseWriter) (map[string]interface{}, error)
func (*AuthflowV2SettingsChangePasswordHandler) ServeHTTP ¶
func (h *AuthflowV2SettingsChangePasswordHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type AuthflowV2SettingsDeleteAccountHandler ¶
type AuthflowV2SettingsDeleteAccountHandler struct { Database *appdb.Handle ControllerFactory handlerwebapp.ControllerFactory BaseViewModel *viewmodels.BaseViewModeler SettingsViewModel *viewmodels.SettingsViewModeler Renderer handlerwebapp.Renderer Clock clock.Clock Cookies handlerwebapp.CookieManager Users handlerwebapp.SettingsDeleteAccountUserService Sessions handlerwebapp.SettingsDeleteAccountSessionStore OAuthSessions handlerwebapp.SettingsDeleteAccountOAuthSessionService AccountDeletion *config.AccountDeletionConfig AuthenticationInfoService handlerwebapp.SettingsDeleteAccountAuthenticationInfoService }
func (*AuthflowV2SettingsDeleteAccountHandler) GetData ¶
func (h *AuthflowV2SettingsDeleteAccountHandler) GetData(r *http.Request, rw http.ResponseWriter) (map[string]interface{}, error)
func (*AuthflowV2SettingsDeleteAccountHandler) ServeHTTP ¶
func (h *AuthflowV2SettingsDeleteAccountHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type AuthflowV2SettingsDeleteAccountSuccessHandler ¶
type AuthflowV2SettingsDeleteAccountSuccessHandler struct { ControllerFactory handlerwebapp.ControllerFactory BaseViewModel *viewmodels.BaseViewModeler Renderer handlerwebapp.Renderer AccountDeletion *config.AccountDeletionConfig Clock clock.Clock UIInfoResolver handlerwebapp.SettingsDeleteAccountSuccessUIInfoResolver AuthenticationInfoService handlerwebapp.SettingsDeleteAccountSuccessAuthenticationInfoService }
func (*AuthflowV2SettingsDeleteAccountSuccessHandler) GetData ¶
func (h *AuthflowV2SettingsDeleteAccountSuccessHandler) GetData(r *http.Request, rw http.ResponseWriter) (map[string]interface{}, error)
func (*AuthflowV2SettingsDeleteAccountSuccessHandler) ServeHTTP ¶
func (h *AuthflowV2SettingsDeleteAccountSuccessHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type AuthflowV2SettingsHandler ¶
type AuthflowV2SettingsHandler struct { Database *appdb.Handle ControllerFactory handlerwebapp.ControllerFactory BaseViewModel *viewmodels.BaseViewModeler AuthenticationViewModel *viewmodels.AuthenticationViewModeler SettingsViewModel *viewmodels.SettingsViewModeler SettingsProfileViewModel *viewmodels.SettingsProfileViewModeler Identities handlerwebapp.SettingsIdentityService Renderer handlerwebapp.Renderer AccountDeletion *config.AccountDeletionConfig }
func (*AuthflowV2SettingsHandler) GetData ¶
func (h *AuthflowV2SettingsHandler) GetData(r *http.Request, rw http.ResponseWriter) (map[string]interface{}, error)
func (*AuthflowV2SettingsHandler) ServeHTTP ¶
func (h *AuthflowV2SettingsHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type AuthflowV2SettingsIdentityAddEmailHandler ¶
type AuthflowV2SettingsIdentityAddEmailHandler struct { ControllerFactory handlerwebapp.ControllerFactory BaseViewModel *viewmodels.BaseViewModeler Renderer handlerwebapp.Renderer AccountManagement accountmanagement.Service }
func (*AuthflowV2SettingsIdentityAddEmailHandler) GetData ¶
func (h *AuthflowV2SettingsIdentityAddEmailHandler) GetData(r *http.Request, rw http.ResponseWriter) (map[string]interface{}, error)
func (*AuthflowV2SettingsIdentityAddEmailHandler) ServeHTTP ¶
func (h *AuthflowV2SettingsIdentityAddEmailHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type AuthflowV2SettingsIdentityAddEmailViewModel ¶
type AuthflowV2SettingsIdentityAddEmailViewModel struct {
LoginIDKey string
}
type AuthflowV2SettingsIdentityAddPhoneHandler ¶
type AuthflowV2SettingsIdentityAddPhoneHandler struct { ControllerFactory handlerwebapp.ControllerFactory BaseViewModel *viewmodels.BaseViewModeler Renderer handlerwebapp.Renderer AuthenticatorConfig *config.AuthenticatorConfig AccountManagement accountmanagement.Service }
func (*AuthflowV2SettingsIdentityAddPhoneHandler) GetData ¶
func (h *AuthflowV2SettingsIdentityAddPhoneHandler) GetData(r *http.Request, rw http.ResponseWriter) (map[string]interface{}, error)
func (*AuthflowV2SettingsIdentityAddPhoneHandler) ServeHTTP ¶
func (h *AuthflowV2SettingsIdentityAddPhoneHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type AuthflowV2SettingsIdentityAddPhoneViewModel ¶
type AuthflowV2SettingsIdentityAddPhoneViewModel struct { LoginIDKey string Channel model.AuthenticatorOOBChannel }
type AuthflowV2SettingsIdentityChangePrimaryEmailHandler ¶
type AuthflowV2SettingsIdentityChangePrimaryEmailHandler struct { Database *appdb.Handle ControllerFactory handlerwebapp.ControllerFactory BaseViewModel *viewmodels.BaseViewModeler SettingsProfileViewModel *viewmodels.SettingsProfileViewModeler Renderer handlerwebapp.Renderer Users handlerwebapp.SettingsProfileEditUserService StdAttrs handlerwebapp.SettingsProfileEditStdAttrsService Identities *identityservice.Service }
func (*AuthflowV2SettingsIdentityChangePrimaryEmailHandler) GetData ¶
func (h *AuthflowV2SettingsIdentityChangePrimaryEmailHandler) GetData(r *http.Request, rw http.ResponseWriter) (map[string]interface{}, error)
func (*AuthflowV2SettingsIdentityChangePrimaryEmailHandler) ServeHTTP ¶
func (h *AuthflowV2SettingsIdentityChangePrimaryEmailHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type AuthflowV2SettingsIdentityChangePrimaryPhoneHandler ¶
type AuthflowV2SettingsIdentityChangePrimaryPhoneHandler struct { Database *appdb.Handle ControllerFactory handlerwebapp.ControllerFactory BaseViewModel *viewmodels.BaseViewModeler SettingsProfileViewModel *viewmodels.SettingsProfileViewModeler Renderer handlerwebapp.Renderer Users handlerwebapp.SettingsProfileEditUserService StdAttrs handlerwebapp.SettingsProfileEditStdAttrsService Identities *identityservice.Service }
func (*AuthflowV2SettingsIdentityChangePrimaryPhoneHandler) GetData ¶
func (h *AuthflowV2SettingsIdentityChangePrimaryPhoneHandler) GetData(r *http.Request, rw http.ResponseWriter) (map[string]interface{}, error)
func (*AuthflowV2SettingsIdentityChangePrimaryPhoneHandler) ServeHTTP ¶
func (h *AuthflowV2SettingsIdentityChangePrimaryPhoneHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type AuthflowV2SettingsIdentityEditEmailHandler ¶
type AuthflowV2SettingsIdentityEditEmailHandler struct { Database *appdb.Handle ControllerFactory handlerwebapp.ControllerFactory BaseViewModel *viewmodels.BaseViewModeler Renderer handlerwebapp.Renderer AccountManagement accountmanagement.Service Identities *identityservice.Service }
func (*AuthflowV2SettingsIdentityEditEmailHandler) GetData ¶
func (h *AuthflowV2SettingsIdentityEditEmailHandler) GetData(r *http.Request, rw http.ResponseWriter) (map[string]interface{}, error)
func (*AuthflowV2SettingsIdentityEditEmailHandler) ServeHTTP ¶
func (h *AuthflowV2SettingsIdentityEditEmailHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type AuthflowV2SettingsIdentityEditPhoneHandler ¶
type AuthflowV2SettingsIdentityEditPhoneHandler struct { Database *appdb.Handle ControllerFactory handlerwebapp.ControllerFactory BaseViewModel *viewmodels.BaseViewModeler Renderer handlerwebapp.Renderer AuthenticatorConfig *config.AuthenticatorConfig AccountManagement accountmanagement.Service Identities *identityservice.Service }
func (*AuthflowV2SettingsIdentityEditPhoneHandler) GetData ¶
func (h *AuthflowV2SettingsIdentityEditPhoneHandler) GetData(r *http.Request, rw http.ResponseWriter) (map[string]interface{}, error)
func (*AuthflowV2SettingsIdentityEditPhoneHandler) ServeHTTP ¶
func (h *AuthflowV2SettingsIdentityEditPhoneHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type AuthflowV2SettingsIdentityEditUsernameHandler ¶
type AuthflowV2SettingsIdentityEditUsernameHandler struct { Database *appdb.Handle AccountManagement *accountmanagement.Service Identities *identityservice.Service ControllerFactory handlerwebapp.ControllerFactory BaseViewModel *viewmodels.BaseViewModeler Renderer handlerwebapp.Renderer }
func (*AuthflowV2SettingsIdentityEditUsernameHandler) GetData ¶
func (h *AuthflowV2SettingsIdentityEditUsernameHandler) GetData(w http.ResponseWriter, r *http.Request) (map[string]interface{}, error)
func (*AuthflowV2SettingsIdentityEditUsernameHandler) ServeHTTP ¶
func (h *AuthflowV2SettingsIdentityEditUsernameHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type AuthflowV2SettingsIdentityListEmailHandler ¶
type AuthflowV2SettingsIdentityListEmailHandler struct { Database *appdb.Handle LoginIDConfig *config.LoginIDConfig Identities *identityservice.Service ControllerFactory handlerwebapp.ControllerFactory BaseViewModel *viewmodels.BaseViewModeler Verification handlerwebapp.SettingsVerificationService SettingsProfileViewModel *viewmodels.SettingsProfileViewModeler Renderer handlerwebapp.Renderer }
func (*AuthflowV2SettingsIdentityListEmailHandler) GetData ¶
func (h *AuthflowV2SettingsIdentityListEmailHandler) GetData(r *http.Request, rw http.ResponseWriter) (map[string]interface{}, error)
func (*AuthflowV2SettingsIdentityListEmailHandler) ServeHTTP ¶
func (h *AuthflowV2SettingsIdentityListEmailHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type AuthflowV2SettingsIdentityListEmailViewModel ¶
type AuthflowV2SettingsIdentityListEmailViewModel struct { LoginIDKey string PrimaryEmail *identity.LoginID EmailIdentities []*identity.LoginID Verifications map[string][]verification.ClaimStatus CreateDisabled bool }
type AuthflowV2SettingsIdentityListOAuthHandler ¶
type AuthflowV2SettingsIdentityListOAuthHandler struct { Database *appdb.Handle ControllerFactory handlerwebapp.ControllerFactory BaseViewModel *viewmodels.BaseViewModeler Renderer handlerwebapp.Renderer Identities *identityservice.Service Verification handlerwebapp.SettingsVerificationService Endpoints handlerwebapp.SettingsEndpointsProvider OAuthStateStore handlerwebapp.SettingsOAuthStateStore AccountManagement accountmanagement.Service }
func (*AuthflowV2SettingsIdentityListOAuthHandler) GetData ¶
func (h *AuthflowV2SettingsIdentityListOAuthHandler) GetData(r *http.Request, rw http.ResponseWriter) (map[string]interface{}, error)
func (*AuthflowV2SettingsIdentityListOAuthHandler) ServeHTTP ¶
func (h *AuthflowV2SettingsIdentityListOAuthHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type AuthflowV2SettingsIdentityListOAuthViewModel ¶
type AuthflowV2SettingsIdentityListOAuthViewModel struct { OAuthCandidates []identity.Candidate OAuthIdentities []*identity.OAuth Verifications map[string][]verification.ClaimStatus IdentityCount int CreateDisabled bool }
type AuthflowV2SettingsIdentityListPhoneHandler ¶
type AuthflowV2SettingsIdentityListPhoneHandler struct { Database *appdb.Handle LoginIDConfig *config.LoginIDConfig Identities *identityservice.Service ControllerFactory handlerwebapp.ControllerFactory BaseViewModel *viewmodels.BaseViewModeler Verification handlerwebapp.SettingsVerificationService SettingsProfileViewModel *viewmodels.SettingsProfileViewModeler Renderer handlerwebapp.Renderer }
func (*AuthflowV2SettingsIdentityListPhoneHandler) GetData ¶
func (h *AuthflowV2SettingsIdentityListPhoneHandler) GetData(r *http.Request, rw http.ResponseWriter) (map[string]interface{}, error)
func (*AuthflowV2SettingsIdentityListPhoneHandler) ServeHTTP ¶
func (h *AuthflowV2SettingsIdentityListPhoneHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type AuthflowV2SettingsIdentityListPhoneViewModel ¶
type AuthflowV2SettingsIdentityListPhoneViewModel struct { LoginIDKey string PrimaryPhone *identity.LoginID PhoneIdentities []*identity.LoginID Verifications map[string][]verification.ClaimStatus CreateDisabled bool }
type AuthflowV2SettingsIdentityListUsernameHandler ¶
type AuthflowV2SettingsIdentityListUsernameHandler struct { Database *appdb.Handle LoginIDConfig *config.LoginIDConfig Identities *identityservice.Service ControllerFactory handlerwebapp.ControllerFactory BaseViewModel *viewmodels.BaseViewModeler Renderer handlerwebapp.Renderer }
func (*AuthflowV2SettingsIdentityListUsernameHandler) GetData ¶
func (h *AuthflowV2SettingsIdentityListUsernameHandler) GetData(w http.ResponseWriter, r *http.Request) (map[string]interface{}, error)
func (*AuthflowV2SettingsIdentityListUsernameHandler) ServeHTTP ¶
func (h *AuthflowV2SettingsIdentityListUsernameHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type AuthflowV2SettingsIdentityNewUsernameHandler ¶
type AuthflowV2SettingsIdentityNewUsernameHandler struct { Database *appdb.Handle AccountManagement *accountmanagement.Service ControllerFactory handlerwebapp.ControllerFactory BaseViewModel *viewmodels.BaseViewModeler Renderer handlerwebapp.Renderer }
func (*AuthflowV2SettingsIdentityNewUsernameHandler) GetData ¶
func (h *AuthflowV2SettingsIdentityNewUsernameHandler) GetData(w http.ResponseWriter, r *http.Request) (map[string]interface{}, error)
func (*AuthflowV2SettingsIdentityNewUsernameHandler) ServeHTTP ¶
func (h *AuthflowV2SettingsIdentityNewUsernameHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type AuthflowV2SettingsIdentityNewUsernameViewModel ¶
type AuthflowV2SettingsIdentityNewUsernameViewModel struct {
LoginIDKey string
}
type AuthflowV2SettingsIdentityVerifyEmailHandler ¶
type AuthflowV2SettingsIdentityVerifyEmailHandler struct { Database *appdb.Handle ControllerFactory handlerwebapp.ControllerFactory BaseViewModel *viewmodels.BaseViewModeler OTPCodeService handlerwebapp.OTPCodeService Renderer handlerwebapp.Renderer AccountManagement accountmanagement.Service Clock clock.Clock Config *config.AppConfig AuthenticatorConfig *config.AuthenticatorConfig }
func (*AuthflowV2SettingsIdentityVerifyEmailHandler) GetData ¶
func (h *AuthflowV2SettingsIdentityVerifyEmailHandler) GetData(r *http.Request, rw http.ResponseWriter) (map[string]interface{}, error)
func (*AuthflowV2SettingsIdentityVerifyEmailHandler) ServeHTTP ¶
func (h *AuthflowV2SettingsIdentityVerifyEmailHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type AuthflowV2SettingsIdentityVerifyPhoneHandler ¶
type AuthflowV2SettingsIdentityVerifyPhoneHandler struct { Database *appdb.Handle ControllerFactory handlerwebapp.ControllerFactory BaseViewModel *viewmodels.BaseViewModeler OTPCodeService handlerwebapp.OTPCodeService Renderer handlerwebapp.Renderer AccountManagement accountmanagement.Service Clock clock.Clock Config *config.AppConfig AuthenticatorConfig *config.AuthenticatorConfig }
func (*AuthflowV2SettingsIdentityVerifyPhoneHandler) GetData ¶
func (h *AuthflowV2SettingsIdentityVerifyPhoneHandler) GetData(r *http.Request, rw http.ResponseWriter) (map[string]interface{}, error)
func (*AuthflowV2SettingsIdentityVerifyPhoneHandler) ServeHTTP ¶
func (h *AuthflowV2SettingsIdentityVerifyPhoneHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type AuthflowV2SettingsIdentityViewEmailHandler ¶
type AuthflowV2SettingsIdentityViewEmailHandler struct { Database *appdb.Handle LoginIDConfig *config.LoginIDConfig Identities *identityservice.Service ControllerFactory handlerwebapp.ControllerFactory BaseViewModel *viewmodels.BaseViewModeler Verification verification.Service Renderer handlerwebapp.Renderer AccountManagement accountmanagement.Service }
func (*AuthflowV2SettingsIdentityViewEmailHandler) GetData ¶
func (h *AuthflowV2SettingsIdentityViewEmailHandler) GetData(r *http.Request, rw http.ResponseWriter) (map[string]interface{}, error)
func (*AuthflowV2SettingsIdentityViewEmailHandler) ServeHTTP ¶
func (h *AuthflowV2SettingsIdentityViewEmailHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type AuthflowV2SettingsIdentityViewEmailViewModel ¶
type AuthflowV2SettingsIdentityViewEmailViewModel struct { LoginIDKey string EmailIdentity *identity.LoginID Verified bool Verifications map[string][]verification.ClaimStatus UpdateDisabled bool DeleteDisabled bool }
type AuthflowV2SettingsIdentityViewPhoneHandler ¶
type AuthflowV2SettingsIdentityViewPhoneHandler struct { Database *appdb.Handle LoginIDConfig *config.LoginIDConfig Identities *identityservice.Service ControllerFactory handlerwebapp.ControllerFactory BaseViewModel *viewmodels.BaseViewModeler Verification handlerwebapp.SettingsVerificationService Renderer handlerwebapp.Renderer AuthenticatorConfig *config.AuthenticatorConfig AccountManagement accountmanagement.Service }
func (*AuthflowV2SettingsIdentityViewPhoneHandler) GetData ¶
func (h *AuthflowV2SettingsIdentityViewPhoneHandler) GetData(r *http.Request, rw http.ResponseWriter) (map[string]interface{}, error)
func (*AuthflowV2SettingsIdentityViewPhoneHandler) ServeHTTP ¶
func (h *AuthflowV2SettingsIdentityViewPhoneHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type AuthflowV2SettingsIdentityViewUsernameHandler ¶
type AuthflowV2SettingsIdentityViewUsernameHandler struct { Database *appdb.Handle AccountManagement *accountmanagement.Service LoginIDConfig *config.LoginIDConfig Identities *identityservice.Service ControllerFactory handlerwebapp.ControllerFactory BaseViewModel *viewmodels.BaseViewModeler Renderer handlerwebapp.Renderer }
func (*AuthflowV2SettingsIdentityViewUsernameHandler) GetData ¶
func (h *AuthflowV2SettingsIdentityViewUsernameHandler) GetData(w http.ResponseWriter, r *http.Request) (map[string]interface{}, error)
func (*AuthflowV2SettingsIdentityViewUsernameHandler) ServeHTTP ¶
func (h *AuthflowV2SettingsIdentityViewUsernameHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type AuthflowV2SettingsMFAChangePasswordHandler ¶
type AuthflowV2SettingsMFAChangePasswordHandler struct { ControllerFactory handlerwebapp.ControllerFactory BaseViewModel *viewmodels.BaseViewModeler Renderer handlerwebapp.Renderer AccountManagementService *accountmanagement.Service PasswordPolicy handlerwebapp.PasswordPolicy }
func (*AuthflowV2SettingsMFAChangePasswordHandler) GetData ¶
func (h *AuthflowV2SettingsMFAChangePasswordHandler) GetData(r *http.Request, rw http.ResponseWriter) (map[string]interface{}, error)
func (*AuthflowV2SettingsMFAChangePasswordHandler) ServeHTTP ¶
func (h *AuthflowV2SettingsMFAChangePasswordHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type AuthflowV2SettingsMFACreateOOBOTPHandler ¶
type AuthflowV2SettingsMFACreateOOBOTPHandler struct { Database *appdb.Handle ControllerFactory handlerwebapp.ControllerFactory BaseViewModel *viewmodels.BaseViewModeler SettingsViewModel *viewmodels.SettingsViewModeler Renderer handlerwebapp.Renderer AccountManagementService *accountmanagement.Service }
func (*AuthflowV2SettingsMFACreateOOBOTPHandler) GetData ¶
func (h *AuthflowV2SettingsMFACreateOOBOTPHandler) GetData(r *http.Request, w http.ResponseWriter, channel model.AuthenticatorOOBChannel) (map[string]interface{}, error)
func (*AuthflowV2SettingsMFACreateOOBOTPHandler) ServeHTTP ¶
func (h *AuthflowV2SettingsMFACreateOOBOTPHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type AuthflowV2SettingsMFACreatePasswordHandler ¶
type AuthflowV2SettingsMFACreatePasswordHandler struct { ControllerFactory handlerwebapp.ControllerFactory BaseViewModel *viewmodels.BaseViewModeler SettingsViewModel *viewmodels.SettingsViewModeler PasswordPolicy handlerwebapp.PasswordPolicy Renderer handlerwebapp.Renderer AccountManagementService *accountmanagement.Service }
func (*AuthflowV2SettingsMFACreatePasswordHandler) GetData ¶
func (h *AuthflowV2SettingsMFACreatePasswordHandler) GetData(r *http.Request, rw http.ResponseWriter) (map[string]interface{}, error)
func (*AuthflowV2SettingsMFACreatePasswordHandler) ServeHTTP ¶
func (h *AuthflowV2SettingsMFACreatePasswordHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type AuthflowV2SettingsMFACreateTOTPHandler ¶
type AuthflowV2SettingsMFACreateTOTPHandler struct { Database *appdb.Handle ControllerFactory handlerwebapp.ControllerFactory BaseViewModel *viewmodels.BaseViewModeler SettingsViewModel *viewmodels.SettingsViewModeler Renderer handlerwebapp.Renderer AccountManagement *accountmanagement.Service }
func (*AuthflowV2SettingsMFACreateTOTPHandler) GetData ¶
func (h *AuthflowV2SettingsMFACreateTOTPHandler) GetData(r *http.Request, rw http.ResponseWriter, tokenString string, totpSecret string, otpauthURI string) (map[string]interface{}, error)
func (*AuthflowV2SettingsMFACreateTOTPHandler) ServeHTTP ¶
func (h *AuthflowV2SettingsMFACreateTOTPHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type AuthflowV2SettingsMFACreateTOTPViewModel ¶
type AuthflowV2SettingsMFACreateTOTPViewModel struct { Token string Secret string ImageURI htmltemplate.URL }
type AuthflowV2SettingsMFAEnterOOBOTPHandler ¶
type AuthflowV2SettingsMFAEnterOOBOTPHandler struct { ControllerFactory handlerwebapp.ControllerFactory BaseViewModel *viewmodels.BaseViewModeler Renderer handlerwebapp.Renderer FlashMessage handlerwebapp.FlashMessage Clock clock.Clock Config *config.AppConfig OTPCode handlerwebapp.OTPCodeService AccountManagement *accountmanagement.Service }
func (*AuthflowV2SettingsMFAEnterOOBOTPHandler) GetData ¶
func (h *AuthflowV2SettingsMFAEnterOOBOTPHandler) GetData(r *http.Request, w http.ResponseWriter, tokenAuthenticator *accountmanagement.TokenAuthenticator) (map[string]interface{}, error)
func (*AuthflowV2SettingsMFAEnterOOBOTPHandler) ServeHTTP ¶
func (h *AuthflowV2SettingsMFAEnterOOBOTPHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type AuthflowV2SettingsMFAEnterTOTPHandler ¶
type AuthflowV2SettingsMFAEnterTOTPHandler struct { Database *appdb.Handle ControllerFactory handlerwebapp.ControllerFactory BaseViewModel *viewmodels.BaseViewModeler SettingsViewModel *viewmodels.SettingsViewModeler Renderer handlerwebapp.Renderer Clock clock.Clock AccountManagement *accountmanagement.Service }
func (*AuthflowV2SettingsMFAEnterTOTPHandler) GetData ¶
func (h *AuthflowV2SettingsMFAEnterTOTPHandler) GetData(r *http.Request, rw http.ResponseWriter) (map[string]interface{}, error)
func (*AuthflowV2SettingsMFAEnterTOTPHandler) ServeHTTP ¶
func (h *AuthflowV2SettingsMFAEnterTOTPHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type AuthflowV2SettingsMFAEnterTOTPViewModel ¶
type AuthflowV2SettingsMFAEnterTOTPViewModel struct { Secret string ImageURI htmltemplate.URL }
type AuthflowV2SettingsMFAHandler ¶
type AuthflowV2SettingsMFAHandler struct { Database *appdb.Handle ControllerFactory handlerwebapp.ControllerFactory BaseViewModel *viewmodels.BaseViewModeler SettingsViewModel *viewmodels.SettingsViewModeler Renderer handlerwebapp.Renderer MFA *mfa.Service }
func (*AuthflowV2SettingsMFAHandler) ServeHTTP ¶
func (h *AuthflowV2SettingsMFAHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type AuthflowV2SettingsMFAPasswordHandler ¶
type AuthflowV2SettingsMFAPasswordHandler struct { Database *appdb.Handle ControllerFactory handlerwebapp.ControllerFactory BaseViewModel *viewmodels.BaseViewModeler SettingsViewModel *viewmodels.SettingsViewModeler Renderer handlerwebapp.Renderer AccountManagement *accountmanagement.Service }
func (*AuthflowV2SettingsMFAPasswordHandler) GetData ¶
func (h *AuthflowV2SettingsMFAPasswordHandler) GetData(r *http.Request, w http.ResponseWriter) (map[string]interface{}, error)
func (*AuthflowV2SettingsMFAPasswordHandler) ServeHTTP ¶
func (h *AuthflowV2SettingsMFAPasswordHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type AuthflowV2SettingsMFAViewRecoveryCodeHandler ¶
type AuthflowV2SettingsMFAViewRecoveryCodeHandler struct { Database *appdb.Handle ControllerFactory handlerwebapp.ControllerFactory BaseViewModel *viewmodels.BaseViewModeler Renderer handlerwebapp.Renderer AccountManagement *accountmanagement.Service MFA handlerwebapp.SettingsMFAService }
func (*AuthflowV2SettingsMFAViewRecoveryCodeHandler) GetData ¶
func (h *AuthflowV2SettingsMFAViewRecoveryCodeHandler) GetData(r *http.Request, rw http.ResponseWriter) (map[string]interface{}, error)
func (*AuthflowV2SettingsMFAViewRecoveryCodeHandler) ServeHTTP ¶
func (h *AuthflowV2SettingsMFAViewRecoveryCodeHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type AuthflowV2SettingsOOBOTPHandler ¶
type AuthflowV2SettingsOOBOTPHandler struct { Database *appdb.Handle ControllerFactory handlerwebapp.ControllerFactory BaseViewModel *viewmodels.BaseViewModeler SettingsViewModel *viewmodels.SettingsViewModeler Renderer handlerwebapp.Renderer AuthenticatiorConfig *config.AuthenticatorConfig AccountManagement *accountmanagement.Service Authenticators authenticatorservice.Service }
func (*AuthflowV2SettingsOOBOTPHandler) GetData ¶
func (h *AuthflowV2SettingsOOBOTPHandler) GetData(w http.ResponseWriter, r *http.Request) (map[string]interface{}, error)
func (*AuthflowV2SettingsOOBOTPHandler) ServeHTTP ¶
func (h *AuthflowV2SettingsOOBOTPHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type AuthflowV2SettingsOOBOTPViewModel ¶
type AuthflowV2SettingsOOBOTPViewModel struct { OOBOTPType model.AuthenticatorType OOBOTPAuthenticators []*authenticator.OOBOTP OOBOTPChannel model.AuthenticatorOOBChannel }
type AuthflowV2SettingsProfileEditHandler ¶
type AuthflowV2SettingsProfileEditHandler struct { Database *appdb.Handle ControllerFactory handlerwebapp.ControllerFactory BaseViewModel *viewmodels.BaseViewModeler SettingsProfileViewModel *viewmodels.SettingsProfileViewModeler Renderer handlerwebapp.Renderer UserProfileConfig *config.UserProfileConfig Users handlerwebapp.SettingsProfileEditUserService StdAttrs handlerwebapp.SettingsProfileEditStdAttrsService CustomAttrs handlerwebapp.SettingsProfileEditCustomAttrsService }
func (*AuthflowV2SettingsProfileEditHandler) GetData ¶
func (h *AuthflowV2SettingsProfileEditHandler) GetData(r *http.Request, rw http.ResponseWriter) (map[string]interface{}, error)
func (*AuthflowV2SettingsProfileEditHandler) ServeHTTP ¶
func (h *AuthflowV2SettingsProfileEditHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
nolint: gocognit
type AuthflowV2SettingsProfileHandler ¶
type AuthflowV2SettingsProfileHandler struct { Database *appdb.Handle ControllerFactory handlerwebapp.ControllerFactory BaseViewModel *viewmodels.BaseViewModeler SettingsProfileViewModel *viewmodels.SettingsProfileViewModeler Renderer handlerwebapp.Renderer }
func (*AuthflowV2SettingsProfileHandler) ServeHTTP ¶
func (h *AuthflowV2SettingsProfileHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type AuthflowV2SettingsSessionsHandler ¶
type AuthflowV2SettingsSessionsHandler struct { Database *appdb.Handle ControllerFactory handlerwebapp.ControllerFactory BaseViewModel *viewmodels.BaseViewModeler SettingsViewModel *viewmodels.SettingsViewModeler Renderer handlerwebapp.Renderer Sessions handlerwebapp.SettingsSessionManager Authorizations handlerwebapp.SettingsAuthorizationService OAuthConfig *config.OAuthConfig SessionListing handlerwebapp.SettingsSessionListingService }
func (*AuthflowV2SettingsSessionsHandler) GetData ¶
func (h *AuthflowV2SettingsSessionsHandler) GetData(r *http.Request, rw http.ResponseWriter, s session.ResolvedSession) (map[string]interface{}, error)
func (*AuthflowV2SettingsSessionsHandler) ServeHTTP ¶
func (h *AuthflowV2SettingsSessionsHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type AuthflowV2SettingsTOTPHandler ¶
type AuthflowV2SettingsTOTPHandler struct { Database *appdb.Handle ControllerFactory handlerwebapp.ControllerFactory BaseViewModel *viewmodels.BaseViewModeler SettingsViewModel *viewmodels.SettingsViewModeler Renderer handlerwebapp.Renderer AccountManagement *accountmanagement.Service Authenticators authenticatorservice.Service }
func (*AuthflowV2SettingsTOTPHandler) GetData ¶
func (h *AuthflowV2SettingsTOTPHandler) GetData(w http.ResponseWriter, r *http.Request) (map[string]interface{}, error)
func (*AuthflowV2SettingsTOTPHandler) ServeHTTP ¶
func (h *AuthflowV2SettingsTOTPHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type AuthflowV2SettingsTOTPViewModel ¶
type AuthflowV2SettingsTOTPViewModel struct {
TOTPAuthenticators []*authenticator.TOTP
}
type AuthflowV2SetupOOBOTPHandler ¶
type AuthflowV2SetupOOBOTPHandler struct { Controller *handlerwebapp.AuthflowController BaseViewModel *viewmodels.BaseViewModeler Renderer handlerwebapp.Renderer }
func (*AuthflowV2SetupOOBOTPHandler) GetData ¶
func (h *AuthflowV2SetupOOBOTPHandler) GetData(w http.ResponseWriter, r *http.Request, s *webapp.Session, screen *webapp.AuthflowScreenWithFlowResponse) (map[string]interface{}, error)
func (*AuthflowV2SetupOOBOTPHandler) ServeHTTP ¶
func (h *AuthflowV2SetupOOBOTPHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type AuthflowV2SetupTOTPHandler ¶
type AuthflowV2SetupTOTPHandler struct { Controller *handlerwebapp.AuthflowController BaseViewModel *viewmodels.BaseViewModeler Renderer handlerwebapp.Renderer }
func (*AuthflowV2SetupTOTPHandler) GetData ¶
func (h *AuthflowV2SetupTOTPHandler) GetData(w http.ResponseWriter, r *http.Request, s *webapp.Session, screen *webapp.AuthflowScreenWithFlowResponse) (map[string]interface{}, error)
func (*AuthflowV2SetupTOTPHandler) ServeHTTP ¶
func (h *AuthflowV2SetupTOTPHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type AuthflowV2SignupHandler ¶
type AuthflowV2SignupHandler struct { SignupLoginHandler InternalAuthflowV2SignupLoginHandler AuthenticationConfig *config.AuthenticationConfig UIConfig *config.UIConfig }
func (*AuthflowV2SignupHandler) ServeHTTP ¶
func (h *AuthflowV2SignupHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type AuthflowV2SignupServeOptions ¶
type AuthflowV2SignupServeOptions struct { CanSwitchToLogin bool FlowType authflow.FlowType UIVariant AuthflowV2SignupUIVariant }
type AuthflowV2SignupUIVariant ¶
type AuthflowV2SignupUIVariant string
const ( AuthflowV2SignupUIVariantSignup AuthflowV2SignupUIVariant = "signup" AuthflowV2SignupUIVariantSignupLogin AuthflowV2SignupUIVariant = "signup_login" )
type AuthflowV2SignupViewModel ¶
type AuthflowV2SignupViewModel struct { CanSwitchToLogin bool UIVariant AuthflowV2SignupUIVariant }
type AuthflowV2TerminateOtherSessionsHandler ¶
type AuthflowV2TerminateOtherSessionsHandler struct { Controller *handlerwebapp.AuthflowController BaseViewModel *viewmodels.BaseViewModeler Renderer handlerwebapp.Renderer }
func (*AuthflowV2TerminateOtherSessionsHandler) GetData ¶
func (h *AuthflowV2TerminateOtherSessionsHandler) GetData(w http.ResponseWriter, r *http.Request, s *webapp.Session, screen *webapp.AuthflowScreenWithFlowResponse) (map[string]interface{}, error)
func (*AuthflowV2TerminateOtherSessionsHandler) ServeHTTP ¶
func (h *AuthflowV2TerminateOtherSessionsHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type AuthflowV2UsePasskeyHandler ¶
type AuthflowV2UsePasskeyHandler struct { Controller *handlerwebapp.AuthflowController BaseViewModel *viewmodels.BaseViewModeler InlinePreviewAuthflowBranchViewModeler *viewmodels.InlinePreviewAuthflowBranchViewModeler Renderer handlerwebapp.Renderer }
func (*AuthflowV2UsePasskeyHandler) GetData ¶
func (h *AuthflowV2UsePasskeyHandler) GetData(w http.ResponseWriter, r *http.Request, s *webapp.Session, screen *webapp.AuthflowScreenWithFlowResponse) (map[string]interface{}, error)
func (*AuthflowV2UsePasskeyHandler) GetInlinePreviewData ¶
func (h *AuthflowV2UsePasskeyHandler) GetInlinePreviewData(w http.ResponseWriter, r *http.Request) (map[string]interface{}, error)
func (*AuthflowV2UsePasskeyHandler) ServeHTTP ¶
func (h *AuthflowV2UsePasskeyHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type AuthflowV2UsePasskeyViewModel ¶
type AuthflowV2UsePasskeyViewModel struct { AutoExecute bool PasskeyRequestOptionsJSON string IsBotProtectionRequired bool }
func NewAuthflowV2UsePasskeyViewModel ¶
func NewAuthflowV2UsePasskeyViewModel(s *webapp.Session, screen *webapp.AuthflowScreenWithFlowResponse) (*AuthflowV2UsePasskeyViewModel, error)
type AuthflowV2VerifyBotProtectionHandler ¶
type AuthflowV2VerifyBotProtectionHandler struct { Controller *handlerwebapp.AuthflowController BaseViewModel *viewmodels.BaseViewModeler Renderer handlerwebapp.Renderer }
func (*AuthflowV2VerifyBotProtectionHandler) GetData ¶
func (h *AuthflowV2VerifyBotProtectionHandler) GetData(w http.ResponseWriter, r *http.Request, screen *webapp.AuthflowScreenWithFlowResponse) (map[string]interface{}, error)
func (*AuthflowV2VerifyBotProtectionHandler) ServeHTTP ¶
func (h *AuthflowV2VerifyBotProtectionHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type AuthflowV2VerifyLoginLinkOTPHandler ¶
type AuthflowV2VerifyLoginLinkOTPHandler struct { LoginLinkOTPCodeService handlerwebapp.OTPCodeService GlobalSessionServiceFactory *handlerwebapp.GlobalSessionServiceFactory ControllerFactory handlerwebapp.ControllerFactory BaseViewModel *viewmodels.BaseViewModeler AuthenticationViewModel *viewmodels.AuthenticationViewModeler Renderer handlerwebapp.Renderer AuthenticationFlowEvents AuthenticationFlowWebsocketEventStore Config *config.AppConfig }
func (*AuthflowV2VerifyLoginLinkOTPHandler) GetData ¶
func (h *AuthflowV2VerifyLoginLinkOTPHandler) GetData(r *http.Request, rw http.ResponseWriter) (map[string]interface{}, error)
func (*AuthflowV2VerifyLoginLinkOTPHandler) ServeHTTP ¶
func (h *AuthflowV2VerifyLoginLinkOTPHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type AuthflowV2ViewRecoveryCodeHandler ¶
type AuthflowV2ViewRecoveryCodeHandler struct { Controller *handlerwebapp.AuthflowController BaseViewModel *viewmodels.BaseViewModeler Renderer handlerwebapp.Renderer }
func (*AuthflowV2ViewRecoveryCodeHandler) GetData ¶
func (h *AuthflowV2ViewRecoveryCodeHandler) GetData(w http.ResponseWriter, r *http.Request, s *webapp.Session, screen *webapp.AuthflowScreenWithFlowResponse) (map[string]interface{}, error)
func (*AuthflowV2ViewRecoveryCodeHandler) ServeHTTP ¶
func (h *AuthflowV2ViewRecoveryCodeHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type AuthflowV2WechatHandler ¶
type AuthflowV2WechatHandler struct { Controller *handlerwebapp.AuthflowController BaseViewModel *viewmodels.BaseViewModeler Renderer handlerwebapp.Renderer OAuthStateStore AuthflowV2WechatHandlerOAuthStateStore }
func (*AuthflowV2WechatHandler) GetData ¶
func (h *AuthflowV2WechatHandler) GetData(w http.ResponseWriter, r *http.Request, s *webapp.Session, screen *webapp.AuthflowScreenWithFlowResponse) (map[string]interface{}, error)
func (*AuthflowV2WechatHandler) ServeHTTP ¶
func (h *AuthflowV2WechatHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type AuthflowV2WechatHandlerOAuthStateStore ¶
type AuthflowV2WechatHandlerOAuthStateStore interface {
GenerateState(state *webappoauth.WebappOAuthState) (stateToken string, err error)
}
type AuthflowViewRecoveryCodeViewModel ¶
type AuthflowViewRecoveryCodeViewModel struct {
RecoveryCodes []string
}
type AuthflowWechatViewModel ¶
type AuthflowWechatViewModel struct { ImageURI htmltemplate.URL WechatRedirectURI htmltemplate.URL }
type Authorization ¶
type BiometricIdentity ¶
type ForgotPasswordLoginIDInputType ¶
type ForgotPasswordLoginIDInputType string
const ( ForgotPasswordLoginIDInputTypeEmail ForgotPasswordLoginIDInputType = "email" ForgotPasswordLoginIDInputTypePhone ForgotPasswordLoginIDInputType = "phone" )
func (ForgotPasswordLoginIDInputType) IsValid ¶
func (t ForgotPasswordLoginIDInputType) IsValid() bool
type InternalAuthflowV2SignupLoginHandler ¶
type InternalAuthflowV2SignupLoginHandler struct { Controller *handlerwebapp.AuthflowController BaseViewModel *viewmodels.BaseViewModeler AuthflowViewModel *viewmodels.AuthflowViewModeler Renderer handlerwebapp.Renderer MeterService handlerwebapp.MeterService TutorialCookie handlerwebapp.TutorialCookie Endpoints handlerwebapp.AuthflowSignupEndpointsProvider }
func (*InternalAuthflowV2SignupLoginHandler) GetData ¶
func (h *InternalAuthflowV2SignupLoginHandler) GetData( w http.ResponseWriter, r *http.Request, s *webapp.Session, screen *webapp.AuthflowScreenWithFlowResponse, options AuthflowV2SignupServeOptions) (map[string]interface{}, error)
func (*InternalAuthflowV2SignupLoginHandler) GetInlinePreviewData ¶
func (h *InternalAuthflowV2SignupLoginHandler) GetInlinePreviewData(w http.ResponseWriter, r *http.Request, options AuthflowV2SignupServeOptions) (map[string]interface{}, error)
func (*InternalAuthflowV2SignupLoginHandler) ServeHTTP ¶
func (h *InternalAuthflowV2SignupLoginHandler) ServeHTTP(w http.ResponseWriter, r *http.Request, options AuthflowV2SignupServeOptions)
type LoginLinkOTPPageQueryState ¶
type LoginLinkOTPPageQueryState string
const ( LoginLinkOTPPageQueryStateInitial LoginLinkOTPPageQueryState = "" LoginLinkOTPPageQueryStateInvalidCode LoginLinkOTPPageQueryState = "invalid_code" LoginLinkOTPPageQueryStateMatched LoginLinkOTPPageQueryState = "matched" )
func GetLoginLinkStateFromQuery ¶
func GetLoginLinkStateFromQuery(r *http.Request) LoginLinkOTPPageQueryState
func (*LoginLinkOTPPageQueryState) IsValid ¶
func (s *LoginLinkOTPPageQueryState) IsValid() bool
type PasskeyCreationOptionsService ¶
type PasskeyCreationOptionsService interface {
MakeCreationOptions(userID string) (*model.WebAuthnCreationOptions, error)
}
type SelectAccountAuthenticationInfoService ¶
type SelectAccountAuthenticationInfoService interface {
Save(entry *authenticationinfo.Entry) error
}
type SelectAccountUIInfoResolver ¶
type SelectAccountUIInfoResolver interface {
SetAuthenticationInfoInQuery(redirectURI string, e *authenticationinfo.Entry) string
}
type SelectAccountUserFacade ¶
type SelectAccountViewModel ¶
type SelectAccountViewModel struct { IdentityDisplayName string UserProfile handlerwebapp.UserProfile }
type SettingsAccountDeletionViewModel ¶
type SettingsAccountDeletionViewModel struct {
AccountDeletionAllowed bool
}
type SettingsBiometricViewModel ¶
type SettingsBiometricViewModel struct {
BiometricIdentities []*BiometricIdentity
}
type SettingsMFACreateOOBOTPViewModel ¶
type SettingsMFACreateOOBOTPViewModel struct {
Channel model.AuthenticatorOOBChannel
}
func NewSettingsMFACreateOOBOTPViewModel ¶
func NewSettingsMFACreateOOBOTPViewModel(channel model.AuthenticatorOOBChannel) SettingsMFACreateOOBOTPViewModel
type SettingsMFAEnterOOBOTPViewModel ¶
type SettingsMFAEnterOOBOTPViewModel struct { AuthenticatorType string Channels []model.AuthenticatorOOBChannel Channel model.AuthenticatorOOBChannel Target string MaskedClaimValue string CodeLength int FailedAttemptRateLimitExceeded bool ResendCooldown int }
func NewSettingsMFAEnterOOBOTPViewModel ¶
func NewSettingsMFAEnterOOBOTPViewModel(oobConfig *config.AuthenticatorOOBConfig, tokenAuthenticator *accountmanagement.TokenAuthenticator, now time.Time, state *otp.State) SettingsMFAEnterOOBOTPViewModel
type SettingsSessionsViewModel ¶
type SettingsSessionsViewModel struct { CurrentSessionID string Sessions []*sessionlisting.Session Authorizations []Authorization }
type VerifyLoginLinkOTPViewModel ¶
type VerifyLoginLinkOTPViewModel struct { Code string State LoginLinkOTPPageQueryState }
func NewVerifyLoginLinkOTPViewModel ¶
func NewVerifyLoginLinkOTPViewModel(r *http.Request) VerifyLoginLinkOTPViewModel
Source Files ¶
- account_linking.go
- account_status.go
- change_password.go
- change_password_success.go
- create_password.go
- deps.go
- enter_oob_otp.go
- enter_password.go
- enter_recovery_code.go
- enter_totp.go
- error.go
- finish_flow.go
- forgot_password.go
- forgot_password_link_sent.go
- forgot_password_otp.go
- internal_signup_login.go
- ldap_login.go
- login.go
- no_authenticator.go
- not_found.go
- oob_otp_link.go
- preview.go
- promote.go
- prompt_create_passkey.go
- reauth.go
- reset_password.go
- reset_password_success.go
- routes.go
- select_account.go
- settings.go
- settings_advanced.go
- settings_biometric.go
- settings_change_password.go
- settings_delete_account.go
- settings_delete_account_success.go
- settings_identity_add_email.go
- settings_identity_add_phone.go
- settings_identity_change_primary_email.go
- settings_identity_change_primary_phone.go
- settings_identity_edit_email.go
- settings_identity_edit_phone.go
- settings_identity_edit_username.go
- settings_identity_list_email.go
- settings_identity_list_oauth.go
- settings_identity_list_phone.go
- settings_identity_list_username.go
- settings_identity_new_username.go
- settings_identity_verify_email.go
- settings_identity_verify_phone.go
- settings_identity_view_email.go
- settings_identity_view_phone.go
- settings_identity_view_username.go
- settings_mfa.go
- settings_mfa_change_password.go
- settings_mfa_create_oob_otp.go
- settings_mfa_create_password.go
- settings_mfa_create_totp.go
- settings_mfa_enter_oob_otp.go
- settings_mfa_enter_totp.go
- settings_mfa_password.go
- settings_mfa_totp.go
- settings_mfa_view_recovery_code.go
- settings_oob_otp.go
- settings_passkey.go
- settings_profile.go
- settings_profile_edit.go
- settings_sessions.go
- setup_oob_otp.go
- setup_totp.go
- signup.go
- terminate_other_sessions.go
- use_passkey.go
- utils_create_authenticator.go
- verify_bot_protection.go
- verify_login_link.go
- view_recovery_code.go
- wechat.go
Click to show internal directories.
Click to hide internal directories.