Documentation ¶
Index ¶
- Constants
- type ActivateSelfRegisteredUser
- func (m *ActivateSelfRegisteredUser) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ActivateSelfRegisteredUser) MarshalBinary() ([]byte, error)
- func (m *ActivateSelfRegisteredUser) UnmarshalBinary(b []byte) error
- func (m *ActivateSelfRegisteredUser) Validate(formats strfmt.Registry) error
- type AddUserIdentifier
- type AddUserVerifiableAddress
- func (m *AddUserVerifiableAddress) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AddUserVerifiableAddress) MarshalBinary() ([]byte, error)
- func (m *AddUserVerifiableAddress) UnmarshalBinary(b []byte) error
- func (m *AddUserVerifiableAddress) Validate(formats strfmt.Registry) error
- type Address
- type Argon2Config
- type AuthenticationExtensions
- type AuthenticationExtensionsClientOutputs
- type AuthenticationMechanisms
- type Authenticator
- type AuthenticatorAttachment
- type AuthenticatorAttestationResponse
- func (m *AuthenticatorAttestationResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AuthenticatorAttestationResponse) MarshalBinary() ([]byte, error)
- func (m *AuthenticatorAttestationResponse) UnmarshalBinary(b []byte) error
- func (m *AuthenticatorAttestationResponse) Validate(formats strfmt.Registry) error
- type AuthenticatorTransport
- type BcryptConfig
- type ChangePassword
- type ChangeTotpSecret
- type Code
- type CodeID
- type CodeValue
- type Codes
- type CompleteAddWebAuthn
- type CompleteAddressVerification
- func (m *CompleteAddressVerification) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CompleteAddressVerification) MarshalBinary() ([]byte, error)
- func (m *CompleteAddressVerification) UnmarshalBinary(b []byte) error
- func (m *CompleteAddressVerification) Validate(formats strfmt.Registry) error
- type CompleteResetPassword
- type CompleteResetTotp
- type ConfirmResetPassword
- type Credential
- type CredentialAssertion
- type CredentialAttestation
- type CredentialCreationResponse
- func (m *CredentialCreationResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CredentialCreationResponse) MarshalBinary() ([]byte, error)
- func (m *CredentialCreationResponse) UnmarshalBinary(b []byte) error
- func (m *CredentialCreationResponse) Validate(formats strfmt.Registry) error
- type CredentialDescriptor
- type CredentialFlags
- type CredentialType
- type Cursor
- type DeleteUserIdentifier
- type DeleteUserVerifiableAddress
- func (m *DeleteUserVerifiableAddress) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DeleteUserVerifiableAddress) MarshalBinary() ([]byte, error)
- func (m *DeleteUserVerifiableAddress) UnmarshalBinary(b []byte) error
- func (m *DeleteUserVerifiableAddress) Validate(formats strfmt.Registry) error
- type Error
- type ExtendedUser
- type GetUserByKey
- type Hash
- type HashConfig
- type IdentifierDetails
- type InspectOTP
- type InspectOTPUserOperationalData
- func (m *InspectOTPUserOperationalData) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *InspectOTPUserOperationalData) MarshalBinary() ([]byte, error)
- func (m *InspectOTPUserOperationalData) UnmarshalBinary(b []byte) error
- func (m *InspectOTPUserOperationalData) Validate(formats strfmt.Registry) error
- type NameWebAuthnKey
- type NewUser
- type NewUserCredential
- type NewUserIdentifier
- type NewUserVerifiableAddress
- func (m *NewUserVerifiableAddress) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *NewUserVerifiableAddress) MarshalBinary() ([]byte, error)
- func (m *NewUserVerifiableAddress) UnmarshalBinary(b []byte) error
- func (m *NewUserVerifiableAddress) Validate(formats strfmt.Registry) error
- type OtpConfig
- type OtpSettings
- type PBKDF2Config
- type PasswordPolicy
- type PasswordSettings
- type Pool
- type PoolResponse
- type Pools
- type PublicKeyCredentialHints
- type PublicKeyCredentialRequestOptions
- func (m *PublicKeyCredentialRequestOptions) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PublicKeyCredentialRequestOptions) MarshalBinary() ([]byte, error)
- func (m *PublicKeyCredentialRequestOptions) UnmarshalBinary(b []byte) error
- func (m *PublicKeyCredentialRequestOptions) Validate(formats strfmt.Registry) error
- type RequestActivation
- type RequestAddOrResetCredential
- func (m *RequestAddOrResetCredential) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *RequestAddOrResetCredential) MarshalBinary() ([]byte, error)
- func (m *RequestAddOrResetCredential) UnmarshalBinary(b []byte) error
- func (m *RequestAddOrResetCredential) Validate(formats strfmt.Registry) error
- type RequestCode
- type RequestCodeForUser
- type RequestOTPCode
- type RequestOTPForAddress
- type Rfc6902PatchOperation
- type Rfc6902PatchOperations
- type SHAConfig
- type Schema
- type Schemas
- type SelfRegisterUser
- type SetPasswordStateRequest
- func (m *SetPasswordStateRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *SetPasswordStateRequest) MarshalBinary() ([]byte, error)
- func (m *SetPasswordStateRequest) UnmarshalBinary(b []byte) error
- func (m *SetPasswordStateRequest) Validate(formats strfmt.Registry) error
- type SupportedJSONSchema
- type TenantDump
- type URLEncodedBase64
- type UpdateUser
- type UpdateUserVerifiableAddress
- func (m *UpdateUserVerifiableAddress) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UpdateUserVerifiableAddress) MarshalBinary() ([]byte, error)
- func (m *UpdateUserVerifiableAddress) UnmarshalBinary(b []byte) error
- func (m *UpdateUserVerifiableAddress) Validate(formats strfmt.Registry) error
- type User
- type UserCredential
- type UserID
- type UserIdentifier
- type UserPools
- type UserVerifiableAddress
- type UserVerificationRequirement
- type UserWithData
- type Users
- type VerifyOTP
- type VerifyPassword
- type VerifyPasswordResponseData
- func (m *VerifyPasswordResponseData) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *VerifyPasswordResponseData) MarshalBinary() ([]byte, error)
- func (m *VerifyPasswordResponseData) UnmarshalBinary(b []byte) error
- func (m *VerifyPasswordResponseData) Validate(formats strfmt.Registry) error
- type WebAuthnCredentials
Constants ¶
const ( // AddUserIdentifierTypeEmail captures enum value "email" AddUserIdentifierTypeEmail string = "email" // AddUserIdentifierTypeMobile captures enum value "mobile" AddUserIdentifierTypeMobile string = "mobile" // AddUserIdentifierTypeUID captures enum value "uid" AddUserIdentifierTypeUID string = "uid" // AddUserIdentifierTypeExternal captures enum value "external" AddUserIdentifierTypeExternal string = "external" // AddUserIdentifierTypeFederated captures enum value "federated" AddUserIdentifierTypeFederated string = "federated" )
const ( // AddUserVerifiableAddressPreferredContactMethodSms captures enum value "sms" AddUserVerifiableAddressPreferredContactMethodSms string = "sms" // AddUserVerifiableAddressPreferredContactMethodVoice captures enum value "voice" AddUserVerifiableAddressPreferredContactMethodVoice string = "voice" )
const ( // AddUserVerifiableAddressStatusActive captures enum value "active" AddUserVerifiableAddressStatusActive string = "active" // AddUserVerifiableAddressStatusInactive captures enum value "inactive" AddUserVerifiableAddressStatusInactive string = "inactive" )
const ( // AddUserVerifiableAddressTypeEmail captures enum value "email" AddUserVerifiableAddressTypeEmail string = "email" // AddUserVerifiableAddressTypeMobile captures enum value "mobile" AddUserVerifiableAddressTypeMobile string = "mobile" )
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" )
const ( // ExtendedUserStatusActive captures enum value "active" ExtendedUserStatusActive string = "active" // ExtendedUserStatusInactive captures enum value "inactive" ExtendedUserStatusInactive string = "inactive" // ExtendedUserStatusDeleted captures enum value "deleted" ExtendedUserStatusDeleted string = "deleted" // ExtendedUserStatusNew captures enum value "new" ExtendedUserStatusNew string = "new" )
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" )
const ( // IdentifierDetailsTypeEmail captures enum value "email" IdentifierDetailsTypeEmail string = "email" // IdentifierDetailsTypeMobile captures enum value "mobile" IdentifierDetailsTypeMobile string = "mobile" // IdentifierDetailsTypeUID captures enum value "uid" IdentifierDetailsTypeUID string = "uid" // IdentifierDetailsTypeExternal captures enum value "external" IdentifierDetailsTypeExternal string = "external" // IdentifierDetailsTypeFederated captures enum value "federated" IdentifierDetailsTypeFederated string = "federated" )
const ( // NewUserStatusActive captures enum value "active" NewUserStatusActive string = "active" // NewUserStatusInactive captures enum value "inactive" NewUserStatusInactive string = "inactive" // NewUserStatusDeleted captures enum value "deleted" NewUserStatusDeleted string = "deleted" // NewUserStatusNew captures enum value "new" NewUserStatusNew string = "new" )
const ( // NewUserCredentialTypePassword captures enum value "password" NewUserCredentialTypePassword string = "password" // NewUserCredentialTypeWebauthn captures enum value "webauthn" NewUserCredentialTypeWebauthn string = "webauthn" // NewUserCredentialTypeTotp captures enum value "totp" NewUserCredentialTypeTotp string = "totp" )
const ( // NewUserIdentifierTypeEmail captures enum value "email" NewUserIdentifierTypeEmail string = "email" // NewUserIdentifierTypeMobile captures enum value "mobile" NewUserIdentifierTypeMobile string = "mobile" // NewUserIdentifierTypeUID captures enum value "uid" NewUserIdentifierTypeUID string = "uid" // NewUserIdentifierTypeExternal captures enum value "external" NewUserIdentifierTypeExternal string = "external" // NewUserIdentifierTypeFederated captures enum value "federated" NewUserIdentifierTypeFederated string = "federated" )
const ( // NewUserVerifiableAddressPreferredContactMethodSms captures enum value "sms" NewUserVerifiableAddressPreferredContactMethodSms string = "sms" // NewUserVerifiableAddressPreferredContactMethodVoice captures enum value "voice" NewUserVerifiableAddressPreferredContactMethodVoice string = "voice" )
const ( // NewUserVerifiableAddressStatusActive captures enum value "active" NewUserVerifiableAddressStatusActive string = "active" // NewUserVerifiableAddressStatusInactive captures enum value "inactive" NewUserVerifiableAddressStatusInactive string = "inactive" )
const ( // NewUserVerifiableAddressTypeEmail captures enum value "email" NewUserVerifiableAddressTypeEmail string = "email" // NewUserVerifiableAddressTypeMobile captures enum value "mobile" NewUserVerifiableAddressTypeMobile string = "mobile" )
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" )
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" )
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" // PoolPreferredAuthenticationMechanismWebauthn captures enum value "webauthn" PoolPreferredAuthenticationMechanismWebauthn string = "webauthn" )
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" // PoolSecondFactorPreferredAuthenticationMechanismWebauthn captures enum value "webauthn" PoolSecondFactorPreferredAuthenticationMechanismWebauthn string = "webauthn" )
const ( // PoolResponsePreferredAuthenticationMechanismTotp captures enum value "totp" PoolResponsePreferredAuthenticationMechanismTotp string = "totp" // PoolResponsePreferredAuthenticationMechanismPassword captures enum value "password" PoolResponsePreferredAuthenticationMechanismPassword string = "password" // PoolResponsePreferredAuthenticationMechanismOtp captures enum value "otp" PoolResponsePreferredAuthenticationMechanismOtp string = "otp" // PoolResponsePreferredAuthenticationMechanismWebauthn captures enum value "webauthn" PoolResponsePreferredAuthenticationMechanismWebauthn string = "webauthn" )
const ( // PoolResponseSecondFactorPreferredAuthenticationMechanismTotp captures enum value "totp" PoolResponseSecondFactorPreferredAuthenticationMechanismTotp string = "totp" // PoolResponseSecondFactorPreferredAuthenticationMechanismPassword captures enum value "password" PoolResponseSecondFactorPreferredAuthenticationMechanismPassword string = "password" // PoolResponseSecondFactorPreferredAuthenticationMechanismOtp captures enum value "otp" PoolResponseSecondFactorPreferredAuthenticationMechanismOtp string = "otp" // PoolResponseSecondFactorPreferredAuthenticationMechanismWebauthn captures enum value "webauthn" PoolResponseSecondFactorPreferredAuthenticationMechanismWebauthn string = "webauthn" )
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" )
const ( // RequestCodeForUserTypeActivation captures enum value "activation" RequestCodeForUserTypeActivation string = "activation" // RequestCodeForUserTypeResetPassword captures enum value "reset_password" RequestCodeForUserTypeResetPassword string = "reset_password" // RequestCodeForUserTypeResetTotp captures enum value "reset_totp" RequestCodeForUserTypeResetTotp string = "reset_totp" // RequestCodeForUserTypeEnrollWebauthn captures enum value "enroll_webauthn" RequestCodeForUserTypeEnrollWebauthn string = "enroll_webauthn" // RequestCodeForUserTypeChallenge captures enum value "challenge" RequestCodeForUserTypeChallenge string = "challenge" // RequestCodeForUserTypeVerifyAddress captures enum value "verify_address" RequestCodeForUserTypeVerifyAddress string = "verify_address" // RequestCodeForUserTypeAuthentication captures enum value "authentication" RequestCodeForUserTypeAuthentication string = "authentication" )
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" )
const ( // SetPasswordStateRequestStateValid captures enum value "valid" SetPasswordStateRequestStateValid string = "valid" // SetPasswordStateRequestStateMustBeReset captures enum value "must_be_reset" SetPasswordStateRequestStateMustBeReset string = "must_be_reset" // SetPasswordStateRequestStateMustBeChanged captures enum value "must_be_changed" SetPasswordStateRequestStateMustBeChanged string = "must_be_changed" )
const ( // UpdateUserStatusActive captures enum value "active" UpdateUserStatusActive string = "active" // UpdateUserStatusInactive captures enum value "inactive" UpdateUserStatusInactive string = "inactive" // UpdateUserStatusDeleted captures enum value "deleted" UpdateUserStatusDeleted string = "deleted" // UpdateUserStatusNew captures enum value "new" UpdateUserStatusNew string = "new" )
const ( // UpdateUserVerifiableAddressPreferredContactMethodSms captures enum value "sms" UpdateUserVerifiableAddressPreferredContactMethodSms string = "sms" // UpdateUserVerifiableAddressPreferredContactMethodVoice captures enum value "voice" UpdateUserVerifiableAddressPreferredContactMethodVoice string = "voice" )
const ( // UpdateUserVerifiableAddressStatusActive captures enum value "active" UpdateUserVerifiableAddressStatusActive string = "active" // UpdateUserVerifiableAddressStatusInactive captures enum value "inactive" UpdateUserVerifiableAddressStatusInactive string = "inactive" )
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" )
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" )
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" )
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" )
const ( // UserVerifiableAddressPreferredContactMethodSms captures enum value "sms" UserVerifiableAddressPreferredContactMethodSms string = "sms" // UserVerifiableAddressPreferredContactMethodVoice captures enum value "voice" UserVerifiableAddressPreferredContactMethodVoice string = "voice" )
const ( // UserVerifiableAddressStatusActive captures enum value "active" UserVerifiableAddressStatusActive string = "active" // UserVerifiableAddressStatusInactive captures enum value "inactive" UserVerifiableAddressStatusInactive string = "inactive" )
const ( // UserVerifiableAddressTypeEmail captures enum value "email" UserVerifiableAddressTypeEmail string = "email" // UserVerifiableAddressTypeMobile captures enum value "mobile" UserVerifiableAddressTypeMobile string = "mobile" )
const ( // UserWithDataStatusActive captures enum value "active" UserWithDataStatusActive string = "active" // UserWithDataStatusInactive captures enum value "inactive" UserWithDataStatusInactive string = "inactive" // UserWithDataStatusDeleted captures enum value "deleted" UserWithDataStatusDeleted string = "deleted" // UserWithDataStatusNew captures enum value "new" UserWithDataStatusNew string = "new" )
const ( // VerifyPasswordResponseDataStateValid captures enum value "valid" VerifyPasswordResponseDataStateValid string = "valid" // VerifyPasswordResponseDataStateMustBeReset captures enum value "must_be_reset" VerifyPasswordResponseDataStateMustBeReset string = "must_be_reset" // VerifyPasswordResponseDataStateMustBeChanged captures enum value "must_be_changed" VerifyPasswordResponseDataStateMustBeChanged string = "must_be_changed" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActivateSelfRegisteredUser ¶
type ActivateSelfRegisteredUser struct { // code // Required: true Code string `json:"code" yaml:"code"` // password Password string `json:"password,omitempty" yaml:"password,omitempty"` // totp secret TotpSecret string `json:"totp_secret,omitempty" yaml:"totp_secret,omitempty"` // webauthn Webauthn []*Credential `json:"webauthn" yaml:"webauthn"` }
ActivateSelfRegisteredUser activate self registered user
swagger:model ActivateSelfRegisteredUser
func (*ActivateSelfRegisteredUser) ContextValidate ¶
func (m *ActivateSelfRegisteredUser) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this activate self registered user based on the context it is used
func (*ActivateSelfRegisteredUser) MarshalBinary ¶
func (m *ActivateSelfRegisteredUser) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ActivateSelfRegisteredUser) UnmarshalBinary ¶
func (m *ActivateSelfRegisteredUser) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddUserIdentifier ¶
type AddUserIdentifier struct { // identifier // Required: true Identifier string `json:"identifier" yaml:"identifier"` // identifier metadata Metadata map[string]interface{} `json:"metadata,omitempty" yaml:"metadata,omitempty"` // type // Example: email // Required: true // Enum: ["email","mobile","uid","external","federated"] Type string `json:"type" yaml:"type"` }
AddUserIdentifier add user identifier
swagger:model AddUserIdentifier
func (*AddUserIdentifier) ContextValidate ¶
ContextValidate validates this add user identifier based on context it is used
func (*AddUserIdentifier) MarshalBinary ¶
func (m *AddUserIdentifier) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddUserIdentifier) UnmarshalBinary ¶
func (m *AddUserIdentifier) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddUserVerifiableAddress ¶
type AddUserVerifiableAddress struct { // address // Required: true Address string `json:"address" yaml:"address"` // preferred contact method // Example: sms // Enum: ["sms","voice"] PreferredContactMethod string `json:"preferred_contact_method,omitempty" yaml:"preferred_contact_method,omitempty"` // status // Example: active // Enum: ["active","inactive"] Status string `json:"status,omitempty" yaml:"status,omitempty"` // type // Example: mobile // Required: true // Enum: ["email","mobile"] Type string `json:"type" yaml:"type"` // verified // Required: true Verified bool `json:"verified" yaml:"verified"` }
AddUserVerifiableAddress add user verifiable address
swagger:model AddUserVerifiableAddress
func (*AddUserVerifiableAddress) ContextValidate ¶
func (m *AddUserVerifiableAddress) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this add user verifiable address based on context it is used
func (*AddUserVerifiableAddress) MarshalBinary ¶
func (m *AddUserVerifiableAddress) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddUserVerifiableAddress) UnmarshalBinary ¶
func (m *AddUserVerifiableAddress) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Address ¶
type Address struct { // address Address string `json:"address,omitempty" yaml:"address,omitempty"` // verified Verified bool `json:"verified,omitempty" yaml:"verified,omitempty"` }
Address address
swagger:model Address
func (*Address) ContextValidate ¶
ContextValidate validates this address based on context it is used
func (*Address) MarshalBinary ¶
MarshalBinary interface implementation
func (*Address) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
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
type AuthenticationExtensions ¶
type AuthenticationExtensions map[string]interface{}
AuthenticationExtensions AuthenticationExtensions represents the AuthenticationExtensionsClientInputs IDL. This member contains additional parameters requesting additional processing by the client and authenticator.
Specification: §5.7.1. Authentication Extensions Client Inputs (https://www.w3.org/TR/webauthn/#iface-authentication-extensions-client-inputs)
swagger:model AuthenticationExtensions
func (AuthenticationExtensions) ContextValidate ¶
func (m AuthenticationExtensions) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this authentication extensions based on context it is used
type AuthenticationExtensionsClientOutputs ¶
type AuthenticationExtensionsClientOutputs map[string]interface{}
AuthenticationExtensionsClientOutputs authentication extensions client outputs
swagger:model AuthenticationExtensionsClientOutputs
func (AuthenticationExtensionsClientOutputs) ContextValidate ¶
func (m AuthenticationExtensionsClientOutputs) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this authentication extensions client outputs based on context it is used
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
type Authenticator ¶
type Authenticator struct { // The AAGUID of the authenticator. An AAGUID is defined as an array containing the globally unique // identifier of the authenticator model being sought. AAGUID []uint8 `json:"AAGUID" yaml:"AAGUID"` // attachment Attachment AuthenticatorAttachment `json:"attachment,omitempty" yaml:"attachment,omitempty"` // CloneWarning - This is a signal that the authenticator may be cloned, i.e. at least two copies of the // credential private key may exist and are being used in parallel. Relying Parties should incorporate // this information into their risk scoring. Whether the Relying Party updates the stored signature // counter value in this case, or not, or fails the authentication ceremony or not, is Relying Party-specific. CloneWarning bool `json:"cloneWarning,omitempty" yaml:"cloneWarning,omitempty"` // SignCount -Upon a new login operation, the Relying Party compares the stored signature counter value // with the new signCount value returned in the assertion’s authenticator data. If this new // signCount value is less than or equal to the stored value, a cloned authenticator may // exist, or the authenticator may be malfunctioning. SignCount uint32 `json:"signCount,omitempty" yaml:"signCount,omitempty"` }
Authenticator authenticator
swagger:model Authenticator
func (*Authenticator) ContextValidate ¶
ContextValidate validate this authenticator based on the context it is used
func (*Authenticator) MarshalBinary ¶
func (m *Authenticator) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Authenticator) UnmarshalBinary ¶
func (m *Authenticator) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AuthenticatorAttachment ¶
type AuthenticatorAttachment string
AuthenticatorAttachment AuthenticatorAttachment represents the IDL enum of the same name, and is used as part of the Authenticator Selection Criteria.
This enumeration’s values describe authenticators' attachment modalities. Relying Parties use this to express a preferred authenticator attachment modality when calling navigator.credentials.create() to create a credential.
If this member is present, eligible authenticators are filtered to only authenticators attached with the specified §5.4.5 Authenticator Attachment Enumeration (enum AuthenticatorAttachment). The value SHOULD be a member of AuthenticatorAttachment but client platforms MUST ignore unknown values, treating an unknown value as if the member does not exist.
Specification: §5.4.4. Authenticator Selection Criteria (https://www.w3.org/TR/webauthn/#dom-authenticatorselectioncriteria-authenticatorattachment)
Specification: §5.4.5. Authenticator Attachment Enumeration (https://www.w3.org/TR/webauthn/#enum-attachment)
swagger:model AuthenticatorAttachment
func (AuthenticatorAttachment) ContextValidate ¶
func (m AuthenticatorAttachment) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this authenticator attachment based on context it is used
type AuthenticatorAttestationResponse ¶
type AuthenticatorAttestationResponse struct { // attestation object AttestationObject URLEncodedBase64 `json:"attestationObject,omitempty" yaml:"attestationObject,omitempty"` // authenticator data AuthenticatorData URLEncodedBase64 `json:"authenticatorData,omitempty" yaml:"authenticatorData,omitempty"` // client data JSON ClientDataJSON URLEncodedBase64 `json:"clientDataJSON,omitempty" yaml:"clientDataJSON,omitempty"` // public key PublicKey URLEncodedBase64 `json:"publicKey,omitempty" yaml:"publicKey,omitempty"` // public key algorithm PublicKeyAlgorithm int64 `json:"publicKeyAlgorithm,omitempty" yaml:"publicKeyAlgorithm,omitempty"` // transports Transports []string `json:"transports" yaml:"transports"` }
AuthenticatorAttestationResponse AuthenticatorAttestationResponse is the initial unpacked 'response' object received by the relying party. This contains the clientDataJSON object, which will be marshalled into CollectedClientData, and the 'attestationObject', which contains information about the authenticator, and the newly minted public key credential. The information in both objects are used to verify the authenticity of the ceremony and new credential.
See: https://www.w3.org/TR/webauthn/#typedefdef-publickeycredentialjson
swagger:model AuthenticatorAttestationResponse
func (*AuthenticatorAttestationResponse) ContextValidate ¶
func (m *AuthenticatorAttestationResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this authenticator attestation response based on the context it is used
func (*AuthenticatorAttestationResponse) MarshalBinary ¶
func (m *AuthenticatorAttestationResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AuthenticatorAttestationResponse) UnmarshalBinary ¶
func (m *AuthenticatorAttestationResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AuthenticatorTransport ¶
type AuthenticatorTransport string
AuthenticatorTransport AuthenticatorTransport represents the IDL enum with the same name.
Authenticators may implement various transports for communicating with clients. This enumeration defines hints as to how clients might communicate with a particular authenticator in order to obtain an assertion for a specific credential. Note that these hints represent the WebAuthn Relying Party's best belief as to how an authenticator may be reached. A Relying Party will typically learn of the supported transports for a public key credential via getTransports().
Specification: §5.8.4. Authenticator Transport Enumeration (https://www.w3.org/TR/webauthn/#enumdef-authenticatortransport)
swagger:model AuthenticatorTransport
func (AuthenticatorTransport) ContextValidate ¶
ContextValidate validates this authenticator transport based on context it is used
type BcryptConfig ¶
type BcryptConfig struct { // cost Cost int64 `json:"cost,omitempty" yaml:"cost,omitempty"` }
BcryptConfig bcrypt config
swagger:model BcryptConfig
func (*BcryptConfig) ContextValidate ¶
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
type ChangePassword ¶
type ChangePassword struct { // new password // Required: true NewPassword string `json:"new_password" yaml:"new_password"` // old password // Required: true OldPassword string `json:"old_password" yaml:"old_password"` }
ChangePassword change password
swagger:model ChangePassword
func (*ChangePassword) ContextValidate ¶
ContextValidate validates this change password based on context it is used
func (*ChangePassword) MarshalBinary ¶
func (m *ChangePassword) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ChangePassword) UnmarshalBinary ¶
func (m *ChangePassword) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ChangeTotpSecret ¶
type ChangeTotpSecret struct { // new totp secret // Required: true NewTotpSecret string `json:"new_totp_secret" yaml:"new_totp_secret"` // totp // Required: true Totp string `json:"totp" yaml:"totp"` }
ChangeTotpSecret change totp secret
swagger:model ChangeTotpSecret
func (*ChangeTotpSecret) ContextValidate ¶
ContextValidate validates this change totp secret based on context it is used
func (*ChangeTotpSecret) MarshalBinary ¶
func (m *ChangeTotpSecret) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ChangeTotpSecret) UnmarshalBinary ¶
func (m *ChangeTotpSecret) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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"] 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 ¶
ContextValidate validate this code based on the context it is used
func (*Code) MarshalBinary ¶
MarshalBinary interface implementation
func (*Code) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type CodeID ¶
type CodeID struct { // code id // Required: true CodeID string `json:"code_id" yaml:"code_id"` }
CodeID code ID
swagger:model CodeID
func (*CodeID) ContextValidate ¶
ContextValidate validates this code ID based on context it is used
func (*CodeID) MarshalBinary ¶
MarshalBinary interface implementation
func (*CodeID) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
ContextValidate validate this code value based on the context it is used
func (*CodeValue) MarshalBinary ¶
MarshalBinary interface implementation
func (*CodeValue) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
ContextValidate validates this codes based on context it is used
func (*Codes) MarshalBinary ¶
MarshalBinary interface implementation
func (*Codes) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type CompleteAddWebAuthn ¶
type CompleteAddWebAuthn struct { // address Address string `json:"address,omitempty" yaml:"address,omitempty"` // code // Required: true Code string `json:"code" yaml:"code"` // identifier Identifier string `json:"identifier,omitempty" yaml:"identifier,omitempty"` // new web authn // Required: true NewWebAuthn *Credential `json:"new_web_authn" yaml:"new_web_authn"` // user ID UserID string `json:"userID,omitempty" yaml:"userID,omitempty"` }
CompleteAddWebAuthn complete add web authn
swagger:model CompleteAddWebAuthn
func (*CompleteAddWebAuthn) ContextValidate ¶
ContextValidate validate this complete add web authn based on the context it is used
func (*CompleteAddWebAuthn) MarshalBinary ¶
func (m *CompleteAddWebAuthn) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CompleteAddWebAuthn) UnmarshalBinary ¶
func (m *CompleteAddWebAuthn) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CompleteAddressVerification ¶
type CompleteAddressVerification struct { // address // Example: sample@email.com/+48123456789 // Required: true Address string `json:"address" yaml:"address"` // code // Required: true Code string `json:"code" yaml:"code"` }
CompleteAddressVerification complete address verification
swagger:model CompleteAddressVerification
func (*CompleteAddressVerification) ContextValidate ¶
func (m *CompleteAddressVerification) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this complete address verification based on context it is used
func (*CompleteAddressVerification) MarshalBinary ¶
func (m *CompleteAddressVerification) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CompleteAddressVerification) UnmarshalBinary ¶
func (m *CompleteAddressVerification) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CompleteResetPassword ¶
type CompleteResetPassword struct { // address Address string `json:"address,omitempty" yaml:"address,omitempty"` // code // Required: true Code string `json:"code" yaml:"code"` // identifier Identifier string `json:"identifier,omitempty" yaml:"identifier,omitempty"` // new password // Required: true NewPassword string `json:"new_password" yaml:"new_password"` // user ID UserID string `json:"userID,omitempty" yaml:"userID,omitempty"` }
CompleteResetPassword complete reset password
swagger:model CompleteResetPassword
func (*CompleteResetPassword) ContextValidate ¶
ContextValidate validates this complete reset password based on context it is used
func (*CompleteResetPassword) MarshalBinary ¶
func (m *CompleteResetPassword) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CompleteResetPassword) UnmarshalBinary ¶
func (m *CompleteResetPassword) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CompleteResetTotp ¶
type CompleteResetTotp struct { // address Address string `json:"address,omitempty" yaml:"address,omitempty"` // code // Required: true Code string `json:"code" yaml:"code"` // identifier Identifier string `json:"identifier,omitempty" yaml:"identifier,omitempty"` // new totp secret // Required: true NewTotpSecret string `json:"new_totp_secret" yaml:"new_totp_secret"` // user ID UserID string `json:"userID,omitempty" yaml:"userID,omitempty"` }
CompleteResetTotp complete reset totp
swagger:model CompleteResetTotp
func (*CompleteResetTotp) ContextValidate ¶
ContextValidate validates this complete reset totp based on context it is used
func (*CompleteResetTotp) MarshalBinary ¶
func (m *CompleteResetTotp) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CompleteResetTotp) UnmarshalBinary ¶
func (m *CompleteResetTotp) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ConfirmResetPassword ¶
type ConfirmResetPassword struct { // code // Required: true Code string `json:"code" yaml:"code"` // identifier Identifier string `json:"identifier,omitempty" yaml:"identifier,omitempty"` // new password // Required: true NewPassword string `json:"new_password" yaml:"new_password"` // user ID UserID string `json:"userID,omitempty" yaml:"userID,omitempty"` }
ConfirmResetPassword confirm reset password
swagger:model ConfirmResetPassword
func (*ConfirmResetPassword) ContextValidate ¶
ContextValidate validates this confirm reset password based on context it is used
func (*ConfirmResetPassword) MarshalBinary ¶
func (m *ConfirmResetPassword) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ConfirmResetPassword) UnmarshalBinary ¶
func (m *ConfirmResetPassword) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Credential ¶
type Credential struct { // attestation Attestation *CredentialAttestation `json:"attestation,omitempty" yaml:"attestation,omitempty"` // The attestation format used (if any) by the authenticator when creating the credential. AttestationType string `json:"attestationType,omitempty" yaml:"attestationType,omitempty"` // authenticator Authenticator *Authenticator `json:"authenticator,omitempty" yaml:"authenticator,omitempty"` // flags Flags *CredentialFlags `json:"flags,omitempty" yaml:"flags,omitempty"` // The Credential ID of the public key credential source. Described by the Credential Record 'id' field. ID []uint8 `json:"id" yaml:"id"` // The credential public key of the public key credential source. Described by the Credential Record 'publicKey field. PublicKey []uint8 `json:"publicKey" yaml:"publicKey"` // The transport types the authenticator supports. Transport []AuthenticatorTransport `json:"transport" yaml:"transport"` }
Credential Credential contains all needed information about a WebAuthn credential for storage. This struct is effectively the Credential Record as described in the specification.
See: §4. Terminology: Credential Record (https://www.w3.org/TR/webauthn-3/#credential-record)
swagger:model Credential
func (*Credential) ContextValidate ¶
ContextValidate validate this credential based on the context it is used
func (*Credential) MarshalBinary ¶
func (m *Credential) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Credential) UnmarshalBinary ¶
func (m *Credential) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CredentialAssertion ¶
type CredentialAssertion struct { // public key PublicKey *PublicKeyCredentialRequestOptions `json:"publicKey,omitempty" yaml:"publicKey,omitempty"` }
CredentialAssertion credential assertion
swagger:model CredentialAssertion
func (*CredentialAssertion) ContextValidate ¶
ContextValidate validate this credential assertion based on the context it is used
func (*CredentialAssertion) MarshalBinary ¶
func (m *CredentialAssertion) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CredentialAssertion) UnmarshalBinary ¶
func (m *CredentialAssertion) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CredentialAttestation ¶
type CredentialAttestation struct { // authenticator data AuthenticatorData []uint8 `json:"authenticatorData" yaml:"authenticatorData"` // client data hash ClientDataHash []uint8 `json:"clientDataHash" yaml:"clientDataHash"` // client data JSON ClientDataJSON []uint8 `json:"clientDataJSON" yaml:"clientDataJSON"` // object Object []uint8 `json:"object" yaml:"object"` // public key algorithm PublicKeyAlgorithm int64 `json:"publicKeyAlgorithm,omitempty" yaml:"publicKeyAlgorithm,omitempty"` }
CredentialAttestation credential attestation
swagger:model CredentialAttestation
func (*CredentialAttestation) ContextValidate ¶
ContextValidate validates this credential attestation based on context it is used
func (*CredentialAttestation) MarshalBinary ¶
func (m *CredentialAttestation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CredentialAttestation) UnmarshalBinary ¶
func (m *CredentialAttestation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CredentialCreationResponse ¶
type CredentialCreationResponse struct { // authenticator attachment AuthenticatorAttachment string `json:"authenticatorAttachment,omitempty" yaml:"authenticatorAttachment,omitempty"` // client extension results ClientExtensionResults AuthenticationExtensionsClientOutputs `json:"clientExtensionResults,omitempty" yaml:"clientExtensionResults,omitempty"` // ID is The credential’s identifier. The requirements for the // identifier are distinct for each type of credential. It might // represent a username for username/password tuples, for example. ID string `json:"id,omitempty" yaml:"id,omitempty"` // raw Id RawID URLEncodedBase64 `json:"rawId,omitempty" yaml:"rawId,omitempty"` // response Response *AuthenticatorAttestationResponse `json:"response,omitempty" yaml:"response,omitempty"` // Type is the value of the object’s interface object's [[type]] slot, // which specifies the credential type represented by this object. // This should be type "public-key" for Webauthn credentials. Type string `json:"type,omitempty" yaml:"type,omitempty"` }
CredentialCreationResponse credential creation response
swagger:model CredentialCreationResponse
func (*CredentialCreationResponse) ContextValidate ¶
func (m *CredentialCreationResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this credential creation response based on the context it is used
func (*CredentialCreationResponse) MarshalBinary ¶
func (m *CredentialCreationResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CredentialCreationResponse) UnmarshalBinary ¶
func (m *CredentialCreationResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CredentialDescriptor ¶
type CredentialDescriptor struct { // id ID URLEncodedBase64 `json:"id,omitempty" yaml:"id,omitempty"` // The authenticator transports that can be used. Transports []AuthenticatorTransport `json:"transports" yaml:"transports"` // type Type CredentialType `json:"type,omitempty" yaml:"type,omitempty"` }
CredentialDescriptor CredentialDescriptor represents the PublicKeyCredentialDescriptor IDL.
This dictionary contains the attributes that are specified by a caller when referring to a public key credential as an input parameter to the create() or get() methods. It mirrors the fields of the PublicKeyCredential object returned by the latter methods.
Specification: §5.10.3. Credential Descriptor (https://www.w3.org/TR/webauthn/#credential-dictionary)
swagger:model CredentialDescriptor
func (*CredentialDescriptor) ContextValidate ¶
ContextValidate validate this credential descriptor based on the context it is used
func (*CredentialDescriptor) MarshalBinary ¶
func (m *CredentialDescriptor) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CredentialDescriptor) UnmarshalBinary ¶
func (m *CredentialDescriptor) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CredentialFlags ¶
type CredentialFlags struct { // Flag BE indicates the credential is able to be backed up and/or sync'd between devices. This should NEVER change. BackupEligible bool `json:"backupEligible,omitempty" yaml:"backupEligible,omitempty"` // Flag BS indicates the credential has been backed up and/or sync'd. This value can change but it's recommended // that RP's keep track of this value. BackupState bool `json:"backupState,omitempty" yaml:"backupState,omitempty"` // Flag UP indicates the users presence. UserPresent bool `json:"userPresent,omitempty" yaml:"userPresent,omitempty"` // Flag UV indicates the user performed verification. UserVerified bool `json:"userVerified,omitempty" yaml:"userVerified,omitempty"` }
CredentialFlags credential flags
swagger:model CredentialFlags
func (*CredentialFlags) ContextValidate ¶
ContextValidate validates this credential flags based on context it is used
func (*CredentialFlags) MarshalBinary ¶
func (m *CredentialFlags) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CredentialFlags) UnmarshalBinary ¶
func (m *CredentialFlags) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CredentialType ¶
type CredentialType string
CredentialType CredentialType represents the PublicKeyCredentialType IDL and is used with the CredentialDescriptor IDL.
This enumeration defines the valid credential types. It is an extension point; values can be added to it in the future, as more credential types are defined. The values of this enumeration are used for versioning the Authentication Assertion and attestation structures according to the type of the authenticator.
Currently one credential type is defined, namely "public-key".
Specification: §5.8.2. Credential Type Enumeration (https://www.w3.org/TR/webauthn/#enumdef-publickeycredentialtype)
Specification: §5.8.3. Credential Descriptor (https://www.w3.org/TR/webauthn/#dictionary-credential-descriptor)
swagger:model CredentialType
func (CredentialType) ContextValidate ¶
ContextValidate validates this credential type based on context it is used
type Cursor ¶
type Cursor string
Cursor cursor
swagger:model Cursor
func (Cursor) ContextValidate ¶
ContextValidate validates this cursor based on context it is used
type DeleteUserIdentifier ¶
type DeleteUserIdentifier struct { // identifier // Required: true Identifier string `json:"identifier" yaml:"identifier"` }
DeleteUserIdentifier delete user identifier
swagger:model DeleteUserIdentifier
func (*DeleteUserIdentifier) ContextValidate ¶
ContextValidate validates this delete user identifier based on context it is used
func (*DeleteUserIdentifier) MarshalBinary ¶
func (m *DeleteUserIdentifier) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteUserIdentifier) UnmarshalBinary ¶
func (m *DeleteUserIdentifier) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteUserVerifiableAddress ¶
type DeleteUserVerifiableAddress struct { // address // Required: true Address string `json:"address" yaml:"address"` }
DeleteUserVerifiableAddress delete user verifiable address
swagger:model DeleteUserVerifiableAddress
func (*DeleteUserVerifiableAddress) ContextValidate ¶
func (m *DeleteUserVerifiableAddress) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this delete user verifiable address based on context it is used
func (*DeleteUserVerifiableAddress) MarshalBinary ¶
func (m *DeleteUserVerifiableAddress) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteUserVerifiableAddress) UnmarshalBinary ¶
func (m *DeleteUserVerifiableAddress) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
ContextValidate validates this error based on context it is used
func (*Error) MarshalBinary ¶
MarshalBinary interface implementation
func (*Error) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ExtendedUser ¶
type ExtendedUser struct { // addresses Addresses []*Address `json:"addresses" yaml:"addresses"` // 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"` // identifiers Identifiers []string `json:"identifiers" yaml:"identifiers"` // identifiers with details IdentifiersWithDetails []*IdentifierDetails `json:"identifiers_with_details" yaml:"identifiers_with_details"` // 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"` // 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 UserType interface{} `json:"user_type,omitempty" yaml:"user_type,omitempty"` // verified addresses VerifiedAddresses []string `json:"verified addresses" yaml:"verified addresses"` }
ExtendedUser extended user
swagger:model ExtendedUser
func (*ExtendedUser) ContextValidate ¶
ContextValidate validate this extended user based on the context it is used
func (*ExtendedUser) MarshalBinary ¶
func (m *ExtendedUser) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ExtendedUser) UnmarshalBinary ¶
func (m *ExtendedUser) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetUserByKey ¶
type GetUserByKey struct { // address Address string `json:"address,omitempty" yaml:"address,omitempty"` // identifier Identifier string `json:"identifier,omitempty" yaml:"identifier,omitempty"` }
GetUserByKey get user by key
swagger:model GetUserByKey
func (*GetUserByKey) ContextValidate ¶
ContextValidate validates this get user by key based on context it is used
func (*GetUserByKey) MarshalBinary ¶
func (m *GetUserByKey) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetUserByKey) UnmarshalBinary ¶
func (m *GetUserByKey) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
ContextValidate validate this hash based on the context it is used
func (*Hash) MarshalBinary ¶
MarshalBinary interface implementation
func (*Hash) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type HashConfig ¶
type HashConfig struct { // argon2 Argon2 *Argon2Config `json:"argon2,omitempty" yaml:"argon2,omitempty"` // bcrypt Bcrypt *BcryptConfig `json:"bcrypt,omitempty" yaml:"bcrypt,omitempty"` // method // Enum: ["bcrypt","pbkdf2","argon2","sha"] 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 ¶
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
type IdentifierDetails ¶
type IdentifierDetails struct { // type // Enum: ["email","mobile","uid","external","federated"] Type string `json:"type,omitempty" yaml:"type,omitempty"` // value Value string `json:"value,omitempty" yaml:"value,omitempty"` }
IdentifierDetails identifier details
swagger:model IdentifierDetails
func (*IdentifierDetails) ContextValidate ¶
ContextValidate validates this identifier details based on context it is used
func (*IdentifierDetails) MarshalBinary ¶
func (m *IdentifierDetails) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IdentifierDetails) UnmarshalBinary ¶
func (m *IdentifierDetails) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type InspectOTP ¶
type InspectOTP struct { // code // Required: true Code string `json:"code" yaml:"code"` }
InspectOTP inspect o t p
swagger:model InspectOTP
func (*InspectOTP) ContextValidate ¶
ContextValidate validates this inspect o t p based on context it is used
func (*InspectOTP) MarshalBinary ¶
func (m *InspectOTP) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*InspectOTP) UnmarshalBinary ¶
func (m *InspectOTP) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type InspectOTPUserOperationalData ¶
type InspectOTPUserOperationalData struct { // password set // Required: true PasswordSet bool `json:"password_set" yaml:"password_set"` // user id // Required: true UserID string `json:"user_id" yaml:"user_id"` }
InspectOTPUserOperationalData inspect o t p user operational data
swagger:model InspectOTPUserOperationalData
func (*InspectOTPUserOperationalData) ContextValidate ¶
func (m *InspectOTPUserOperationalData) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this inspect o t p user operational data based on context it is used
func (*InspectOTPUserOperationalData) MarshalBinary ¶
func (m *InspectOTPUserOperationalData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*InspectOTPUserOperationalData) UnmarshalBinary ¶
func (m *InspectOTPUserOperationalData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NameWebAuthnKey ¶
type NameWebAuthnKey struct { // name // Required: true Name string `json:"name" yaml:"name"` }
NameWebAuthnKey name web authn key
swagger:model NameWebAuthnKey
func (*NameWebAuthnKey) ContextValidate ¶
ContextValidate validates this name web authn key based on context it is used
func (*NameWebAuthnKey) MarshalBinary ¶
func (m *NameWebAuthnKey) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NameWebAuthnKey) UnmarshalBinary ¶
func (m *NameWebAuthnKey) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NewUser ¶
type NewUser 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"` // credentials Credentials []*NewUserCredential `json:"credentials" yaml:"credentials"` // id ID string `json:"id,omitempty" yaml:"id,omitempty"` // identifiers Identifiers []*NewUserIdentifier `json:"identifiers" yaml:"identifiers"` // 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"` // status // Required: true // Enum: ["active","inactive","deleted","new"] Status string `json:"status" yaml:"status"` // user type UserType interface{} `json:"user_type,omitempty" yaml:"user_type,omitempty"` // verifiable addresses VerifiableAddresses []*NewUserVerifiableAddress `json:"verifiable_addresses" yaml:"verifiable_addresses"` }
NewUser new user
swagger:model NewUser
func (*NewUser) ContextValidate ¶
ContextValidate validate this new user based on the context it is used
func (*NewUser) MarshalBinary ¶
MarshalBinary interface implementation
func (*NewUser) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type NewUserCredential ¶
type NewUserCredential struct { // Indicates if user is required to alter their credentials during their initial authentication. Currently, it is enforced only for password credentials. MustBeChanged bool `json:"must_be_changed,omitempty" yaml:"must_be_changed,omitempty"` // password // Example: secret Password string `json:"password,omitempty" yaml:"password,omitempty"` // totp secret // Example: BLEXAM6OPBBZTCFUOPVHDQ2HVG7PTMK3 TotpSecret string `json:"totp_secret,omitempty" yaml:"totp_secret,omitempty"` // type // Example: password // Required: true // Enum: ["password","webauthn","totp"] Type string `json:"type" yaml:"type"` // webauthn credentials // Example: public_key WebauthnCredentials []*Credential `json:"webauthn_credentials" yaml:"webauthn_credentials"` }
NewUserCredential new user credential
swagger:model NewUserCredential
func (*NewUserCredential) ContextValidate ¶
ContextValidate validate this new user credential based on the context it is used
func (*NewUserCredential) MarshalBinary ¶
func (m *NewUserCredential) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NewUserCredential) UnmarshalBinary ¶
func (m *NewUserCredential) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NewUserIdentifier ¶
type NewUserIdentifier struct { // identifier // Required: true Identifier string `json:"identifier" yaml:"identifier"` // identifier metadata Metadata map[string]interface{} `json:"metadata,omitempty" yaml:"metadata,omitempty"` // type // Example: email // Required: true // Enum: ["email","mobile","uid","external","federated"] Type string `json:"type" yaml:"type"` }
NewUserIdentifier new user identifier
swagger:model NewUserIdentifier
func (*NewUserIdentifier) ContextValidate ¶
ContextValidate validates this new user identifier based on context it is used
func (*NewUserIdentifier) MarshalBinary ¶
func (m *NewUserIdentifier) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NewUserIdentifier) UnmarshalBinary ¶
func (m *NewUserIdentifier) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NewUserVerifiableAddress ¶
type NewUserVerifiableAddress struct { // address // Required: true Address string `json:"address" yaml:"address"` // 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"` // type // Example: mobile // Required: true // Enum: ["email","mobile"] Type string `json:"type" yaml:"type"` // verified // Required: true Verified bool `json:"verified" yaml:"verified"` }
NewUserVerifiableAddress new user verifiable address
swagger:model NewUserVerifiableAddress
func (*NewUserVerifiableAddress) ContextValidate ¶
func (m *NewUserVerifiableAddress) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this new user verifiable address based on context it is used
func (*NewUserVerifiableAddress) MarshalBinary ¶
func (m *NewUserVerifiableAddress) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NewUserVerifiableAddress) UnmarshalBinary ¶
func (m *NewUserVerifiableAddress) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
ContextValidate validates this otp config based on context it is used
func (*OtpConfig) MarshalBinary ¶
MarshalBinary interface implementation
func (*OtpConfig) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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"` // 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 ¶
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
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 ¶
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
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 ¶
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
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 ¶
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
type Pool ¶
type Pool struct { // 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"` // preferred authentication mechanism // Example: password // Enum: ["totp","password","otp","webauthn"] 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"` // 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","webauthn"] 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"` // workspace id WorkspaceID string `json:"workspace_id,omitempty" yaml:"workspace_id,omitempty"` }
Pool pool
swagger:model Pool
func (*Pool) ContextValidate ¶
ContextValidate validate this pool based on the context it is used
func (*Pool) MarshalBinary ¶
MarshalBinary interface implementation
func (*Pool) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type PoolResponse ¶
type PoolResponse struct { // 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"` // number of jit users NumberOfJitUsers int64 `json:"number_of_jit_users,omitempty" yaml:"number_of_jit_users,omitempty"` // number of standard users NumberOfStandardUsers int64 `json:"number_of_standard_users,omitempty" yaml:"number_of_standard_users,omitempty"` // number of users NumberOfUsers int64 `json:"number_of_users,omitempty" yaml:"number_of_users,omitempty"` // 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"` // preferred authentication mechanism // Example: password // Enum: ["totp","password","otp","webauthn"] 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"` // 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","webauthn"] 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"` // workspace id WorkspaceID string `json:"workspace_id,omitempty" yaml:"workspace_id,omitempty"` }
PoolResponse pool response
swagger:model PoolResponse
func (*PoolResponse) ContextValidate ¶
ContextValidate validate this pool response based on the context it is used
func (*PoolResponse) MarshalBinary ¶
func (m *PoolResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PoolResponse) UnmarshalBinary ¶
func (m *PoolResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Pools ¶
type Pools struct { // pools Pools []*PoolResponse `json:"pools" yaml:"pools"` }
Pools pools
swagger:model Pools
func (*Pools) ContextValidate ¶
ContextValidate validate this pools based on the context it is used
func (*Pools) MarshalBinary ¶
MarshalBinary interface implementation
func (*Pools) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type PublicKeyCredentialHints ¶
type PublicKeyCredentialHints string
PublicKeyCredentialHints public key credential hints
swagger:model PublicKeyCredentialHints
func (PublicKeyCredentialHints) ContextValidate ¶
func (m PublicKeyCredentialHints) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this public key credential hints based on context it is used
type PublicKeyCredentialRequestOptions ¶
type PublicKeyCredentialRequestOptions struct { // allow credentials AllowCredentials []*CredentialDescriptor `json:"allowCredentials" yaml:"allowCredentials"` // challenge Challenge URLEncodedBase64 `json:"challenge,omitempty" yaml:"challenge,omitempty"` // extensions Extensions AuthenticationExtensions `json:"extensions,omitempty" yaml:"extensions,omitempty"` // hints Hints []PublicKeyCredentialHints `json:"hints" yaml:"hints"` // rp Id RpID string `json:"rpId,omitempty" yaml:"rpId,omitempty"` // timeout Timeout int64 `json:"timeout,omitempty" yaml:"timeout,omitempty"` // user verification UserVerification UserVerificationRequirement `json:"userVerification,omitempty" yaml:"userVerification,omitempty"` }
PublicKeyCredentialRequestOptions The PublicKeyCredentialRequestOptions dictionary supplies get() with the data it needs to generate an assertion. Its challenge member MUST be present, while its other members are OPTIONAL.
WebAuthn Level 3: hints.
Specification: §5.5. Options for Assertion Generation (https://www.w3.org/TR/webauthn/#dictionary-assertion-options)
swagger:model PublicKeyCredentialRequestOptions
func (*PublicKeyCredentialRequestOptions) ContextValidate ¶
func (m *PublicKeyCredentialRequestOptions) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this public key credential request options based on the context it is used
func (*PublicKeyCredentialRequestOptions) MarshalBinary ¶
func (m *PublicKeyCredentialRequestOptions) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PublicKeyCredentialRequestOptions) UnmarshalBinary ¶
func (m *PublicKeyCredentialRequestOptions) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RequestActivation ¶
type RequestActivation struct { // address Address string `json:"address,omitempty" yaml:"address,omitempty"` // identifier Identifier string `json:"identifier,omitempty" yaml:"identifier,omitempty"` }
RequestActivation request activation
swagger:model RequestActivation
func (*RequestActivation) ContextValidate ¶
ContextValidate validates this request activation based on context it is used
func (*RequestActivation) MarshalBinary ¶
func (m *RequestActivation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RequestActivation) UnmarshalBinary ¶
func (m *RequestActivation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RequestAddOrResetCredential ¶
type RequestAddOrResetCredential struct { // address // Required: true Address string `json:"address" yaml:"address"` // identifier Identifier string `json:"identifier,omitempty" yaml:"identifier,omitempty"` // user ID UserID string `json:"userID,omitempty" yaml:"userID,omitempty"` }
RequestAddOrResetCredential request add or reset credential
swagger:model RequestAddOrResetCredential
func (*RequestAddOrResetCredential) ContextValidate ¶
func (m *RequestAddOrResetCredential) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this request add or reset credential based on context it is used
func (*RequestAddOrResetCredential) MarshalBinary ¶
func (m *RequestAddOrResetCredential) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RequestAddOrResetCredential) UnmarshalBinary ¶
func (m *RequestAddOrResetCredential) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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"] Type string `json:"type" yaml:"type"` }
RequestCode request code
swagger:model RequestCode
func (*RequestCode) ContextValidate ¶
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
type RequestCodeForUser ¶
type RequestCodeForUser 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"] Type string `json:"type" yaml:"type"` // user ID UserID string `json:"userID,omitempty" yaml:"userID,omitempty"` }
RequestCodeForUser request code for user
swagger:model RequestCodeForUser
func (*RequestCodeForUser) ContextValidate ¶
ContextValidate validates this request code for user based on context it is used
func (*RequestCodeForUser) MarshalBinary ¶
func (m *RequestCodeForUser) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RequestCodeForUser) UnmarshalBinary ¶
func (m *RequestCodeForUser) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RequestOTPCode ¶
type RequestOTPCode struct { // address Address string `json:"address,omitempty" yaml:"address,omitempty"` // identifier Identifier string `json:"identifier,omitempty" yaml:"identifier,omitempty"` // user ID UserID string `json:"userID,omitempty" yaml:"userID,omitempty"` }
RequestOTPCode request o t p code
swagger:model RequestOTPCode
func (*RequestOTPCode) ContextValidate ¶
ContextValidate validates this request o t p code based on context it is used
func (*RequestOTPCode) MarshalBinary ¶
func (m *RequestOTPCode) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RequestOTPCode) UnmarshalBinary ¶
func (m *RequestOTPCode) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RequestOTPForAddress ¶
type RequestOTPForAddress struct { // address // Required: true Address string `json:"address" yaml:"address"` }
RequestOTPForAddress request o t p for address
swagger:model RequestOTPForAddress
func (*RequestOTPForAddress) ContextValidate ¶
ContextValidate validates this request o t p for address based on context it is used
func (*RequestOTPForAddress) MarshalBinary ¶
func (m *RequestOTPForAddress) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RequestOTPForAddress) UnmarshalBinary ¶
func (m *RequestOTPForAddress) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
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
type Rfc6902PatchOperations ¶
type Rfc6902PatchOperations []*Rfc6902PatchOperation
Rfc6902PatchOperations rfc6902 patch operations
swagger:model Rfc6902PatchOperations
func (Rfc6902PatchOperations) ContextValidate ¶
ContextValidate validate this rfc6902 patch operations based on the context it is used
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 ¶
ContextValidate validates this s h a config based on context it is used
func (*SHAConfig) MarshalBinary ¶
MarshalBinary interface implementation
func (*SHAConfig) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
ContextValidate validate this schema based on the context it is used
func (*Schema) MarshalBinary ¶
MarshalBinary interface implementation
func (*Schema) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Schemas ¶
type Schemas struct { // schemas Schemas []*Schema `json:"schemas" yaml:"schemas"` }
Schemas schemas
swagger:model Schemas
func (*Schemas) ContextValidate ¶
ContextValidate validate this schemas based on the context it is used
func (*Schemas) MarshalBinary ¶
MarshalBinary interface implementation
func (*Schemas) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type SelfRegisterUser ¶
type SelfRegisterUser struct { // identifier // Required: true Identifier string `json:"identifier" yaml:"identifier"` // password Password string `json:"password,omitempty" yaml:"password,omitempty"` // payload Payload map[string]interface{} `json:"payload,omitempty" yaml:"payload,omitempty"` // totp secret TotpSecret string `json:"totp_secret,omitempty" yaml:"totp_secret,omitempty"` // webauthn credentials WebauthnCredentials []*Credential `json:"webauthn_credentials" yaml:"webauthn_credentials"` }
SelfRegisterUser self register user
swagger:model SelfRegisterUser
func (*SelfRegisterUser) ContextValidate ¶
ContextValidate validate this self register user based on the context it is used
func (*SelfRegisterUser) MarshalBinary ¶
func (m *SelfRegisterUser) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SelfRegisterUser) UnmarshalBinary ¶
func (m *SelfRegisterUser) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SetPasswordStateRequest ¶
type SetPasswordStateRequest struct { // state // Enum: ["valid","must_be_reset","must_be_changed"] State string `json:"state,omitempty" yaml:"state,omitempty"` }
SetPasswordStateRequest set password state request
swagger:model SetPasswordStateRequest
func (*SetPasswordStateRequest) ContextValidate ¶
func (m *SetPasswordStateRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this set password state request based on context it is used
func (*SetPasswordStateRequest) MarshalBinary ¶
func (m *SetPasswordStateRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SetPasswordStateRequest) UnmarshalBinary ¶
func (m *SetPasswordStateRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
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
type TenantDump ¶
type TenantDump struct { // codes Codes []*Code `json:"codes" yaml:"codes"` // 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"` }
TenantDump tenant dump
swagger:model TenantDump
func (*TenantDump) ContextValidate ¶
ContextValidate validate this tenant dump based on the context it is used
func (*TenantDump) MarshalBinary ¶
func (m *TenantDump) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TenantDump) UnmarshalBinary ¶
func (m *TenantDump) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type URLEncodedBase64 ¶
type URLEncodedBase64 []uint8
URLEncodedBase64 URLEncodedBase64 represents a byte slice holding URL-encoded base64 data.
When fields of this type are unmarshalled from JSON, the data is base64 decoded into a byte slice.
swagger:model URLEncodedBase64
func (URLEncodedBase64) ContextValidate ¶
ContextValidate validates this URL encoded base64 based on context it is used
type UpdateUser ¶
type UpdateUser 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"` // 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"` // status // Enum: ["active","inactive","deleted","new"] Status string `json:"status,omitempty" yaml:"status,omitempty"` }
UpdateUser update user
swagger:model UpdateUser
func (*UpdateUser) ContextValidate ¶
ContextValidate validates this update user based on context it is used
func (*UpdateUser) MarshalBinary ¶
func (m *UpdateUser) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateUser) UnmarshalBinary ¶
func (m *UpdateUser) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateUserVerifiableAddress ¶
type UpdateUserVerifiableAddress struct { // address // Required: true Address string `json:"address" yaml:"address"` // 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"` // verified // Example: false // Required: true Verified bool `json:"verified" yaml:"verified"` }
UpdateUserVerifiableAddress update user verifiable address
swagger:model UpdateUserVerifiableAddress
func (*UpdateUserVerifiableAddress) ContextValidate ¶
func (m *UpdateUserVerifiableAddress) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update user verifiable address based on context it is used
func (*UpdateUserVerifiableAddress) MarshalBinary ¶
func (m *UpdateUserVerifiableAddress) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateUserVerifiableAddress) UnmarshalBinary ¶
func (m *UpdateUserVerifiableAddress) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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"` // 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 UserType interface{} `json:"user_type,omitempty" yaml:"user_type,omitempty"` }
User user
swagger:model User
func (*User) ContextValidate ¶
ContextValidate validates this user based on context it is used
func (*User) MarshalBinary ¶
MarshalBinary interface implementation
func (*User) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type UserCredential ¶
type UserCredential struct { // created at // Required: true // Format: date-time CreatedAt strfmt.DateTime `json:"created_at" yaml:"created_at"` // 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"] 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 ¶
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
type UserID ¶
type UserID struct { // id // Required: true ID string `json:"id" yaml:"id"` }
UserID user ID
swagger:model UserID
func (*UserID) ContextValidate ¶
ContextValidate validates this user ID based on context it is used
func (*UserID) MarshalBinary ¶
MarshalBinary interface implementation
func (*UserID) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
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
type UserPools ¶
type UserPools struct { // cursor Cursor Cursor `json:"cursor,omitempty" yaml:"cursor,omitempty"` // pools Pools []*PoolResponse `json:"pools" yaml:"pools"` }
UserPools user pools
swagger:model UserPools
func (*UserPools) ContextValidate ¶
ContextValidate validate this user pools based on the context it is used
func (*UserPools) MarshalBinary ¶
MarshalBinary interface implementation
func (*UserPools) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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"` // 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"` // 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 ¶
ContextValidate validates this user verifiable address based on 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
type UserVerificationRequirement ¶
type UserVerificationRequirement string
UserVerificationRequirement UserVerificationRequirement is a representation of the UserVerificationRequirement IDL enum.
A WebAuthn Relying Party may require user verification for some of its operations but not for others, and may use this type to express its needs.
Specification: §5.8.6. User Verification Requirement Enumeration (https://www.w3.org/TR/webauthn/#enum-userVerificationRequirement)
swagger:model UserVerificationRequirement
func (UserVerificationRequirement) ContextValidate ¶
func (m UserVerificationRequirement) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this user verification requirement based on context it is used
type UserWithData ¶
type UserWithData 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"` // credentials Credentials []*UserCredential `json:"credentials" yaml:"credentials"` // id ID string `json:"id,omitempty" yaml:"id,omitempty"` // identifiers Identifiers []*UserIdentifier `json:"identifiers" yaml:"identifiers"` // 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"` // status // 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"` // verifiable addresses VerifiableAddresses []*UserVerifiableAddress `json:"verifiable_addresses" yaml:"verifiable_addresses"` }
UserWithData user with data
swagger:model UserWithData
func (*UserWithData) ContextValidate ¶
ContextValidate validate this user with data based on the context it is used
func (*UserWithData) MarshalBinary ¶
func (m *UserWithData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UserWithData) UnmarshalBinary ¶
func (m *UserWithData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Users ¶
type Users struct { // users Users []*ExtendedUser `json:"users" yaml:"users"` }
Users Identity Users
swagger:model Users
func (*Users) ContextValidate ¶
ContextValidate validate this users based on the context it is used
func (*Users) MarshalBinary ¶
MarshalBinary interface implementation
func (*Users) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type VerifyOTP ¶
type VerifyOTP struct { // code // Required: true Code string `json:"code" yaml:"code"` // id ID string `json:"id,omitempty" yaml:"id,omitempty"` // identifier // Example: sample@email.com/+48123456789 Identifier string `json:"identifier,omitempty" yaml:"identifier,omitempty"` // user ID UserID string `json:"userID,omitempty" yaml:"userID,omitempty"` }
VerifyOTP verify o t p
swagger:model VerifyOTP
func (*VerifyOTP) ContextValidate ¶
ContextValidate validates this verify o t p based on context it is used
func (*VerifyOTP) MarshalBinary ¶
MarshalBinary interface implementation
func (*VerifyOTP) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type VerifyPassword ¶
type VerifyPassword struct { // id ID string `json:"id,omitempty" yaml:"id,omitempty"` // identifier // Example: sample@email.com/+48123456789 Identifier string `json:"identifier,omitempty" yaml:"identifier,omitempty"` // password // Required: true Password string `json:"password" yaml:"password"` // user ID UserID string `json:"userID,omitempty" yaml:"userID,omitempty"` }
VerifyPassword verify password
swagger:model VerifyPassword
func (*VerifyPassword) ContextValidate ¶
ContextValidate validates this verify password based on context it is used
func (*VerifyPassword) MarshalBinary ¶
func (m *VerifyPassword) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VerifyPassword) UnmarshalBinary ¶
func (m *VerifyPassword) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VerifyPasswordResponseData ¶
type VerifyPasswordResponseData struct { // id // Required: true ID string `json:"id" yaml:"id"` // state // Required: true // Enum: ["valid","must_be_reset","must_be_changed"] State string `json:"state" yaml:"state"` }
VerifyPasswordResponseData verify password response data
swagger:model VerifyPasswordResponseData
func (*VerifyPasswordResponseData) ContextValidate ¶
func (m *VerifyPasswordResponseData) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this verify password response data based on context it is used
func (*VerifyPasswordResponseData) MarshalBinary ¶
func (m *VerifyPasswordResponseData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VerifyPasswordResponseData) UnmarshalBinary ¶
func (m *VerifyPasswordResponseData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type WebAuthnCredentials ¶
type WebAuthnCredentials struct { // credentials Credentials []*Credential `json:"credentials" yaml:"credentials"` }
WebAuthnCredentials web authn credentials
swagger:model WebAuthnCredentials
func (*WebAuthnCredentials) ContextValidate ¶
ContextValidate validate this web authn credentials based on the context it is used
func (*WebAuthnCredentials) MarshalBinary ¶
func (m *WebAuthnCredentials) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*WebAuthnCredentials) UnmarshalBinary ¶
func (m *WebAuthnCredentials) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
Source Files ¶
- activate_self_registered_user.go
- add_user_identifier.go
- add_user_verifiable_address.go
- address.go
- argon2_config.go
- authentication_extensions.go
- authentication_extensions_client_outputs.go
- authentication_mechanisms.go
- authenticator.go
- authenticator_attachment.go
- authenticator_attestation_response.go
- authenticator_transport.go
- bcrypt_config.go
- change_password.go
- change_totp_secret.go
- code.go
- code_id.go
- code_value.go
- codes.go
- complete_add_web_authn.go
- complete_address_verification.go
- complete_reset_password.go
- complete_reset_totp.go
- confirm_reset_password.go
- credential.go
- credential_assertion.go
- credential_attestation.go
- credential_creation_response.go
- credential_descriptor.go
- credential_flags.go
- credential_type.go
- cursor.go
- delete_user_identifier.go
- delete_user_verifiable_address.go
- error.go
- extended_user.go
- get_user_by_key.go
- hash.go
- hash_config.go
- identifier_details.go
- inspect_o_t_p.go
- inspect_o_t_p_user_operational_data.go
- name_web_authn_key.go
- new_user.go
- new_user_credential.go
- new_user_identifier.go
- new_user_verifiable_address.go
- otp_config.go
- otp_settings.go
- p_b_k_d_f2_config.go
- password_policy.go
- password_settings.go
- pool.go
- pool_response.go
- pools.go
- public_key_credential_hints.go
- public_key_credential_request_options.go
- request_activation.go
- request_add_or_reset_credential.go
- request_code.go
- request_code_for_user.go
- request_o_t_p_code.go
- request_o_t_p_for_address.go
- rfc6902_patch_operation.go
- rfc6902_patch_operations.go
- s_h_a_config.go
- schema.go
- schemas.go
- self_register_user.go
- set_password_state_request.go
- supported_json_schema.go
- tenant_dump.go
- update_user.go
- update_user_verifiable_address.go
- url_encoded_base64.go
- user.go
- user_credential.go
- user_id.go
- user_identifier.go
- user_pools.go
- user_verifiable_address.go
- user_verification_requirement.go
- user_with_data.go
- users.go
- verify_o_t_p.go
- verify_password.go
- verify_password_response_data.go
- web_authn_credentials.go