text

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ErrIDNeedsPrivilegedSession                        = "session_refresh_required"
	ErrIDSelfServiceFlowExpired                        = "self_service_flow_expired"
	ErrIDSelfServiceFlowDisabled                       = "self_service_flow_disabled"
	ErrIDSelfServiceBrowserLocationChangeRequiredError = "browser_location_change_required"
	ErrIDSelfServiceFlowReplaced                       = "self_service_flow_replaced"

	ErrIDAlreadyLoggedIn             = "session_already_available"
	ErrIDAddressNotVerified          = "session_verified_address_required"
	ErrIDSessionHasAALAlready        = "session_aal_already_fulfilled"
	ErrIDSessionRequiredForHigherAAL = "session_aal1_required"
	ErrIDHigherAALRequired           = "session_aal2_required"
	ErrNoActiveSession               = "session_inactive"
	ErrIDRedirectURLNotAllowed       = "self_service_flow_return_to_forbidden"
	ErrIDInitiatedBySomeoneElse      = "security_identity_mismatch"

	ErrIDCSRF = "security_csrf_violation"
)

Variables

View Source
var Since = time.Since
View Source
var Until = time.Until

Functions

This section is empty.

Types

type ID

type ID int
const (
	InfoSelfServiceLoginRoot                 ID = 1010000 + iota // 1010000
	InfoSelfServiceLogin                                         // 1010001
	InfoSelfServiceLoginWith                                     // 1010002
	InfoSelfServiceLoginReAuth                                   // 1010003
	InfoSelfServiceLoginMFA                                      // 1010004
	InfoSelfServiceLoginVerify                                   // 1010005
	InfoSelfServiceLoginTOTPLabel                                // 1010006
	InfoLoginLookupLabel                                         // 1010007
	InfoSelfServiceLoginWebAuthn                                 // 1010008
	InfoLoginTOTP                                                // 1010009
	InfoLoginLookup                                              // 1010010
	InfoSelfServiceLoginContinueWebAuthn                         // 1010011
	InfoSelfServiceLoginWebAuthnPasswordless                     // 1010012
	InfoSelfServiceLoginContinue                                 // 1010013
	InfoSelfServiceLoginEmailWithCodeSent                        // 1010014
	InfoSelfServiceLoginCode                                     // 1010015
	InfoSelfServiceLoginLink                                     // 1010016
	InfoSelfServiceLoginAndLink                                  // 1010017
	InfoSelfServiceLoginWithAndLink                              // 1010018
	InfoSelfServiceLoginCodeMFA                                  // 1010019
	InfoSelfServiceLoginCodeMFAHint                              // 1010020
	InfoSelfServiceLoginPasskey                                  // 1010021
	InfoSelfServiceLoginPassword                                 // 1010022
	InfoSelfServiceLoginAAL2CodeAddress                          // 1010023
)
const (
	InfoSelfServiceRegistrationRoot              ID = 1040000 + iota // 1040000
	InfoSelfServiceRegistration                                      // 1040001
	InfoSelfServiceRegistrationWith                                  // 1040002
	InfoSelfServiceRegistrationContinue                              // 1040003
	InfoSelfServiceRegistrationRegisterWebAuthn                      // 1040004
	InfoSelfServiceRegistrationEmailWithCodeSent                     // 1040005
	InfoSelfServiceRegistrationRegisterCode                          // 1040006
	InfoSelfServiceRegistrationRegisterPasskey                       // 1040007
	InfoSelfServiceRegistrationBack                                  // 1040008
	InfoSelfServiceRegistrationChooseCredentials                     // 1040009
)
const (
	InfoSelfServiceSettings ID = 1050000 + iota
	InfoSelfServiceSettingsUpdateSuccess
	InfoSelfServiceSettingsUpdateLinkOidc
	InfoSelfServiceSettingsUpdateUnlinkOidc
	InfoSelfServiceSettingsUpdateUnlinkTOTP
	InfoSelfServiceSettingsTOTPQRCode
	InfoSelfServiceSettingsTOTPSecret
	InfoSelfServiceSettingsRevealLookup
	InfoSelfServiceSettingsRegenerateLookup
	InfoSelfServiceSettingsLookupSecret
	InfoSelfServiceSettingsLookupSecretLabel
	InfoSelfServiceSettingsLookupConfirm
	InfoSelfServiceSettingsRegisterWebAuthn
	InfoSelfServiceSettingsRegisterWebAuthnDisplayName
	InfoSelfServiceSettingsLookupSecretUsed
	InfoSelfServiceSettingsLookupSecretList
	InfoSelfServiceSettingsDisableLookup
	InfoSelfServiceSettingsTOTPSecretLabel
	InfoSelfServiceSettingsRemoveWebAuthn
	InfoSelfServiceSettingsRegisterPasskey
	InfoSelfServiceSettingsRemovePasskey
)
const (
	InfoSelfServiceRecovery                  ID = 1060000 + iota // 1060000
	InfoSelfServiceRecoverySuccessful                            // 1060001
	InfoSelfServiceRecoveryEmailSent                             // 1060002
	InfoSelfServiceRecoveryEmailWithCodeSent                     // 1060003
)
const (
	InfoNodeLabel                       ID = 1070000 + iota // 1070000
	InfoNodeLabelInputPassword                              // 1070001
	InfoNodeLabelGenerated                                  // 1070002
	InfoNodeLabelSave                                       // 1070003
	InfoNodeLabelID                                         // 1070004
	InfoNodeLabelSubmit                                     // 1070005
	InfoNodeLabelVerifyOTP                                  // 1070006
	InfoNodeLabelEmail                                      // 1070007
	InfoNodeLabelResendOTP                                  // 1070008
	InfoNodeLabelContinue                                   // 1070009
	InfoNodeLabelRecoveryCode                               // 1070010
	InfoNodeLabelVerificationCode                           // 1070011
	InfoNodeLabelRegistrationCode                           // 1070012
	InfoNodeLabelLoginCode                                  // 1070013
	InfoNodeLabelLoginAndLinkCredential                     // 1070014
	InfoNodeLabelCaptcha                                    // 1070015
)
const (
	InfoSelfServiceVerification                  ID = 1080000 + iota // 1080000
	InfoSelfServiceVerificationEmailSent                             // 1080001
	InfoSelfServiceVerificationSuccessful                            // 1080002
	InfoSelfServiceVerificationEmailWithCodeSent                     // 1080003
)
const (
	ErrorValidation ID = 4000000 + iota
	ErrorValidationGeneric
	ErrorValidationRequired
	ErrorValidationMinLength
	ErrorValidationInvalidFormat
	ErrorValidationPasswordPolicyViolationGeneric
	ErrorValidationInvalidCredentials
	ErrorValidationDuplicateCredentials
	ErrorValidationTOTPVerifierWrong
	ErrorValidationIdentifierMissing
	ErrorValidationAddressNotVerified
	ErrorValidationNoTOTPDevice
	ErrorValidationLookupAlreadyUsed
	ErrorValidationNoWebAuthnDevice
	ErrorValidationNoLookup
	ErrorValidationSuchNoWebAuthnUser
	ErrorValidationLookupInvalid
	ErrorValidationMaxLength
	ErrorValidationMinimum
	ErrorValidationExclusiveMinimum
	ErrorValidationMaximum
	ErrorValidationExclusiveMaximum
	ErrorValidationMultipleOf
	ErrorValidationMaxItems
	ErrorValidationMinItems
	ErrorValidationUniqueItems
	ErrorValidationWrongType
	ErrorValidationDuplicateCredentialsOnOIDCLink
	ErrorValidationDuplicateCredentialsWithHints
	ErrorValidationConst
	ErrorValidationConstGeneric
	ErrorValidationPasswordIdentifierTooSimilar
	ErrorValidationPasswordMinLength
	ErrorValidationPasswordMaxLength
	ErrorValidationPasswordTooManyBreaches
	ErrorValidationNoCodeUser
	ErrorValidationTraitsMismatch
	ErrorValidationAccountNotFound
	ErrorValidationCaptchaError
)
const (
	ErrorValidationLogin                            ID = 4010000 + iota // 4010000
	ErrorValidationLoginFlowExpired                                     // 4010001
	ErrorValidationLoginNoStrategyFound                                 // 4010002
	ErrorValidationRegistrationNoStrategyFound                          // 4010003
	ErrorValidationSettingsNoStrategyFound                              // 4010004
	ErrorValidationRecoveryNoStrategyFound                              // 4010005
	ErrorValidationVerificationNoStrategyFound                          // 4010006
	ErrorValidationLoginRetrySuccess                                    // 4010007
	ErrorValidationLoginCodeInvalidOrAlreadyUsed                        // 4010008
	ErrorValidationLoginLinkedCredentialsDoNotMatch                     // 4010009
	ErrorValidationLoginAddressUnknown                                  // 4010010
)
const (
	ErrorValidationRegistration                         ID = 4040000 + iota
	ErrorValidationRegistrationFlowExpired                 // 4040001
	ErrorValidateionRegistrationRetrySuccess               // 4040002
	ErrorValidationRegistrationCodeInvalidOrAlreadyUsed    // 4040003
)
const (
	ErrorValidationSettings ID = 4050000 + iota
	ErrorValidationSettingsFlowExpired
)
const (
	ErrorValidationRecovery                          ID = 4060000 + iota // 4060000
	ErrorValidationRecoveryRetrySuccess                                  // 4060001
	ErrorValidationRecoveryStateFailure                                  // 4060002
	ErrorValidationRecoveryMissingRecoveryToken                          // 4060003
	ErrorValidationRecoveryTokenInvalidOrAlreadyUsed                     // 4060004
	ErrorValidationRecoveryFlowExpired                                   // 4060005
	ErrorValidationRecoveryCodeInvalidOrAlreadyUsed                      // 4060006
)
const (
	ErrorValidationVerification                          ID = 4070000 + iota // 4070000
	ErrorValidationVerificationTokenInvalidOrAlreadyUsed                     // 4070001
	ErrorValidationVerificationRetrySuccess                                  // 4070002
	ErrorValidationVerificationStateFailure                                  // 4070003
	ErrorValidationVerificationMissingVerificationToken                      // 4070004
	ErrorValidationVerificationFlowExpired                                   // 4070005
	ErrorValidationVerificationCodeInvalidOrAlreadyUsed                      // 4070006
)
const (
	ErrorSystem ID = 5000000 + iota
	ErrorSystemGeneric
)
const (
	InfoSelfServiceLogout ID = 1020000 + iota
)
const (
	InfoSelfServiceMFA ID = 1030000 + iota
)

type Message

type Message struct {
	// The message ID.
	//
	// required: true
	ID ID `json:"id"`

	// The message text. Written in american english.
	//
	// required: true
	Text string `json:"text"`

	// The message type.
	//
	// required: true
	Type UITextType `json:"type"`

	// The message's context. Useful when customizing messages.
	Context json.RawMessage `json:"context,omitempty" faker:"-"`
}

swagger:model uiText

func NewCaptchaContainerMessage added in v1.3.0

func NewCaptchaContainerMessage() *Message

func NewErrorCaptchaFailed added in v1.3.0

func NewErrorCaptchaFailed() *Message

func NewErrorSystemGeneric

func NewErrorSystemGeneric(reason string) *Message

func NewErrorValidationAccountNotFound added in v1.3.0

func NewErrorValidationAccountNotFound() *Message

func NewErrorValidationAddressNotVerified

func NewErrorValidationAddressNotVerified() *Message

func NewErrorValidationAddressUnknown added in v1.1.0

func NewErrorValidationAddressUnknown() *Message

func NewErrorValidationConst added in v1.1.0

func NewErrorValidationConst(expected any) *Message

func NewErrorValidationConstGeneric added in v1.1.0

func NewErrorValidationConstGeneric() *Message

func NewErrorValidationDuplicateCredentials

func NewErrorValidationDuplicateCredentials() *Message
func NewErrorValidationDuplicateCredentialsOnOIDCLink() *Message

func NewErrorValidationDuplicateCredentialsWithHints added in v1.1.0

func NewErrorValidationDuplicateCredentialsWithHints(availableCredentialTypes []string, availableOIDCProviders []string, credentialIdentifierHint string) *Message

func NewErrorValidationExclusiveMaximum added in v0.13.0

func NewErrorValidationExclusiveMaximum(maximum, actual float64) *Message

func NewErrorValidationExclusiveMinimum added in v0.13.0

func NewErrorValidationExclusiveMinimum(minimum, actual float64) *Message

func NewErrorValidationIdentifierMissing

func NewErrorValidationIdentifierMissing() *Message

func NewErrorValidationInvalidCredentials

func NewErrorValidationInvalidCredentials() *Message

func NewErrorValidationInvalidFormat

func NewErrorValidationInvalidFormat(pattern string) *Message

func NewErrorValidationLoginCodeInvalidOrAlreadyUsed added in v1.1.0

func NewErrorValidationLoginCodeInvalidOrAlreadyUsed() *Message

func NewErrorValidationLoginFlowExpired

func NewErrorValidationLoginFlowExpired(expiredAt time.Time) *Message

func NewErrorValidationLoginLinkedCredentialsDoNotMatch added in v1.1.0

func NewErrorValidationLoginLinkedCredentialsDoNotMatch() *Message

func NewErrorValidationLoginNoStrategyFound

func NewErrorValidationLoginNoStrategyFound() *Message

func NewErrorValidationLoginRetrySuccessful added in v1.1.0

func NewErrorValidationLoginRetrySuccessful() *Message

func NewErrorValidationLookupAlreadyUsed

func NewErrorValidationLookupAlreadyUsed() *Message

func NewErrorValidationLookupInvalid

func NewErrorValidationLookupInvalid() *Message

func NewErrorValidationMaxItems added in v0.13.0

func NewErrorValidationMaxItems(maxItems, actualItems int) *Message

func NewErrorValidationMaxLength added in v0.13.0

func NewErrorValidationMaxLength(maxLength, actualLength int) *Message

func NewErrorValidationMaximum added in v0.13.0

func NewErrorValidationMaximum(maximum, actual float64) *Message

func NewErrorValidationMinItems added in v0.13.0

func NewErrorValidationMinItems(minItems, actualItems int) *Message

func NewErrorValidationMinLength

func NewErrorValidationMinLength(minLength, actualLength int) *Message

func NewErrorValidationMinimum added in v0.13.0

func NewErrorValidationMinimum(minimum, actual float64) *Message

func NewErrorValidationMultipleOf added in v0.13.0

func NewErrorValidationMultipleOf(base, actual float64) *Message

func NewErrorValidationNoCodeUser added in v1.1.0

func NewErrorValidationNoCodeUser() *Message

func NewErrorValidationNoLookup

func NewErrorValidationNoLookup() *Message

func NewErrorValidationNoTOTPDevice

func NewErrorValidationNoTOTPDevice() *Message

func NewErrorValidationNoWebAuthnDevice

func NewErrorValidationNoWebAuthnDevice() *Message

func NewErrorValidationPasswordIdentifierTooSimilar added in v1.1.0

func NewErrorValidationPasswordIdentifierTooSimilar() *Message

func NewErrorValidationPasswordMaxLength added in v1.1.0

func NewErrorValidationPasswordMaxLength(maxLength, actualLength int) *Message

func NewErrorValidationPasswordMinLength added in v1.1.0

func NewErrorValidationPasswordMinLength(minLength, actualLength int) *Message

func NewErrorValidationPasswordPolicyViolationGeneric added in v1.1.0

func NewErrorValidationPasswordPolicyViolationGeneric(reason string) *Message

func NewErrorValidationPasswordTooManyBreaches added in v1.1.0

func NewErrorValidationPasswordTooManyBreaches(breaches int64) *Message

func NewErrorValidationRecoveryCodeInvalidOrAlreadyUsed added in v0.11.0

func NewErrorValidationRecoveryCodeInvalidOrAlreadyUsed() *Message

func NewErrorValidationRecoveryFlowExpired

func NewErrorValidationRecoveryFlowExpired(expiredAt time.Time) *Message

func NewErrorValidationRecoveryNoStrategyFound

func NewErrorValidationRecoveryNoStrategyFound() *Message

func NewErrorValidationRecoveryRetrySuccess

func NewErrorValidationRecoveryRetrySuccess() *Message

func NewErrorValidationRecoveryStateFailure

func NewErrorValidationRecoveryStateFailure() *Message

func NewErrorValidationRecoveryTokenInvalidOrAlreadyUsed

func NewErrorValidationRecoveryTokenInvalidOrAlreadyUsed() *Message

func NewErrorValidationRegistrationCodeInvalidOrAlreadyUsed added in v1.1.0

func NewErrorValidationRegistrationCodeInvalidOrAlreadyUsed() *Message

func NewErrorValidationRegistrationFlowExpired

func NewErrorValidationRegistrationFlowExpired(expiredAt time.Time) *Message

func NewErrorValidationRegistrationNoStrategyFound

func NewErrorValidationRegistrationNoStrategyFound() *Message

func NewErrorValidationRegistrationRetrySuccessful added in v1.1.0

func NewErrorValidationRegistrationRetrySuccessful() *Message

func NewErrorValidationSettingsFlowExpired

func NewErrorValidationSettingsFlowExpired(expiredAt time.Time) *Message

func NewErrorValidationSettingsNoStrategyFound

func NewErrorValidationSettingsNoStrategyFound() *Message

func NewErrorValidationSuchNoWebAuthnUser

func NewErrorValidationSuchNoWebAuthnUser() *Message

func NewErrorValidationTOTPVerifierWrong

func NewErrorValidationTOTPVerifierWrong() *Message

func NewErrorValidationTraitsMismatch added in v1.1.0

func NewErrorValidationTraitsMismatch() *Message

func NewErrorValidationUniqueItems added in v0.13.0

func NewErrorValidationUniqueItems(indexA, indexB int) *Message

func NewErrorValidationVerificationCodeInvalidOrAlreadyUsed added in v0.11.0

func NewErrorValidationVerificationCodeInvalidOrAlreadyUsed() *Message

func NewErrorValidationVerificationFlowExpired

func NewErrorValidationVerificationFlowExpired(expiredAt time.Time) *Message

func NewErrorValidationVerificationNoStrategyFound

func NewErrorValidationVerificationNoStrategyFound() *Message

func NewErrorValidationVerificationRetrySuccess

func NewErrorValidationVerificationRetrySuccess() *Message

func NewErrorValidationVerificationStateFailure

func NewErrorValidationVerificationStateFailure() *Message

func NewErrorValidationVerificationTokenInvalidOrAlreadyUsed

func NewErrorValidationVerificationTokenInvalidOrAlreadyUsed() *Message

func NewErrorValidationWrongType added in v0.13.0

func NewErrorValidationWrongType(allowedTypes []string, actualType string) *Message

func NewInfoLogin

func NewInfoLogin() *Message
func NewInfoLoginAndLink() *Message

func NewInfoLoginLinkMessage added in v1.1.0

func NewInfoLoginLinkMessage(dupIdentifier, provider, newLoginURL string, availableCredentials, availableProviders []string) *Message

func NewInfoLoginLookup

func NewInfoLoginLookup() *Message

func NewInfoLoginLookupLabel

func NewInfoLoginLookupLabel() *Message

func NewInfoLoginMFA

func NewInfoLoginMFA() *Message

func NewInfoLoginPassword added in v1.3.0

func NewInfoLoginPassword() *Message

func NewInfoLoginReAuth

func NewInfoLoginReAuth() *Message

func NewInfoLoginTOTP

func NewInfoLoginTOTP() *Message

func NewInfoLoginTOTPLabel

func NewInfoLoginTOTPLabel() *Message

func NewInfoLoginVerify

func NewInfoLoginVerify() *Message

func NewInfoLoginWebAuthnPasswordless

func NewInfoLoginWebAuthnPasswordless() *Message

func NewInfoLoginWith

func NewInfoLoginWith(provider string, providerId string) *Message
func NewInfoLoginWithAndLink(provider string) *Message

func NewInfoNodeInputEmail

func NewInfoNodeInputEmail() *Message

func NewInfoNodeInputPassword

func NewInfoNodeInputPassword() *Message

func NewInfoNodeLabelContinue added in v0.11.0

func NewInfoNodeLabelContinue() *Message

func NewInfoNodeLabelGenerated

func NewInfoNodeLabelGenerated(title string) *Message

func NewInfoNodeLabelID

func NewInfoNodeLabelID() *Message

func NewInfoNodeLabelLoginCode added in v1.1.0

func NewInfoNodeLabelLoginCode() *Message

func NewInfoNodeLabelRecoveryCode added in v1.0.0

func NewInfoNodeLabelRecoveryCode() *Message

func NewInfoNodeLabelRegistrationCode added in v1.1.0

func NewInfoNodeLabelRegistrationCode() *Message

func NewInfoNodeLabelSave

func NewInfoNodeLabelSave() *Message

func NewInfoNodeLabelSubmit

func NewInfoNodeLabelSubmit() *Message

func NewInfoNodeLabelVerificationCode added in v1.0.0

func NewInfoNodeLabelVerificationCode() *Message

func NewInfoNodeLabelVerifyOTP

func NewInfoNodeLabelVerifyOTP() *Message

func NewInfoNodeLoginAndLinkCredential added in v1.1.0

func NewInfoNodeLoginAndLinkCredential() *Message

func NewInfoNodeResendOTP added in v0.11.0

func NewInfoNodeResendOTP() *Message

func NewInfoRegistration

func NewInfoRegistration() *Message

func NewInfoRegistrationBack added in v1.2.0

func NewInfoRegistrationBack() *Message

func NewInfoRegistrationContinue

func NewInfoRegistrationContinue() *Message

func NewInfoRegistrationWith

func NewInfoRegistrationWith(provider string, providerID string) *Message

func NewInfoSelfServiceChooseCredentials added in v1.2.0

func NewInfoSelfServiceChooseCredentials() *Message

func NewInfoSelfServiceContinueLoginWebAuthn

func NewInfoSelfServiceContinueLoginWebAuthn() *Message

func NewInfoSelfServiceLoginAAL2CodeAddress added in v1.3.0

func NewInfoSelfServiceLoginAAL2CodeAddress(channel string, to string) *Message

func NewInfoSelfServiceLoginCode added in v1.1.0

func NewInfoSelfServiceLoginCode() *Message

func NewInfoSelfServiceLoginCodeMFA added in v1.1.0

func NewInfoSelfServiceLoginCodeMFA() *Message

func NewInfoSelfServiceLoginContinue

func NewInfoSelfServiceLoginContinue() *Message

func NewInfoSelfServiceLoginPasskey added in v1.2.0

func NewInfoSelfServiceLoginPasskey() *Message

func NewInfoSelfServiceLoginWebAuthn

func NewInfoSelfServiceLoginWebAuthn() *Message

func NewInfoSelfServiceRegisterWebAuthnDisplayName

func NewInfoSelfServiceRegisterWebAuthnDisplayName() *Message

func NewInfoSelfServiceRegistrationRegisterCode added in v1.1.0

func NewInfoSelfServiceRegistrationRegisterCode() *Message

func NewInfoSelfServiceRegistrationRegisterPasskey added in v1.2.0

func NewInfoSelfServiceRegistrationRegisterPasskey() *Message

func NewInfoSelfServiceRegistrationRegisterWebAuthn

func NewInfoSelfServiceRegistrationRegisterWebAuthn() *Message

func NewInfoSelfServiceRemovePasskey added in v1.2.0

func NewInfoSelfServiceRemovePasskey(name string, createdAt time.Time) *Message

func NewInfoSelfServiceRemoveWebAuthn

func NewInfoSelfServiceRemoveWebAuthn(name string, createdAt time.Time) *Message

func NewInfoSelfServiceSettingsDisableLookup

func NewInfoSelfServiceSettingsDisableLookup() *Message

func NewInfoSelfServiceSettingsLookupConfirm

func NewInfoSelfServiceSettingsLookupConfirm() *Message

func NewInfoSelfServiceSettingsLookupSecret

func NewInfoSelfServiceSettingsLookupSecret(secret string) *Message

func NewInfoSelfServiceSettingsLookupSecretList

func NewInfoSelfServiceSettingsLookupSecretList(secrets []string, raw any) *Message

func NewInfoSelfServiceSettingsLookupSecretUsed

func NewInfoSelfServiceSettingsLookupSecretUsed(usedAt time.Time) *Message

func NewInfoSelfServiceSettingsLookupSecretsLabel

func NewInfoSelfServiceSettingsLookupSecretsLabel() *Message

func NewInfoSelfServiceSettingsRegenerateLookup

func NewInfoSelfServiceSettingsRegenerateLookup() *Message

func NewInfoSelfServiceSettingsRegisterPasskey added in v1.2.0

func NewInfoSelfServiceSettingsRegisterPasskey() *Message

func NewInfoSelfServiceSettingsRegisterWebAuthn

func NewInfoSelfServiceSettingsRegisterWebAuthn() *Message

func NewInfoSelfServiceSettingsRevealLookup

func NewInfoSelfServiceSettingsRevealLookup() *Message

func NewInfoSelfServiceSettingsTOTPQRCode

func NewInfoSelfServiceSettingsTOTPQRCode() *Message

func NewInfoSelfServiceSettingsTOTPSecret

func NewInfoSelfServiceSettingsTOTPSecret(secret string) *Message

func NewInfoSelfServiceSettingsTOTPSecretLabel

func NewInfoSelfServiceSettingsTOTPSecretLabel() *Message

func NewInfoSelfServiceSettingsUpdateLinkOIDC

func NewInfoSelfServiceSettingsUpdateLinkOIDC(provider string) *Message

func NewInfoSelfServiceSettingsUpdateSuccess

func NewInfoSelfServiceSettingsUpdateSuccess() *Message

func NewInfoSelfServiceSettingsUpdateUnlinkOIDC

func NewInfoSelfServiceSettingsUpdateUnlinkOIDC(provider string) *Message

func NewInfoSelfServiceSettingsUpdateUnlinkTOTP

func NewInfoSelfServiceSettingsUpdateUnlinkTOTP() *Message

func NewInfoSelfServiceVerificationSuccessful

func NewInfoSelfServiceVerificationSuccessful() *Message

func NewLoginEmailWithCodeSent added in v1.1.0

func NewLoginEmailWithCodeSent() *Message

func NewRecoveryEmailSent

func NewRecoveryEmailSent() *Message

func NewRecoveryEmailWithCodeSent added in v0.11.0

func NewRecoveryEmailWithCodeSent() *Message

func NewRecoverySuccessful

func NewRecoverySuccessful(privilegedSessionExpiresAt time.Time) *Message

func NewRegistrationEmailWithCodeSent added in v1.1.0

func NewRegistrationEmailWithCodeSent() *Message

func NewValidationErrorGeneric

func NewValidationErrorGeneric(reason string) *Message

func NewValidationErrorRequired

func NewValidationErrorRequired(missing string) *Message

func NewVerificationEmailSent

func NewVerificationEmailSent() *Message

func NewVerificationEmailWithCodeSent added in v0.11.0

func NewVerificationEmailWithCodeSent() *Message

func (*Message) Error added in v1.1.0

func (m *Message) Error() string

func (*Message) Is added in v1.1.0

func (m *Message) Is(err error) bool

func (*Message) Scan

func (m *Message) Scan(value interface{}) error

func (Message) Value

func (m Message) Value() (driver.Value, error)

type Messages

type Messages []Message

swagger:model uiTexts

func (*Messages) Add

func (h *Messages) Add(m *Message) Messages

func (*Messages) Clear

func (h *Messages) Clear() Messages

func (Messages) MarshalJSON

func (h Messages) MarshalJSON() ([]byte, error)

func (*Messages) Scan

func (h *Messages) Scan(value interface{}) error

func (*Messages) Set

func (h *Messages) Set(m *Message) Messages

func (Messages) Value

func (h Messages) Value() (driver.Value, error)

type UITextType added in v0.11.0

type UITextType string

swagger:enum UITextType

const (
	Info    UITextType = "info"
	Error   UITextType = "error"
	Success UITextType = "success"
)

aligned with https://github.com/ory/elements/blob/main/src/theme/message.css.ts

Jump to

Keyboard shortcuts

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