models

package
v0.0.0-...-008ff50 Latest Latest
Warning

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

Go to latest
Published: May 27, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// CodeTypeActivation captures enum value "activation"
	CodeTypeActivation string = "activation"

	// CodeTypeResetPassword captures enum value "reset_password"
	CodeTypeResetPassword string = "reset_password"

	// CodeTypeResetTotp captures enum value "reset_totp"
	CodeTypeResetTotp string = "reset_totp"

	// CodeTypeEnrollWebauthn captures enum value "enroll_webauthn"
	CodeTypeEnrollWebauthn string = "enroll_webauthn"

	// CodeTypeChallenge captures enum value "challenge"
	CodeTypeChallenge string = "challenge"

	// CodeTypeVerifyAddress captures enum value "verify_address"
	CodeTypeVerifyAddress string = "verify_address"

	// CodeTypeAuthentication captures enum value "authentication"
	CodeTypeAuthentication string = "authentication"

	// CodeTypePairDevice captures enum value "pair_device"
	CodeTypePairDevice string = "pair_device"
)
View Source
const (

	// HashConfigMethodBcrypt captures enum value "bcrypt"
	HashConfigMethodBcrypt string = "bcrypt"

	// HashConfigMethodPbkdf2 captures enum value "pbkdf2"
	HashConfigMethodPbkdf2 string = "pbkdf2"

	// HashConfigMethodArgon2 captures enum value "argon2"
	HashConfigMethodArgon2 string = "argon2"

	// HashConfigMethodSha captures enum value "sha"
	HashConfigMethodSha string = "sha"

	// HashConfigMethodMd5 captures enum value "md5"
	HashConfigMethodMd5 string = "md5"
)
View Source
const (

	// MFAPreferencesPreferred2faTotp captures enum value "totp"
	MFAPreferencesPreferred2faTotp string = "totp"

	// MFAPreferencesPreferred2faPassword captures enum value "password"
	MFAPreferencesPreferred2faPassword string = "password"

	// MFAPreferencesPreferred2faOtp captures enum value "otp"
	MFAPreferencesPreferred2faOtp string = "otp"

	// MFAPreferencesPreferred2faEmailOtp captures enum value "email_otp"
	MFAPreferencesPreferred2faEmailOtp string = "email_otp"

	// MFAPreferencesPreferred2faSmsOtp captures enum value "sms_otp"
	MFAPreferencesPreferred2faSmsOtp string = "sms_otp"

	// MFAPreferencesPreferred2faVoiceOtp captures enum value "voice_otp"
	MFAPreferencesPreferred2faVoiceOtp string = "voice_otp"

	// MFAPreferencesPreferred2faWebauthn captures enum value "webauthn"
	MFAPreferencesPreferred2faWebauthn string = "webauthn"

	// MFAPreferencesPreferred2faUsernamelessWebauthn captures enum value "usernameless_webauthn"
	MFAPreferencesPreferred2faUsernamelessWebauthn string = "usernameless_webauthn"

	// MFAPreferencesPreferred2faPush captures enum value "push"
	MFAPreferencesPreferred2faPush string = "push"

	// MFAPreferencesPreferred2faSymbol captures enum value "symbol"
	MFAPreferencesPreferred2faSymbol string = "symbol"

	// MFAPreferencesPreferred2faQrCode captures enum value "qr_code"
	MFAPreferencesPreferred2faQrCode string = "qr_code"
)
View Source
const (

	// PasswordPolicyStrengthAny captures enum value "any"
	PasswordPolicyStrengthAny string = "any"

	// PasswordPolicyStrengthWeak captures enum value "weak"
	PasswordPolicyStrengthWeak string = "weak"

	// PasswordPolicyStrengthFair captures enum value "fair"
	PasswordPolicyStrengthFair string = "fair"

	// PasswordPolicyStrengthStrong captures enum value "strong"
	PasswordPolicyStrengthStrong string = "strong"

	// PasswordPolicyStrengthVeryStrong captures enum value "very_strong"
	PasswordPolicyStrengthVeryStrong string = "very_strong"
)
View Source
const (

	// PasswordSettingsHashingMethodBcrypt captures enum value "bcrypt"
	PasswordSettingsHashingMethodBcrypt string = "bcrypt"

	// PasswordSettingsHashingMethodPbkdf2 captures enum value "pbkdf2"
	PasswordSettingsHashingMethodPbkdf2 string = "pbkdf2"

	// PasswordSettingsHashingMethodArgon2 captures enum value "argon2"
	PasswordSettingsHashingMethodArgon2 string = "argon2"

	// PasswordSettingsHashingMethodSha captures enum value "sha"
	PasswordSettingsHashingMethodSha string = "sha"
)
View Source
const (

	// PoolPreferredAuthenticationMechanismTotp captures enum value "totp"
	PoolPreferredAuthenticationMechanismTotp string = "totp"

	// PoolPreferredAuthenticationMechanismPassword captures enum value "password"
	PoolPreferredAuthenticationMechanismPassword string = "password"

	// PoolPreferredAuthenticationMechanismOtp captures enum value "otp"
	PoolPreferredAuthenticationMechanismOtp string = "otp"

	// PoolPreferredAuthenticationMechanismEmailOtp captures enum value "email_otp"
	PoolPreferredAuthenticationMechanismEmailOtp string = "email_otp"

	// PoolPreferredAuthenticationMechanismSmsOtp captures enum value "sms_otp"
	PoolPreferredAuthenticationMechanismSmsOtp string = "sms_otp"

	// PoolPreferredAuthenticationMechanismVoiceOtp captures enum value "voice_otp"
	PoolPreferredAuthenticationMechanismVoiceOtp string = "voice_otp"

	// PoolPreferredAuthenticationMechanismWebauthn captures enum value "webauthn"
	PoolPreferredAuthenticationMechanismWebauthn string = "webauthn"

	// PoolPreferredAuthenticationMechanismUsernamelessWebauthn captures enum value "usernameless_webauthn"
	PoolPreferredAuthenticationMechanismUsernamelessWebauthn string = "usernameless_webauthn"

	// PoolPreferredAuthenticationMechanismPush captures enum value "push"
	PoolPreferredAuthenticationMechanismPush string = "push"

	// PoolPreferredAuthenticationMechanismSymbol captures enum value "symbol"
	PoolPreferredAuthenticationMechanismSymbol string = "symbol"

	// PoolPreferredAuthenticationMechanismQrCode captures enum value "qr_code"
	PoolPreferredAuthenticationMechanismQrCode string = "qr_code"
)
View Source
const (

	// PoolSecondFactorPreferredAuthenticationMechanismTotp captures enum value "totp"
	PoolSecondFactorPreferredAuthenticationMechanismTotp string = "totp"

	// PoolSecondFactorPreferredAuthenticationMechanismPassword captures enum value "password"
	PoolSecondFactorPreferredAuthenticationMechanismPassword string = "password"

	// PoolSecondFactorPreferredAuthenticationMechanismOtp captures enum value "otp"
	PoolSecondFactorPreferredAuthenticationMechanismOtp string = "otp"

	// PoolSecondFactorPreferredAuthenticationMechanismEmailOtp captures enum value "email_otp"
	PoolSecondFactorPreferredAuthenticationMechanismEmailOtp string = "email_otp"

	// PoolSecondFactorPreferredAuthenticationMechanismSmsOtp captures enum value "sms_otp"
	PoolSecondFactorPreferredAuthenticationMechanismSmsOtp string = "sms_otp"

	// PoolSecondFactorPreferredAuthenticationMechanismVoiceOtp captures enum value "voice_otp"
	PoolSecondFactorPreferredAuthenticationMechanismVoiceOtp string = "voice_otp"

	// PoolSecondFactorPreferredAuthenticationMechanismWebauthn captures enum value "webauthn"
	PoolSecondFactorPreferredAuthenticationMechanismWebauthn string = "webauthn"

	// PoolSecondFactorPreferredAuthenticationMechanismUsernamelessWebauthn captures enum value "usernameless_webauthn"
	PoolSecondFactorPreferredAuthenticationMechanismUsernamelessWebauthn string = "usernameless_webauthn"

	// PoolSecondFactorPreferredAuthenticationMechanismPush captures enum value "push"
	PoolSecondFactorPreferredAuthenticationMechanismPush string = "push"

	// PoolSecondFactorPreferredAuthenticationMechanismSymbol captures enum value "symbol"
	PoolSecondFactorPreferredAuthenticationMechanismSymbol string = "symbol"

	// PoolSecondFactorPreferredAuthenticationMechanismQrCode captures enum value "qr_code"
	PoolSecondFactorPreferredAuthenticationMechanismQrCode string = "qr_code"
)
View Source
const (

	// RequestCodeTypeActivation captures enum value "activation"
	RequestCodeTypeActivation string = "activation"

	// RequestCodeTypeResetPassword captures enum value "reset_password"
	RequestCodeTypeResetPassword string = "reset_password"

	// RequestCodeTypeResetTotp captures enum value "reset_totp"
	RequestCodeTypeResetTotp string = "reset_totp"

	// RequestCodeTypeEnrollWebauthn captures enum value "enroll_webauthn"
	RequestCodeTypeEnrollWebauthn string = "enroll_webauthn"

	// RequestCodeTypeChallenge captures enum value "challenge"
	RequestCodeTypeChallenge string = "challenge"

	// RequestCodeTypeVerifyAddress captures enum value "verify_address"
	RequestCodeTypeVerifyAddress string = "verify_address"

	// RequestCodeTypeAuthentication captures enum value "authentication"
	RequestCodeTypeAuthentication string = "authentication"

	// RequestCodeTypePairDevice captures enum value "pair_device"
	RequestCodeTypePairDevice string = "pair_device"
)
View Source
const (

	// Rfc6902PatchOperationOpAdd captures enum value "add"
	Rfc6902PatchOperationOpAdd string = "add"

	// Rfc6902PatchOperationOpRemove captures enum value "remove"
	Rfc6902PatchOperationOpRemove string = "remove"

	// Rfc6902PatchOperationOpReplace captures enum value "replace"
	Rfc6902PatchOperationOpReplace string = "replace"

	// Rfc6902PatchOperationOpMove captures enum value "move"
	Rfc6902PatchOperationOpMove string = "move"

	// Rfc6902PatchOperationOpCopy captures enum value "copy"
	Rfc6902PatchOperationOpCopy string = "copy"

	// Rfc6902PatchOperationOpTest captures enum value "test"
	Rfc6902PatchOperationOpTest string = "test"
)
View Source
const (

	// UserStatusActive captures enum value "active"
	UserStatusActive string = "active"

	// UserStatusInactive captures enum value "inactive"
	UserStatusInactive string = "inactive"

	// UserStatusDeleted captures enum value "deleted"
	UserStatusDeleted string = "deleted"

	// UserStatusNew captures enum value "new"
	UserStatusNew string = "new"
)
View Source
const (

	// UserUserTypeJit captures enum value "jit"
	UserUserTypeJit string = "jit"

	// UserUserTypeStandard captures enum value "standard"
	UserUserTypeStandard string = "standard"

	// UserUserTypeScim captures enum value "scim"
	UserUserTypeScim string = "scim"
)
View Source
const (

	// UserCredentialStateValid captures enum value "valid"
	UserCredentialStateValid string = "valid"

	// UserCredentialStateMustBeReset captures enum value "must_be_reset"
	UserCredentialStateMustBeReset string = "must_be_reset"

	// UserCredentialStateMustBeChanged captures enum value "must_be_changed"
	UserCredentialStateMustBeChanged string = "must_be_changed"
)
View Source
const (

	// UserCredentialTypePassword captures enum value "password"
	UserCredentialTypePassword string = "password"

	// UserCredentialTypeWebauthn captures enum value "webauthn"
	UserCredentialTypeWebauthn string = "webauthn"

	// UserCredentialTypeTotp captures enum value "totp"
	UserCredentialTypeTotp string = "totp"

	// UserCredentialTypeDevice captures enum value "device"
	UserCredentialTypeDevice string = "device"
)
View Source
const (

	// UserIdentifierTypeEmail captures enum value "email"
	UserIdentifierTypeEmail string = "email"

	// UserIdentifierTypeMobile captures enum value "mobile"
	UserIdentifierTypeMobile string = "mobile"

	// UserIdentifierTypeUID captures enum value "uid"
	UserIdentifierTypeUID string = "uid"

	// UserIdentifierTypeExternal captures enum value "external"
	UserIdentifierTypeExternal string = "external"

	// UserIdentifierTypeFederated captures enum value "federated"
	UserIdentifierTypeFederated string = "federated"
)
View Source
const (

	// UserVerifiableAddressPreferredContactMethodSms captures enum value "sms"
	UserVerifiableAddressPreferredContactMethodSms string = "sms"

	// UserVerifiableAddressPreferredContactMethodVoice captures enum value "voice"
	UserVerifiableAddressPreferredContactMethodVoice string = "voice"
)
View Source
const (

	// UserVerifiableAddressStatusActive captures enum value "active"
	UserVerifiableAddressStatusActive string = "active"

	// UserVerifiableAddressStatusInactive captures enum value "inactive"
	UserVerifiableAddressStatusInactive string = "inactive"
)
View Source
const (

	// UserVerifiableAddressTypeEmail captures enum value "email"
	UserVerifiableAddressTypeEmail string = "email"

	// UserVerifiableAddressTypeMobile captures enum value "mobile"
	UserVerifiableAddressTypeMobile string = "mobile"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Argon2Config

type Argon2Config struct {

	// iterations
	Iterations int64 `json:"iterations,omitempty" yaml:"iterations,omitempty"`

	// key length
	KeyLength int64 `json:"key_length,omitempty" yaml:"key_length,omitempty"`

	// memory in kb
	MemoryInKb int64 `json:"memory_in_kb,omitempty" yaml:"memory_in_kb,omitempty"`

	// parallelism
	Parallelism int64 `json:"parallelism,omitempty" yaml:"parallelism,omitempty"`

	// salt
	Salt string `json:"salt,omitempty" yaml:"salt,omitempty"`

	// salt length
	SaltLength int64 `json:"salt_length,omitempty" yaml:"salt_length,omitempty"`
}

Argon2Config argon2 config

swagger:model Argon2Config

func (*Argon2Config) ContextValidate

func (m *Argon2Config) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this argon2 config based on context it is used

func (*Argon2Config) MarshalBinary

func (m *Argon2Config) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Argon2Config) UnmarshalBinary

func (m *Argon2Config) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Argon2Config) Validate

func (m *Argon2Config) Validate(formats strfmt.Registry) error

Validate validates this argon2 config

type AuthenticationMechanisms

type AuthenticationMechanisms []string

AuthenticationMechanisms authentication mechanisms

swagger:model AuthenticationMechanisms

func (AuthenticationMechanisms) ContextValidate

func (m AuthenticationMechanisms) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this authentication mechanisms based on context it is used

func (AuthenticationMechanisms) Validate

func (m AuthenticationMechanisms) Validate(formats strfmt.Registry) error

Validate validates this authentication mechanisms

type BcryptConfig

type BcryptConfig struct {

	// cost
	Cost int64 `json:"cost,omitempty" yaml:"cost,omitempty"`
}

BcryptConfig bcrypt config

swagger:model BcryptConfig

func (*BcryptConfig) ContextValidate

func (m *BcryptConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this bcrypt config based on context it is used

func (*BcryptConfig) MarshalBinary

func (m *BcryptConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BcryptConfig) UnmarshalBinary

func (m *BcryptConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BcryptConfig) Validate

func (m *BcryptConfig) Validate(formats strfmt.Registry) error

Validate validates this bcrypt config

type Code

type Code struct {

	// code
	// Required: true
	Code *CodeValue `json:"code" yaml:"code"`

	// created at
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty" yaml:"created_at,omitempty"`

	// expires at
	// Format: date-time
	ExpiresAt strfmt.DateTime `json:"expires_at,omitempty" yaml:"expires_at,omitempty"`

	// id
	ID string `json:"id,omitempty" yaml:"id,omitempty"`

	// issued at
	// Format: date-time
	IssuedAt strfmt.DateTime `json:"issued_at,omitempty" yaml:"issued_at,omitempty"`

	// general purpose metadata
	Metadata map[string]interface{} `json:"metadata,omitempty" yaml:"metadata,omitempty"`

	// tenant id
	// Example: default
	// Required: true
	TenantID string `json:"tenant_id" yaml:"tenant_id"`

	// type
	// Example: active
	// Required: true
	// Enum: ["activation","reset_password","reset_totp","enroll_webauthn","challenge","verify_address","authentication","pair_device"]
	Type string `json:"type" yaml:"type"`

	// user id
	// Required: true
	UserID string `json:"user_id" yaml:"user_id"`

	// user pool id
	// Example: default
	// Required: true
	UserPoolID string `json:"user_pool_id" yaml:"user_pool_id"`

	// verifiable address id
	VerifiableAddressID string `json:"verifiable_address_id,omitempty" yaml:"verifiable_address_id,omitempty"`
}

Code code

swagger:model Code

func (*Code) ContextValidate

func (m *Code) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this code based on the context it is used

func (*Code) MarshalBinary

func (m *Code) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Code) UnmarshalBinary

func (m *Code) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Code) Validate

func (m *Code) Validate(formats strfmt.Registry) error

Validate validates this code

type CodeValue

type CodeValue struct {

	// hashed code
	HashedCode *Hash `json:"hashed_code,omitempty" yaml:"hashed_code,omitempty"`
}

CodeValue code value

swagger:model CodeValue

func (*CodeValue) ContextValidate

func (m *CodeValue) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this code value based on the context it is used

func (*CodeValue) MarshalBinary

func (m *CodeValue) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CodeValue) UnmarshalBinary

func (m *CodeValue) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CodeValue) Validate

func (m *CodeValue) Validate(formats strfmt.Registry) error

Validate validates this code value

type Codes

type Codes struct {

	// code
	// Required: true
	Code string `json:"code" yaml:"code"`

	// extended code
	// Required: true
	ExtendedCode string `json:"extended_code" yaml:"extended_code"`
}

Codes codes

swagger:model Codes

func (*Codes) ContextValidate

func (m *Codes) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this codes based on context it is used

func (*Codes) MarshalBinary

func (m *Codes) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Codes) UnmarshalBinary

func (m *Codes) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Codes) Validate

func (m *Codes) Validate(formats strfmt.Registry) error

Validate validates this codes

type Dump

type Dump struct {

	// codes
	Codes []*Code `json:"codes" yaml:"codes"`

	// group members
	GroupMembers []*GroupMember `json:"group_members" yaml:"group_members"`

	// groups
	Groups []*InternalGroup `json:"groups" yaml:"groups"`

	// pools
	Pools []*Pool `json:"pools" yaml:"pools"`

	// schemas
	Schemas []*Schema `json:"schemas" yaml:"schemas"`

	// user credentials
	UserCredentials []*UserCredential `json:"user_credentials" yaml:"user_credentials"`

	// user identifiers
	UserIdentifiers []*UserIdentifier `json:"user_identifiers" yaml:"user_identifiers"`

	// user verifiable addresses
	UserVerifiableAddresses []*UserVerifiableAddress `json:"user_verifiable_addresses" yaml:"user_verifiable_addresses"`

	// users
	Users []*User `json:"users" yaml:"users"`
}

Dump dump

swagger:model Dump

func (*Dump) ContextValidate

func (m *Dump) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this dump based on the context it is used

func (*Dump) MarshalBinary

func (m *Dump) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Dump) UnmarshalBinary

func (m *Dump) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Dump) Validate

func (m *Dump) Validate(formats strfmt.Registry) error

Validate validates this dump

type Error

type Error struct {

	// details
	Details interface{} `json:"details,omitempty" yaml:"details,omitempty"`

	// error
	Error string `json:"error,omitempty" yaml:"error,omitempty"`

	// error code
	ErrorCode string `json:"error_code,omitempty" yaml:"error_code,omitempty"`

	// status code
	StatusCode int64 `json:"status_code,omitempty" yaml:"status_code,omitempty"`
}

Error HTTP error response

swagger:model Error

func (*Error) ContextValidate

func (m *Error) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this error based on context it is used

func (*Error) MarshalBinary

func (m *Error) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Error) UnmarshalBinary

func (m *Error) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Error) Validate

func (m *Error) Validate(formats strfmt.Registry) error

Validate validates this error

type FieldMapping

type FieldMapping struct {

	// internal
	Internal string `json:"internal,omitempty" yaml:"internal,omitempty"`

	// scim
	Scim string `json:"scim,omitempty" yaml:"scim,omitempty"`
}

FieldMapping field mapping

swagger:model FieldMapping

func (*FieldMapping) ContextValidate

func (m *FieldMapping) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this field mapping based on context it is used

func (*FieldMapping) MarshalBinary

func (m *FieldMapping) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*FieldMapping) UnmarshalBinary

func (m *FieldMapping) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*FieldMapping) Validate

func (m *FieldMapping) Validate(formats strfmt.Registry) error

Validate validates this field mapping

type GroupMember

type GroupMember struct {

	// group id
	GroupID string `json:"group_id,omitempty" yaml:"group_id,omitempty"`

	// tenant id
	TenantID string `json:"tenant_id,omitempty" yaml:"tenant_id,omitempty"`

	// user id
	UserID string `json:"user_id,omitempty" yaml:"user_id,omitempty"`

	// user pool id
	UserPoolID string `json:"user_pool_id,omitempty" yaml:"user_pool_id,omitempty"`
}

GroupMember group member

swagger:model GroupMember

func (*GroupMember) ContextValidate

func (m *GroupMember) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this group member based on context it is used

func (*GroupMember) MarshalBinary

func (m *GroupMember) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GroupMember) UnmarshalBinary

func (m *GroupMember) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GroupMember) Validate

func (m *GroupMember) Validate(formats strfmt.Registry) error

Validate validates this group member

type Hash

type Hash struct {

	// config
	Config *HashConfig `json:"config,omitempty" yaml:"config,omitempty"`

	// value
	Value string `json:"value,omitempty" yaml:"value,omitempty"`
}

Hash hash

swagger:model Hash

func (*Hash) ContextValidate

func (m *Hash) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this hash based on the context it is used

func (*Hash) MarshalBinary

func (m *Hash) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Hash) UnmarshalBinary

func (m *Hash) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Hash) Validate

func (m *Hash) Validate(formats strfmt.Registry) error

Validate validates this hash

type HashConfig

type HashConfig struct {

	// argon2
	Argon2 *Argon2Config `json:"argon2,omitempty" yaml:"argon2,omitempty"`

	// bcrypt
	Bcrypt *BcryptConfig `json:"bcrypt,omitempty" yaml:"bcrypt,omitempty"`

	// md5
	Md5 *MD5Config `json:"md5,omitempty" yaml:"md5,omitempty"`

	// method
	// Enum: ["bcrypt","pbkdf2","argon2","sha","md5"]
	Method string `json:"method,omitempty" yaml:"method,omitempty"`

	// pbkdf2
	Pbkdf2 *PBKDF2Config `json:"pbkdf2,omitempty" yaml:"pbkdf2,omitempty"`

	// sha
	Sha *SHAConfig `json:"sha,omitempty" yaml:"sha,omitempty"`
}

HashConfig hash config

swagger:model HashConfig

func (*HashConfig) ContextValidate

func (m *HashConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this hash config based on the context it is used

func (*HashConfig) MarshalBinary

func (m *HashConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HashConfig) UnmarshalBinary

func (m *HashConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HashConfig) Validate

func (m *HashConfig) Validate(formats strfmt.Registry) error

Validate validates this hash config

type InternalGroup

type InternalGroup struct {

	// created at
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty" yaml:"created_at,omitempty"`

	// description
	Description string `json:"description,omitempty" yaml:"description,omitempty"`

	// external id
	ExternalID string `json:"external_id,omitempty" yaml:"external_id,omitempty"`

	// id
	ID string `json:"id,omitempty" yaml:"id,omitempty"`

	// name
	Name string `json:"name,omitempty" yaml:"name,omitempty"`

	// path
	Path string `json:"path,omitempty" yaml:"path,omitempty"`

	// tenant id
	TenantID string `json:"tenant_id,omitempty" yaml:"tenant_id,omitempty"`

	// updated at
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty" yaml:"updated_at,omitempty"`

	// user pool id
	// Example: default
	// Required: true
	UserPoolID string `json:"user_pool_id" yaml:"user_pool_id"`
}

InternalGroup internal group

swagger:model InternalGroup

func (*InternalGroup) ContextValidate

func (m *InternalGroup) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this internal group based on context it is used

func (*InternalGroup) MarshalBinary

func (m *InternalGroup) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*InternalGroup) UnmarshalBinary

func (m *InternalGroup) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*InternalGroup) Validate

func (m *InternalGroup) Validate(formats strfmt.Registry) error

Validate validates this internal group

type MD5Config

type MD5Config struct {

	// salt
	Salt string `json:"salt,omitempty" yaml:"salt,omitempty"`

	// salt after digest in hash
	SaltAfterDigestInHash bool `json:"salt_after_digest_in_hash,omitempty" yaml:"salt_after_digest_in_hash,omitempty"`

	// salt length
	SaltLength int64 `json:"salt_length,omitempty" yaml:"salt_length,omitempty"`
}

MD5Config m d5 config

swagger:model MD5Config

func (*MD5Config) ContextValidate

func (m *MD5Config) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this m d5 config based on context it is used

func (*MD5Config) MarshalBinary

func (m *MD5Config) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MD5Config) UnmarshalBinary

func (m *MD5Config) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MD5Config) Validate

func (m *MD5Config) Validate(formats strfmt.Registry) error

Validate validates this m d5 config

type MFAPreferences

type MFAPreferences struct {

	// preferred 2fa
	// Enum: ["totp","password","otp","email_otp","sms_otp","voice_otp","webauthn","usernameless_webauthn","push","symbol","qr_code"]
	Preferred2fa string `json:"preferred_2fa,omitempty" yaml:"preferred_2fa,omitempty"`
}

MFAPreferences m f a preferences

swagger:model MFAPreferences

func (*MFAPreferences) ContextValidate

func (m *MFAPreferences) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this m f a preferences based on context it is used

func (*MFAPreferences) MarshalBinary

func (m *MFAPreferences) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MFAPreferences) UnmarshalBinary

func (m *MFAPreferences) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MFAPreferences) Validate

func (m *MFAPreferences) Validate(formats strfmt.Registry) error

Validate validates this m f a preferences

type OtpConfig

type OtpConfig struct {

	// length
	Length int64 `json:"length,omitempty" yaml:"length,omitempty"`

	// ttl
	// Format: duration
	TTL strfmt.Duration `json:"ttl,omitempty" yaml:"ttl,omitempty"`
}

OtpConfig otp config

swagger:model OtpConfig

func (*OtpConfig) ContextValidate

func (m *OtpConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this otp config based on context it is used

func (*OtpConfig) MarshalBinary

func (m *OtpConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OtpConfig) UnmarshalBinary

func (m *OtpConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OtpConfig) Validate

func (m *OtpConfig) Validate(formats strfmt.Registry) error

Validate validates this otp config

type OtpSettings

type OtpSettings struct {

	// activation
	Activation *OtpConfig `json:"activation,omitempty" yaml:"activation,omitempty"`

	// authentication
	Authentication *OtpConfig `json:"authentication,omitempty" yaml:"authentication,omitempty"`

	// challenge
	Challenge *OtpConfig `json:"challenge,omitempty" yaml:"challenge,omitempty"`

	// enroll webauthn
	EnrollWebauthn *OtpConfig `json:"enroll_webauthn,omitempty" yaml:"enroll_webauthn,omitempty"`

	// pair device
	PairDevice *OtpConfig `json:"pair_device,omitempty" yaml:"pair_device,omitempty"`

	// RequireUserConfirmationBeforeSend is a flow-level toggle (it does not
	// correspond to any of the per-purpose OtpConfig fields above) that affects
	// only the hosted web login UI. When true, the OTP is not auto-sent: the user
	// lands on the OTP send view and must click Continue to trigger delivery.
	// Applies to primary login (LoginFlow) and forced re-authentication / MFA
	// challenge (ForcedAuthnFlow). API-driven OTP triggers (the OTP send
	// endpoints) are unaffected.
	RequireUserConfirmationBeforeSend bool `json:"require_user_confirmation_before_send,omitempty" yaml:"require_user_confirmation_before_send,omitempty"`

	// reset password
	ResetPassword *OtpConfig `json:"reset_password,omitempty" yaml:"reset_password,omitempty"`

	// reset totp
	ResetTotp *OtpConfig `json:"reset_totp,omitempty" yaml:"reset_totp,omitempty"`

	// verify address
	VerifyAddress *OtpConfig `json:"verify_address,omitempty" yaml:"verify_address,omitempty"`
}

OtpSettings otp settings

swagger:model OtpSettings

func (*OtpSettings) ContextValidate

func (m *OtpSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this otp settings based on the context it is used

func (*OtpSettings) MarshalBinary

func (m *OtpSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OtpSettings) UnmarshalBinary

func (m *OtpSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OtpSettings) Validate

func (m *OtpSettings) Validate(formats strfmt.Registry) error

Validate validates this otp settings

type PBKDF2Config

type PBKDF2Config struct {

	// function
	Function string `json:"function,omitempty" yaml:"function,omitempty"`

	// key length
	KeyLength int64 `json:"key_length,omitempty" yaml:"key_length,omitempty"`

	// number of iterations
	NumberOfIterations int64 `json:"number_of_iterations,omitempty" yaml:"number_of_iterations,omitempty"`

	// salt
	Salt string `json:"salt,omitempty" yaml:"salt,omitempty"`

	// salt length
	SaltLength int64 `json:"salt_length,omitempty" yaml:"salt_length,omitempty"`
}

PBKDF2Config p b k d f2 config

swagger:model PBKDF2Config

func (*PBKDF2Config) ContextValidate

func (m *PBKDF2Config) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this p b k d f2 config based on context it is used

func (*PBKDF2Config) MarshalBinary

func (m *PBKDF2Config) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PBKDF2Config) UnmarshalBinary

func (m *PBKDF2Config) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PBKDF2Config) Validate

func (m *PBKDF2Config) Validate(formats strfmt.Registry) error

Validate validates this p b k d f2 config

type PasswordPolicy

type PasswordPolicy struct {

	// capital letters
	CapitalLetters uint64 `json:"capital_letters,omitempty" yaml:"capital_letters,omitempty"`

	// digits
	Digits uint64 `json:"digits,omitempty" yaml:"digits,omitempty"`

	// lowercase letters
	LowercaseLetters uint64 `json:"lowercase_letters,omitempty" yaml:"lowercase_letters,omitempty"`

	// min length
	MinLength uint64 `json:"min_length,omitempty" yaml:"min_length,omitempty"`

	// not used since
	NotUsedSince uint64 `json:"not_used_since,omitempty" yaml:"not_used_since,omitempty"`

	// special characters
	SpecialCharacters uint64 `json:"special_characters,omitempty" yaml:"special_characters,omitempty"`

	// strength
	// Enum: ["any","weak","fair","strong","very_strong"]
	Strength string `json:"strength,omitempty" yaml:"strength,omitempty"`
}

PasswordPolicy password policy

swagger:model PasswordPolicy

func (*PasswordPolicy) ContextValidate

func (m *PasswordPolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this password policy based on context it is used

func (*PasswordPolicy) MarshalBinary

func (m *PasswordPolicy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PasswordPolicy) UnmarshalBinary

func (m *PasswordPolicy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PasswordPolicy) Validate

func (m *PasswordPolicy) Validate(formats strfmt.Registry) error

Validate validates this password policy

type PasswordSettings

type PasswordSettings struct {

	// expires after
	// Format: duration
	ExpiresAfter strfmt.Duration `json:"expires_after,omitempty" yaml:"expires_after,omitempty"`

	// hashing method
	// Enum: ["bcrypt","pbkdf2","argon2","sha"]
	HashingMethod string `json:"hashing_method,omitempty" yaml:"hashing_method,omitempty"`
}

PasswordSettings password settings

swagger:model PasswordSettings

func (*PasswordSettings) ContextValidate

func (m *PasswordSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this password settings based on context it is used

func (*PasswordSettings) MarshalBinary

func (m *PasswordSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PasswordSettings) UnmarshalBinary

func (m *PasswordSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PasswordSettings) Validate

func (m *PasswordSettings) Validate(formats strfmt.Registry) error

Validate validates this password settings

type Pool

type Pool struct {

	// allow skip 2fa
	AllowSkip2fa bool `json:"allow_skip_2fa,omitempty" yaml:"allow_skip_2fa,omitempty"`

	// authentication mechanisms
	AuthenticationMechanisms AuthenticationMechanisms `json:"authentication_mechanisms,omitempty" yaml:"authentication_mechanisms,omitempty"`

	// badge color
	BadgeColor string `json:"badge_color,omitempty" yaml:"badge_color,omitempty"`

	// business metadata schema id
	BusinessMetadataSchemaID string `json:"business_metadata_schema_id,omitempty" yaml:"business_metadata_schema_id,omitempty"`

	// deleted
	Deleted bool `json:"deleted,omitempty" yaml:"deleted,omitempty"`

	// description
	Description string `json:"description,omitempty" yaml:"description,omitempty"`

	// id
	ID string `json:"id,omitempty" yaml:"id,omitempty"`

	// identifier case insensitive
	IdentifierCaseInsensitive bool `json:"identifier_case_insensitive,omitempty" yaml:"identifier_case_insensitive,omitempty"`

	// metadata
	Metadata map[string]interface{} `json:"metadata,omitempty" yaml:"metadata,omitempty"`

	// metadata schema id
	MetadataSchemaID string `json:"metadata_schema_id,omitempty" yaml:"metadata_schema_id,omitempty"`

	// mfa session ttl
	// Format: duration
	MfaSessionTTL strfmt.Duration `json:"mfa_session_ttl,omitempty" yaml:"mfa_session_ttl,omitempty"`

	// name
	// Required: true
	Name string `json:"name" yaml:"name"`

	// otp settings
	OtpSettings *OtpSettings `json:"otp_settings,omitempty" yaml:"otp_settings,omitempty"`

	// password policy
	PasswordPolicy *PasswordPolicy `json:"password_policy,omitempty" yaml:"password_policy,omitempty"`

	// password settings
	PasswordSettings *PasswordSettings `json:"password_settings,omitempty" yaml:"password_settings,omitempty"`

	// payload schema id
	PayloadSchemaID string `json:"payload_schema_id,omitempty" yaml:"payload_schema_id,omitempty"`

	// pool limits
	PoolLimits *PoolLimits `json:"pool_limits,omitempty" yaml:"pool_limits,omitempty"`

	// preferred authentication mechanism
	// Example: password
	// Enum: ["totp","password","otp","email_otp","sms_otp","voice_otp","webauthn","usernameless_webauthn","push","symbol","qr_code"]
	PreferredAuthenticationMechanism string `json:"preferred_authentication_mechanism,omitempty" yaml:"preferred_authentication_mechanism,omitempty"`

	// public registration allowed
	PublicRegistrationAllowed bool `json:"public_registration_allowed,omitempty" yaml:"public_registration_allowed,omitempty"`

	// reset credentials settings
	ResetCredentialsSettings *ResetCredentialsSettings `json:"reset_credentials_settings,omitempty" yaml:"reset_credentials_settings,omitempty"`

	// scim settings
	ScimSettings *SCIMSettings `json:"scim_settings,omitempty" yaml:"scim_settings,omitempty"`

	// second factor authentication mechanisms
	SecondFactorAuthenticationMechanisms AuthenticationMechanisms `json:"second_factor_authentication_mechanisms,omitempty" yaml:"second_factor_authentication_mechanisms,omitempty"`

	// second factor preferred authentication mechanism
	// Example: password
	// Enum: ["totp","password","otp","email_otp","sms_otp","voice_otp","webauthn","usernameless_webauthn","push","symbol","qr_code"]
	SecondFactorPreferredAuthenticationMechanism string `` /* 131-byte string literal not displayed */

	// The minimal risk engine loa score value to skip the 2FA
	SecondFactorThreshold float64 `json:"second_factor_threshold,omitempty" yaml:"second_factor_threshold,omitempty"`

	// system
	System bool `json:"system,omitempty" yaml:"system,omitempty"`

	// tenant id
	// Example: default
	// Required: true
	TenantID string `json:"tenant_id" yaml:"tenant_id"`

	// totp settings
	TotpSettings *TotpSettings `json:"totp_settings,omitempty" yaml:"totp_settings,omitempty"`

	// webauthn settings
	WebauthnSettings *WebAuthnSettings `json:"webauthn_settings,omitempty" yaml:"webauthn_settings,omitempty"`

	// workspace id
	WorkspaceID string `json:"workspace_id,omitempty" yaml:"workspace_id,omitempty"`
}

Pool pool

swagger:model Pool

func (*Pool) ContextValidate

func (m *Pool) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this pool based on the context it is used

func (*Pool) MarshalBinary

func (m *Pool) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Pool) UnmarshalBinary

func (m *Pool) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Pool) Validate

func (m *Pool) Validate(formats strfmt.Registry) error

Validate validates this pool

type PoolLimits

type PoolLimits struct {

	// max addresses
	MaxAddresses int64 `json:"max_addresses,omitempty" yaml:"max_addresses,omitempty"`

	// max codes
	MaxCodes int64 `json:"max_codes,omitempty" yaml:"max_codes,omitempty"`

	// max credentials
	MaxCredentials int64 `json:"max_credentials,omitempty" yaml:"max_credentials,omitempty"`

	// max identifiers
	MaxIdentifiers int64 `json:"max_identifiers,omitempty" yaml:"max_identifiers,omitempty"`

	// webauthn credentials capacity
	WebauthnCredentialsCapacity int64 `json:"webauthn_credentials_capacity,omitempty" yaml:"webauthn_credentials_capacity,omitempty"`
}

PoolLimits PoolLimits defines limits for user sub-entries within a pool.

All values are clamped to the range [1, 100] with sensible defaults.

swagger:model PoolLimits

func (*PoolLimits) ContextValidate

func (m *PoolLimits) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this pool limits based on context it is used

func (*PoolLimits) MarshalBinary

func (m *PoolLimits) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PoolLimits) UnmarshalBinary

func (m *PoolLimits) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PoolLimits) Validate

func (m *PoolLimits) Validate(formats strfmt.Registry) error

Validate validates this pool limits

type RedactionPolicy

type RedactionPolicy struct {

	// Controls whether phone numbers are retained or obfuscated by the provider.
	// Example: retain
	Address string `json:"address,omitempty" yaml:"address,omitempty"`

	// Controls whether message body content is retained by the provider.
	// Example: retain
	Content string `json:"content,omitempty" yaml:"content,omitempty"`
}

RedactionPolicy RedactionPolicy controls message redaction at the SMS provider level.

swagger:model RedactionPolicy

func (*RedactionPolicy) ContextValidate

func (m *RedactionPolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this redaction policy based on context it is used

func (*RedactionPolicy) MarshalBinary

func (m *RedactionPolicy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RedactionPolicy) UnmarshalBinary

func (m *RedactionPolicy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RedactionPolicy) Validate

func (m *RedactionPolicy) Validate(formats strfmt.Registry) error

Validate validates this redaction policy

type RequestCode

type RequestCode struct {

	// address
	Address string `json:"address,omitempty" yaml:"address,omitempty"`

	// identifier
	Identifier string `json:"identifier,omitempty" yaml:"identifier,omitempty"`

	// code metadata
	Metadata map[string]interface{} `json:"metadata,omitempty" yaml:"metadata,omitempty"`

	// type
	// Required: true
	// Enum: ["activation","reset_password","reset_totp","enroll_webauthn","challenge","verify_address","authentication","pair_device"]
	Type string `json:"type" yaml:"type"`
}

RequestCode request code

swagger:model RequestCode

func (*RequestCode) ContextValidate

func (m *RequestCode) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request code based on context it is used

func (*RequestCode) MarshalBinary

func (m *RequestCode) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestCode) UnmarshalBinary

func (m *RequestCode) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestCode) Validate

func (m *RequestCode) Validate(formats strfmt.Registry) error

Validate validates this request code

type ResetCredentialsSettings

type ResetCredentialsSettings struct {

	// do not allow users to self reset credentials
	DoNotAllowUsersToSelfResetCredentials bool `json:"do_not_allow_users_to_self_reset_credentials,omitempty" yaml:"do_not_allow_users_to_self_reset_credentials,omitempty"`

	// reset password older than
	// Format: date-time
	ResetPasswordOlderThan strfmt.DateTime `json:"reset_password_older_than,omitempty" yaml:"reset_password_older_than,omitempty"`

	// reset totp older than
	// Format: date-time
	ResetTotpOlderThan strfmt.DateTime `json:"reset_totp_older_than,omitempty" yaml:"reset_totp_older_than,omitempty"`

	// reset webauthn older than
	// Format: date-time
	ResetWebauthnOlderThan strfmt.DateTime `json:"reset_webauthn_older_than,omitempty" yaml:"reset_webauthn_older_than,omitempty"`
}

ResetCredentialsSettings reset credentials settings

swagger:model ResetCredentialsSettings

func (*ResetCredentialsSettings) ContextValidate

func (m *ResetCredentialsSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this reset credentials settings based on context it is used

func (*ResetCredentialsSettings) MarshalBinary

func (m *ResetCredentialsSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResetCredentialsSettings) UnmarshalBinary

func (m *ResetCredentialsSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResetCredentialsSettings) Validate

func (m *ResetCredentialsSettings) Validate(formats strfmt.Registry) error

Validate validates this reset credentials settings

type Rfc6902PatchOperation

type Rfc6902PatchOperation struct {

	// Each operation must have at least one `op` member, which value indicates
	// the actual operation to be performed against the target (current) configuration.
	// For a detailed description of available operations,
	// see the [Operations #4 section of the RFC6902 specification](https://datatracker.ietf.org/doc/html/rfc6902#section-4).
	// Enum: ["add","remove","replace","move","copy","test"]
	Op string `json:"op,omitempty" yaml:"op,omitempty"`

	// String containing a JSON-Pointer value ([RFC6901](https://datatracker.ietf.org/doc/html/rfc6901))
	// that references a location within the target configuration where the operation is performed.
	//
	// For available paths, reference the exported configuration.
	Path string `json:"path,omitempty" yaml:"path,omitempty"`

	// New object value applied to the patched (target) configuration.
	Value interface{} `json:"value,omitempty" yaml:"value,omitempty"`
}

Rfc6902PatchOperation rfc6902 patch operation

swagger:model Rfc6902PatchOperation

func (*Rfc6902PatchOperation) ContextValidate

func (m *Rfc6902PatchOperation) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this rfc6902 patch operation based on context it is used

func (*Rfc6902PatchOperation) MarshalBinary

func (m *Rfc6902PatchOperation) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Rfc6902PatchOperation) UnmarshalBinary

func (m *Rfc6902PatchOperation) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Rfc6902PatchOperation) Validate

func (m *Rfc6902PatchOperation) Validate(formats strfmt.Registry) error

Validate validates this rfc6902 patch operation

type Rfc6902PatchOperations

type Rfc6902PatchOperations []*Rfc6902PatchOperation

Rfc6902PatchOperations rfc6902 patch operations

swagger:model Rfc6902PatchOperations

func (Rfc6902PatchOperations) ContextValidate

func (m Rfc6902PatchOperations) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this rfc6902 patch operations based on the context it is used

func (Rfc6902PatchOperations) Validate

func (m Rfc6902PatchOperations) Validate(formats strfmt.Registry) error

Validate validates this rfc6902 patch operations

type SCIMSettings

type SCIMSettings struct {

	// inbound input mapping
	InboundInputMapping []*FieldMapping `json:"inboundInputMapping" yaml:"inboundInputMapping"`
}

SCIMSettings s c i m settings

swagger:model SCIMSettings

func (*SCIMSettings) ContextValidate

func (m *SCIMSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this s c i m settings based on the context it is used

func (*SCIMSettings) MarshalBinary

func (m *SCIMSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SCIMSettings) UnmarshalBinary

func (m *SCIMSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SCIMSettings) Validate

func (m *SCIMSettings) Validate(formats strfmt.Registry) error

Validate validates this s c i m settings

type SHAConfig

type SHAConfig struct {

	// function
	Function string `json:"function,omitempty" yaml:"function,omitempty"`

	// salt
	Salt string `json:"salt,omitempty" yaml:"salt,omitempty"`

	// salt after digest in hash
	SaltAfterDigestInHash bool `json:"salt_after_digest_in_hash,omitempty" yaml:"salt_after_digest_in_hash,omitempty"`

	// salt length
	SaltLength int64 `json:"salt_length,omitempty" yaml:"salt_length,omitempty"`
}

SHAConfig s h a config

swagger:model SHAConfig

func (*SHAConfig) ContextValidate

func (m *SHAConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this s h a config based on context it is used

func (*SHAConfig) MarshalBinary

func (m *SHAConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SHAConfig) UnmarshalBinary

func (m *SHAConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SHAConfig) Validate

func (m *SHAConfig) Validate(formats strfmt.Registry) error

Validate validates this s h a config

type Schema

type Schema struct {

	// created at
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty" yaml:"created_at,omitempty"`

	// description
	Description string `json:"description,omitempty" yaml:"description,omitempty"`

	// id
	ID string `json:"id,omitempty" yaml:"id,omitempty"`

	// name
	// Required: true
	Name string `json:"name" yaml:"name"`

	// schema
	// Required: true
	Schema *SupportedJSONSchema `json:"schema" yaml:"schema"`

	// system
	System bool `json:"system,omitempty" yaml:"system,omitempty"`

	// tenant id
	// Example: default
	// Required: true
	TenantID string `json:"tenant_id" yaml:"tenant_id"`

	// updated at
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty" yaml:"updated_at,omitempty"`
}

Schema schema

swagger:model Schema

func (*Schema) ContextValidate

func (m *Schema) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this schema based on the context it is used

func (*Schema) MarshalBinary

func (m *Schema) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Schema) UnmarshalBinary

func (m *Schema) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Schema) Validate

func (m *Schema) Validate(formats strfmt.Registry) error

Validate validates this schema

type SupportedJSONSchema

type SupportedJSONSchema struct {

	// additional properties
	AdditionalProperties bool `json:"additionalProperties,omitempty" yaml:"additionalProperties,omitempty"`

	// all of
	AllOf []*SupportedJSONSchema `json:"allOf" yaml:"allOf"`

	// any of
	AnyOf []*SupportedJSONSchema `json:"anyOf" yaml:"anyOf"`

	// const
	Const string `json:"const,omitempty" yaml:"const,omitempty"`

	// contains
	Contains *SupportedJSONSchema `json:"contains,omitempty" yaml:"contains,omitempty"`

	// dependent required
	DependentRequired map[string][]string `json:"dependentRequired,omitempty" yaml:"dependentRequired,omitempty"`

	// dependent schemas
	DependentSchemas map[string]SupportedJSONSchema `json:"dependentSchemas,omitempty" yaml:"dependentSchemas,omitempty"`

	// description
	Description string `json:"description,omitempty" yaml:"description,omitempty"`

	// else
	Else *SupportedJSONSchema `json:"else,omitempty" yaml:"else,omitempty"`

	// enum
	Enum []string `json:"enum" yaml:"enum"`

	// exclusive maximum
	ExclusiveMaximum int64 `json:"exclusiveMaximum,omitempty" yaml:"exclusiveMaximum,omitempty"`

	// exclusive minimum
	ExclusiveMinimum int64 `json:"exclusiveMinimum,omitempty" yaml:"exclusiveMinimum,omitempty"`

	// hidden
	Hidden bool `json:"hidden,omitempty" yaml:"hidden,omitempty"`

	// if
	If *SupportedJSONSchema `json:"if,omitempty" yaml:"if,omitempty"`

	// items
	Items *SupportedJSONSchema `json:"items,omitempty" yaml:"items,omitempty"`

	// max contains
	MaxContains int64 `json:"maxContains,omitempty" yaml:"maxContains,omitempty"`

	// arrays
	MaxItems int64 `json:"maxItems,omitempty" yaml:"maxItems,omitempty"`

	// strings
	MaxLength int64 `json:"maxLength,omitempty" yaml:"maxLength,omitempty"`

	// objects
	MaxProperties int64 `json:"maxProperties,omitempty" yaml:"maxProperties,omitempty"`

	// maximum
	Maximum int64 `json:"maximum,omitempty" yaml:"maximum,omitempty"`

	// min contains
	MinContains int64 `json:"minContains,omitempty" yaml:"minContains,omitempty"`

	// min items
	MinItems int64 `json:"minItems,omitempty" yaml:"minItems,omitempty"`

	// min length
	MinLength int64 `json:"minLength,omitempty" yaml:"minLength,omitempty"`

	// min properties
	MinProperties int64 `json:"minProperties,omitempty" yaml:"minProperties,omitempty"`

	// minimum
	Minimum int64 `json:"minimum,omitempty" yaml:"minimum,omitempty"`

	// numeric
	MultipleOf int64 `json:"multipleOf,omitempty" yaml:"multipleOf,omitempty"`

	// not
	Not *SupportedJSONSchema `json:"not,omitempty" yaml:"not,omitempty"`

	// one of
	OneOf []*SupportedJSONSchema `json:"oneOf" yaml:"oneOf"`

	// pattern
	Pattern string `json:"pattern,omitempty" yaml:"pattern,omitempty"`

	// pattern properties
	PatternProperties map[string]SupportedJSONSchema `json:"patternProperties,omitempty" yaml:"patternProperties,omitempty"`

	// properties
	Properties map[string]SupportedJSONSchema `json:"properties,omitempty" yaml:"properties,omitempty"`

	// property names
	PropertyNames *SupportedJSONSchema `json:"propertyNames,omitempty" yaml:"propertyNames,omitempty"`

	// required
	Required []string `json:"required" yaml:"required"`

	// then
	Then *SupportedJSONSchema `json:"then,omitempty" yaml:"then,omitempty"`

	// title
	Title string `json:"title,omitempty" yaml:"title,omitempty"`

	// any
	Type string `json:"type,omitempty" yaml:"type,omitempty"`

	// unique items
	UniqueItems bool `json:"uniqueItems,omitempty" yaml:"uniqueItems,omitempty"`
}

SupportedJSONSchema supported JSON schema

swagger:model SupportedJSONSchema

func (*SupportedJSONSchema) ContextValidate

func (m *SupportedJSONSchema) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this supported JSON schema based on the context it is used

func (*SupportedJSONSchema) MarshalBinary

func (m *SupportedJSONSchema) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SupportedJSONSchema) UnmarshalBinary

func (m *SupportedJSONSchema) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SupportedJSONSchema) Validate

func (m *SupportedJSONSchema) Validate(formats strfmt.Registry) error

Validate validates this supported JSON schema

type TotpSettings

type TotpSettings struct {

	// issuer
	Issuer string `json:"issuer,omitempty" yaml:"issuer,omitempty"`
}

TotpSettings totp settings

swagger:model TotpSettings

func (*TotpSettings) ContextValidate

func (m *TotpSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this totp settings based on context it is used

func (*TotpSettings) MarshalBinary

func (m *TotpSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TotpSettings) UnmarshalBinary

func (m *TotpSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TotpSettings) Validate

func (m *TotpSettings) Validate(formats strfmt.Registry) error

Validate validates this totp settings

type User

type User struct {

	// business metadata
	BusinessMetadata map[string]interface{} `json:"business_metadata,omitempty" yaml:"business_metadata,omitempty"`

	// business metadata schema id
	BusinessMetadataSchemaID string `json:"business_metadata_schema_id,omitempty" yaml:"business_metadata_schema_id,omitempty"`

	// created at
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty" yaml:"created_at,omitempty"`

	// id
	ID string `json:"id,omitempty" yaml:"id,omitempty"`

	// metadata
	Metadata map[string]interface{} `json:"metadata,omitempty" yaml:"metadata,omitempty"`

	// metadata schema id
	MetadataSchemaID string `json:"metadata_schema_id,omitempty" yaml:"metadata_schema_id,omitempty"`

	// payload
	Payload map[string]interface{} `json:"payload,omitempty" yaml:"payload,omitempty"`

	// payload schema id
	PayloadSchemaID string `json:"payload_schema_id,omitempty" yaml:"payload_schema_id,omitempty"`

	// preferences
	Preferences *UserPreferences `json:"preferences,omitempty" yaml:"preferences,omitempty"`

	// status
	// Example: active
	// Required: true
	// Enum: ["active","inactive","deleted","new"]
	Status string `json:"status" yaml:"status"`

	// status updated at
	// Format: date-time
	StatusUpdatedAt strfmt.DateTime `json:"status_updated_at,omitempty" yaml:"status_updated_at,omitempty"`

	// tenant id
	// Example: default
	// Required: true
	TenantID string `json:"tenant_id" yaml:"tenant_id"`

	// updated at
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty" yaml:"updated_at,omitempty"`

	// user pool id
	// Example: default
	// Required: true
	UserPoolID string `json:"user_pool_id" yaml:"user_pool_id"`

	// user type
	// Enum: ["jit","standard","scim"]
	UserType string `json:"user_type,omitempty" yaml:"user_type,omitempty"`
}

User user

swagger:model User

func (*User) ContextValidate

func (m *User) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this user based on the context it is used

func (*User) MarshalBinary

func (m *User) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*User) UnmarshalBinary

func (m *User) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*User) Validate

func (m *User) Validate(formats strfmt.Registry) error

Validate validates this user

type UserCredential

type UserCredential struct {

	// created at
	// Required: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at" yaml:"created_at"`

	// discoverable id
	DiscoverableID string `json:"discoverable_id,omitempty" yaml:"discoverable_id,omitempty"`

	// expires at
	// Format: date-time
	ExpiresAt strfmt.DateTime `json:"expires_at,omitempty" yaml:"expires_at,omitempty"`

	// id
	ID string `json:"id,omitempty" yaml:"id,omitempty"`

	// payload
	// Example: {"hashed_password":"###"}
	// Required: true
	Payload interface{} `json:"payload" yaml:"payload"`

	// state
	// Enum: ["valid","must_be_reset","must_be_changed"]
	State string `json:"state,omitempty" yaml:"state,omitempty"`

	// tenant id
	// Example: default
	// Required: true
	TenantID string `json:"tenant_id" yaml:"tenant_id"`

	// type
	// Example: password
	// Required: true
	// Enum: ["password","webauthn","totp","device"]
	Type string `json:"type" yaml:"type"`

	// updated at
	// Required: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at" yaml:"updated_at"`

	// user id
	// Required: true
	UserID string `json:"user_id" yaml:"user_id"`

	// user pool id
	// Example: default
	// Required: true
	UserPoolID string `json:"user_pool_id" yaml:"user_pool_id"`
}

UserCredential user credential

swagger:model UserCredential

func (*UserCredential) ContextValidate

func (m *UserCredential) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this user credential based on context it is used

func (*UserCredential) MarshalBinary

func (m *UserCredential) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UserCredential) UnmarshalBinary

func (m *UserCredential) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UserCredential) Validate

func (m *UserCredential) Validate(formats strfmt.Registry) error

Validate validates this user credential

type UserIdentifier

type UserIdentifier struct {

	// created at
	// Required: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at" yaml:"created_at"`

	// id
	ID string `json:"id,omitempty" yaml:"id,omitempty"`

	// identifier
	// Required: true
	Identifier string `json:"identifier" yaml:"identifier"`

	// identifier lc
	// Required: true
	IdentifierLc string `json:"identifier_lc" yaml:"identifier_lc"`

	// general purpose metadata
	Metadata map[string]interface{} `json:"metadata,omitempty" yaml:"metadata,omitempty"`

	// tenant id
	// Example: default
	// Required: true
	TenantID string `json:"tenant_id" yaml:"tenant_id"`

	// type
	// Example: email
	// Required: true
	// Enum: ["email","mobile","uid","external","federated"]
	Type string `json:"type" yaml:"type"`

	// updated at
	// Required: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at" yaml:"updated_at"`

	// user id
	// Required: true
	UserID string `json:"user_id" yaml:"user_id"`

	// user pool id
	// Example: default
	// Required: true
	UserPoolID string `json:"user_pool_id" yaml:"user_pool_id"`
}

UserIdentifier user identifier

swagger:model UserIdentifier

func (*UserIdentifier) ContextValidate

func (m *UserIdentifier) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this user identifier based on context it is used

func (*UserIdentifier) MarshalBinary

func (m *UserIdentifier) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UserIdentifier) UnmarshalBinary

func (m *UserIdentifier) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UserIdentifier) Validate

func (m *UserIdentifier) Validate(formats strfmt.Registry) error

Validate validates this user identifier

type UserPreferences

type UserPreferences struct {

	// Locale is the list of user's preferred languages/locales for UI and communications
	// Example: en-US, es-ES
	Locales []string `json:"locales" yaml:"locales"`

	// mfa
	Mfa *MFAPreferences `json:"mfa,omitempty" yaml:"mfa,omitempty"`
}

UserPreferences user preferences

swagger:model UserPreferences

func (*UserPreferences) ContextValidate

func (m *UserPreferences) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this user preferences based on the context it is used

func (*UserPreferences) MarshalBinary

func (m *UserPreferences) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UserPreferences) UnmarshalBinary

func (m *UserPreferences) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UserPreferences) Validate

func (m *UserPreferences) Validate(formats strfmt.Registry) error

Validate validates this user preferences

type UserVerifiableAddress

type UserVerifiableAddress struct {

	// address
	// Required: true
	Address string `json:"address" yaml:"address"`

	// address lc
	// Required: true
	AddressLc string `json:"address_lc" yaml:"address_lc"`

	// is allowed for 2FA
	AllowedFor2fa bool `json:"allowed_for_2fa,omitempty" yaml:"allowed_for_2fa,omitempty"`

	// created at
	// Required: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at" yaml:"created_at"`

	// id
	ID string `json:"id,omitempty" yaml:"id,omitempty"`

	// message redaction
	MessageRedaction *RedactionPolicy `json:"message_redaction,omitempty" yaml:"message_redaction,omitempty"`

	// general purpose metadata
	Metadata map[string]interface{} `json:"metadata,omitempty" yaml:"metadata,omitempty"`

	// preferred contact method
	// Example: sms
	// Enum: ["sms","voice"]
	PreferredContactMethod string `json:"preferred_contact_method,omitempty" yaml:"preferred_contact_method,omitempty"`

	// status
	// Example: active
	// Required: true
	// Enum: ["active","inactive"]
	Status string `json:"status" yaml:"status"`

	// tenant id
	// Example: default
	// Required: true
	TenantID string `json:"tenant_id" yaml:"tenant_id"`

	// type
	// Example: mobile
	// Required: true
	// Enum: ["email","mobile"]
	Type string `json:"type" yaml:"type"`

	// updated at
	// Required: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at" yaml:"updated_at"`

	// user id
	// Required: true
	UserID string `json:"user_id" yaml:"user_id"`

	// user pool id
	// Example: default
	// Required: true
	UserPoolID string `json:"user_pool_id" yaml:"user_pool_id"`

	// verified
	// Required: true
	Verified bool `json:"verified" yaml:"verified"`

	// verified at
	// Format: date-time
	VerifiedAt strfmt.DateTime `json:"verified_at,omitempty" yaml:"verified_at,omitempty"`
}

UserVerifiableAddress user verifiable address

swagger:model UserVerifiableAddress

func (*UserVerifiableAddress) ContextValidate

func (m *UserVerifiableAddress) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this user verifiable address based on the context it is used

func (*UserVerifiableAddress) MarshalBinary

func (m *UserVerifiableAddress) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UserVerifiableAddress) UnmarshalBinary

func (m *UserVerifiableAddress) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UserVerifiableAddress) Validate

func (m *UserVerifiableAddress) Validate(formats strfmt.Registry) error

Validate validates this user verifiable address

type WebAuthnSettings

type WebAuthnSettings struct {

	// rp id
	RpID string `json:"rp_id,omitempty" yaml:"rp_id,omitempty"`

	// rp origins
	RpOrigins []string `json:"rp_origins" yaml:"rp_origins"`
}

WebAuthnSettings web authn settings

swagger:model WebAuthnSettings

func (*WebAuthnSettings) ContextValidate

func (m *WebAuthnSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this web authn settings based on context it is used

func (*WebAuthnSettings) MarshalBinary

func (m *WebAuthnSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*WebAuthnSettings) UnmarshalBinary

func (m *WebAuthnSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*WebAuthnSettings) Validate

func (m *WebAuthnSettings) Validate(formats strfmt.Registry) error

Validate validates this web authn settings

Jump to

Keyboard shortcuts

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