Documentation ¶
Index ¶
- Constants
- type ChangePassword
- 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 Error
- type FederatedAccount
- type ResetPasswordConfirm
- type SelfUserCredentials
- type SelfUserIdentifier
- type SelfUserUpdate
- type SelfUserVerifiableAddress
- func (m *SelfUserVerifiableAddress) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *SelfUserVerifiableAddress) MarshalBinary() ([]byte, error)
- func (m *SelfUserVerifiableAddress) UnmarshalBinary(b []byte) error
- func (m *SelfUserVerifiableAddress) Validate(formats strfmt.Registry) error
- type SelfUserWithData
- type SelfUserWithDataV2
- type SupportedJSONSchema
Constants ¶
const ( // SelfUserCredentialsStateValid captures enum value "valid" SelfUserCredentialsStateValid string = "valid" // SelfUserCredentialsStateMustBeReset captures enum value "must_be_reset" SelfUserCredentialsStateMustBeReset string = "must_be_reset" // SelfUserCredentialsStateMustBeChanged captures enum value "must_be_changed" SelfUserCredentialsStateMustBeChanged string = "must_be_changed" )
const ( // SelfUserCredentialsTypePassword captures enum value "password" SelfUserCredentialsTypePassword string = "password" // SelfUserCredentialsTypeWebauthn captures enum value "webauthn" SelfUserCredentialsTypeWebauthn string = "webauthn" )
const ( // SelfUserIdentifierTypeEmail captures enum value "email" SelfUserIdentifierTypeEmail string = "email" // SelfUserIdentifierTypeMobile captures enum value "mobile" SelfUserIdentifierTypeMobile string = "mobile" // SelfUserIdentifierTypeUID captures enum value "uid" SelfUserIdentifierTypeUID string = "uid" // SelfUserIdentifierTypeExternal captures enum value "external" SelfUserIdentifierTypeExternal string = "external" // SelfUserIdentifierTypeFederated captures enum value "federated" SelfUserIdentifierTypeFederated string = "federated" )
const ( // SelfUserVerifiableAddressPreferredContactMethodSms captures enum value "sms" SelfUserVerifiableAddressPreferredContactMethodSms string = "sms" // SelfUserVerifiableAddressPreferredContactMethodVoice captures enum value "voice" SelfUserVerifiableAddressPreferredContactMethodVoice string = "voice" )
const ( // SelfUserVerifiableAddressStatusActive captures enum value "active" SelfUserVerifiableAddressStatusActive string = "active" // SelfUserVerifiableAddressStatusInactive captures enum value "inactive" SelfUserVerifiableAddressStatusInactive string = "inactive" )
const ( // SelfUserVerifiableAddressTypeEmail captures enum value "email" SelfUserVerifiableAddressTypeEmail string = "email" // SelfUserVerifiableAddressTypeMobile captures enum value "mobile" SelfUserVerifiableAddressTypeMobile string = "mobile" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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 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 Error ¶
type Error struct { // details Details interface{} `json:"details,omitempty" yaml:"details,omitempty"` // error Error string `json:"error,omitempty" yaml:"error,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 FederatedAccount ¶
type FederatedAccount struct { // federated idp id FederatedIdpID string `json:"federated_idp_id,omitempty" yaml:"federated_idp_id,omitempty"` // federated idp method FederatedIdpMethod string `json:"federated_idp_method,omitempty" yaml:"federated_idp_method,omitempty"` // federated idp name FederatedIdpName string `json:"federated_idp_name,omitempty" yaml:"federated_idp_name,omitempty"` // federated sub FederatedSub string `json:"federated_sub,omitempty" yaml:"federated_sub,omitempty"` // identifier id IdentifierID string `json:"identifier_id,omitempty" yaml:"identifier_id,omitempty"` // workspace id WorkspaceID string `json:"workspace_id,omitempty" yaml:"workspace_id,omitempty"` }
FederatedAccount federated account
swagger:model FederatedAccount
func (*FederatedAccount) ContextValidate ¶
ContextValidate validates this federated account based on context it is used
func (*FederatedAccount) MarshalBinary ¶
func (m *FederatedAccount) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*FederatedAccount) UnmarshalBinary ¶
func (m *FederatedAccount) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ResetPasswordConfirm ¶
type ResetPasswordConfirm 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"` }
ResetPasswordConfirm reset password confirm
swagger:model ResetPasswordConfirm
func (*ResetPasswordConfirm) ContextValidate ¶
ContextValidate validates this reset password confirm based on context it is used
func (*ResetPasswordConfirm) MarshalBinary ¶
func (m *ResetPasswordConfirm) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ResetPasswordConfirm) UnmarshalBinary ¶
func (m *ResetPasswordConfirm) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SelfUserCredentials ¶
type SelfUserCredentials struct { // expires after // Format: duration ExpiresAfter strfmt.Duration `json:"expires_after,omitempty" yaml:"expires_after,omitempty"` // expires at // Format: date-time ExpiresAt strfmt.DateTime `json:"expires_at,omitempty" yaml:"expires_at,omitempty"` // state // Enum: [valid must_be_reset must_be_changed] State string `json:"state,omitempty" yaml:"state,omitempty"` // type // Example: password // Required: true // Enum: [password webauthn] Type string `json:"type" yaml:"type"` // updated at // Required: true // Format: date-time UpdatedAt strfmt.DateTime `json:"updated_at" yaml:"updated_at"` }
SelfUserCredentials self user credentials
swagger:model SelfUserCredentials
func (*SelfUserCredentials) ContextValidate ¶
ContextValidate validates this self user credentials based on context it is used
func (*SelfUserCredentials) MarshalBinary ¶
func (m *SelfUserCredentials) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SelfUserCredentials) UnmarshalBinary ¶
func (m *SelfUserCredentials) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SelfUserIdentifier ¶
type SelfUserIdentifier struct { // created at // Required: true // Format: date-time CreatedAt strfmt.DateTime `json:"created_at" yaml:"created_at"` // identifier // Required: true Identifier string `json:"identifier" yaml:"identifier"` // type // Example: email // Required: true // Enum: [email mobile uid external federated] Type string `json:"type" yaml:"type"` }
SelfUserIdentifier self user identifier
swagger:model SelfUserIdentifier
func (*SelfUserIdentifier) ContextValidate ¶
ContextValidate validates this self user identifier based on context it is used
func (*SelfUserIdentifier) MarshalBinary ¶
func (m *SelfUserIdentifier) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SelfUserIdentifier) UnmarshalBinary ¶
func (m *SelfUserIdentifier) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SelfUserUpdate ¶
type SelfUserUpdate struct { // payload Payload map[string]interface{} `json:"payload,omitempty" yaml:"payload,omitempty"` }
SelfUserUpdate self user update
swagger:model SelfUserUpdate
func (*SelfUserUpdate) ContextValidate ¶
ContextValidate validates this self user update based on context it is used
func (*SelfUserUpdate) MarshalBinary ¶
func (m *SelfUserUpdate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SelfUserUpdate) UnmarshalBinary ¶
func (m *SelfUserUpdate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SelfUserVerifiableAddress ¶
type SelfUserVerifiableAddress struct { // address // Required: true Address string `json:"address" yaml:"address"` // created at // Required: true // Format: date-time CreatedAt strfmt.DateTime `json:"created_at" yaml:"created_at"` // 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"` // updated at // Required: true // Format: date-time UpdatedAt strfmt.DateTime `json:"updated_at" yaml:"updated_at"` // 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"` }
SelfUserVerifiableAddress self user verifiable address
swagger:model SelfUserVerifiableAddress
func (*SelfUserVerifiableAddress) ContextValidate ¶
func (m *SelfUserVerifiableAddress) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this self user verifiable address based on context it is used
func (*SelfUserVerifiableAddress) MarshalBinary ¶
func (m *SelfUserVerifiableAddress) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SelfUserVerifiableAddress) UnmarshalBinary ¶
func (m *SelfUserVerifiableAddress) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SelfUserWithData ¶
type SelfUserWithData struct { // id ID string `json:"id,omitempty" yaml:"id,omitempty"` // identifiers Identifiers []*SelfUserIdentifier `json:"identifiers" yaml:"identifiers"` // metadata Metadata map[string]interface{} `json:"metadata,omitempty" yaml:"metadata,omitempty"` // payload Payload map[string]interface{} `json:"payload,omitempty" yaml:"payload,omitempty"` // verifiable addresses VerifiableAddresses []*SelfUserVerifiableAddress `json:"verifiable_addresses" yaml:"verifiable_addresses"` }
SelfUserWithData self user with data
swagger:model SelfUserWithData
func (*SelfUserWithData) ContextValidate ¶
ContextValidate validate this self user with data based on the context it is used
func (*SelfUserWithData) MarshalBinary ¶
func (m *SelfUserWithData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SelfUserWithData) UnmarshalBinary ¶
func (m *SelfUserWithData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SelfUserWithDataV2 ¶
type SelfUserWithDataV2 struct { // credentials Credentials []*SelfUserCredentials `json:"credentials" yaml:"credentials"` // federated accounts FederatedAccounts []*FederatedAccount `json:"federated_accounts" yaml:"federated_accounts"` // id ID string `json:"id,omitempty" yaml:"id,omitempty"` // identifiers Identifiers []*SelfUserIdentifier `json:"identifiers" yaml:"identifiers"` // metadata Metadata map[string]interface{} `json:"metadata,omitempty" yaml:"metadata,omitempty"` // payload Payload map[string]interface{} `json:"payload,omitempty" yaml:"payload,omitempty"` // payload schema PayloadSchema *SupportedJSONSchema `json:"payload_schema,omitempty" yaml:"payload_schema,omitempty"` // verifiable addresses VerifiableAddresses []*SelfUserVerifiableAddress `json:"verifiable_addresses" yaml:"verifiable_addresses"` }
SelfUserWithDataV2 self user with data v2
swagger:model SelfUserWithDataV2
func (*SelfUserWithDataV2) ContextValidate ¶
ContextValidate validate this self user with data v2 based on the context it is used
func (*SelfUserWithDataV2) MarshalBinary ¶
func (m *SelfUserWithDataV2) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SelfUserWithDataV2) UnmarshalBinary ¶
func (m *SelfUserWithDataV2) 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"` // 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