models

package
v0.0.0-...-b8f2a1b Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (

	// PublicEnvironmentServerProfileDefault captures enum value "default"
	PublicEnvironmentServerProfileDefault string = "default"

	// PublicEnvironmentServerProfileDemo captures enum value "demo"
	PublicEnvironmentServerProfileDemo string = "demo"

	// PublicEnvironmentServerProfileWorkforce captures enum value "workforce"
	PublicEnvironmentServerProfileWorkforce string = "workforce"

	// PublicEnvironmentServerProfileWorkforceV2 captures enum value "workforce_v2"
	PublicEnvironmentServerProfileWorkforceV2 string = "workforce_v2"

	// PublicEnvironmentServerProfileConsumer captures enum value "consumer"
	PublicEnvironmentServerProfileConsumer string = "consumer"

	// PublicEnvironmentServerProfilePartners captures enum value "partners"
	PublicEnvironmentServerProfilePartners string = "partners"

	// PublicEnvironmentServerProfileThirdParty captures enum value "third_party"
	PublicEnvironmentServerProfileThirdParty string = "third_party"

	// PublicEnvironmentServerProfileFapiAdvanced captures enum value "fapi_advanced"
	PublicEnvironmentServerProfileFapiAdvanced string = "fapi_advanced"

	// PublicEnvironmentServerProfileFapiRw captures enum value "fapi_rw"
	PublicEnvironmentServerProfileFapiRw string = "fapi_rw"

	// PublicEnvironmentServerProfileFapiRo captures enum value "fapi_ro"
	PublicEnvironmentServerProfileFapiRo string = "fapi_ro"

	// PublicEnvironmentServerProfileOpenbankingUkFapiAdvanced captures enum value "openbanking_uk_fapi_advanced"
	PublicEnvironmentServerProfileOpenbankingUkFapiAdvanced string = "openbanking_uk_fapi_advanced"

	// PublicEnvironmentServerProfileOpenbankingUk captures enum value "openbanking_uk"
	PublicEnvironmentServerProfileOpenbankingUk string = "openbanking_uk"

	// PublicEnvironmentServerProfileOpenbankingBr captures enum value "openbanking_br"
	PublicEnvironmentServerProfileOpenbankingBr string = "openbanking_br"

	// PublicEnvironmentServerProfileOpenbankingBrUnico captures enum value "openbanking_br_unico"
	PublicEnvironmentServerProfileOpenbankingBrUnico string = "openbanking_br_unico"

	// PublicEnvironmentServerProfileCdrAustralia captures enum value "cdr_australia"
	PublicEnvironmentServerProfileCdrAustralia string = "cdr_australia"

	// PublicEnvironmentServerProfileCdrAustraliaFapiRw captures enum value "cdr_australia_fapi_rw"
	PublicEnvironmentServerProfileCdrAustraliaFapiRw string = "cdr_australia_fapi_rw"

	// PublicEnvironmentServerProfileFdx captures enum value "fdx"
	PublicEnvironmentServerProfileFdx string = "fdx"

	// PublicEnvironmentServerProfileOpenbankingKsa captures enum value "openbanking_ksa"
	PublicEnvironmentServerProfileOpenbankingKsa string = "openbanking_ksa"

	// PublicEnvironmentServerProfileFapi20Security captures enum value "fapi_20_security"
	PublicEnvironmentServerProfileFapi20Security string = "fapi_20_security"

	// PublicEnvironmentServerProfileFapi20MessageSigning captures enum value "fapi_20_message_signing"
	PublicEnvironmentServerProfileFapi20MessageSigning string = "fapi_20_message_signing"

	// PublicEnvironmentServerProfileConnectID captures enum value "connect_id"
	PublicEnvironmentServerProfileConnectID string = "connect_id"

	// PublicEnvironmentServerProfileAgenticAi captures enum value "agentic_ai"
	PublicEnvironmentServerProfileAgenticAi string = "agentic_ai"

	// PublicEnvironmentServerProfileSaidpLegacy captures enum value "saidp_legacy"
	PublicEnvironmentServerProfileSaidpLegacy string = "saidp_legacy"
)
View Source
const (

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

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

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

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

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

	// TransientOTPResponseMechanismVoice captures enum value "voice"
	TransientOTPResponseMechanismVoice string = "voice"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ClaimPublicResponse

type ClaimPublicResponse struct {

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

	// unique claim id
	// Example: 1
	ID string `json:"id,omitempty" yaml:"id,omitempty"`

	// claim name in outgoing id / access token
	// Example: email
	Name string `json:"name,omitempty" yaml:"name,omitempty"`

	// mark claim as verified (required by identity assurance spec)
	Verified bool `json:"verified,omitempty" yaml:"verified,omitempty"`
}

ClaimPublicResponse claim public response

swagger:model ClaimPublicResponse

func (*ClaimPublicResponse) ContextValidate

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

ContextValidate validates this claim public response based on context it is used

func (*ClaimPublicResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ClaimPublicResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ClaimPublicResponse) Validate

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

Validate validates this claim public response

type ClientDetails

type ClientDetails struct {

	// url to a client website
	// Example: https://example.com
	ClientURI string `json:"client_uri,omitempty" yaml:"client_uri,omitempty"`

	// client id
	// Example: default
	ID string `json:"id,omitempty" yaml:"id,omitempty"`

	// url to a page where client logo is served
	// Example: https://example.com/logo.png
	LogoURI string `json:"logo_uri,omitempty" yaml:"logo_uri,omitempty"`

	// client name
	// Example: My app
	Name string `json:"name,omitempty" yaml:"name,omitempty"`
}

ClientDetails client details

swagger:model ClientDetails

func (*ClientDetails) ContextValidate

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

ContextValidate validates this client details based on context it is used

func (*ClientDetails) MarshalBinary

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

MarshalBinary interface implementation

func (*ClientDetails) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ClientDetails) Validate

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

Validate validates this client details

type ClientWithAccess

type ClientWithAccess struct {

	// client
	Client *ClientDetails `json:"client,omitempty" yaml:"client,omitempty"`

	// Claims granted to client
	GrantedClaims []*GrantedClaim `json:"granted_claims" yaml:"granted_claims"`

	// Scopes granted to client
	GrantedScopes []*GrantedScope `json:"granted_scopes" yaml:"granted_scopes"`

	// Claims granted to client
	GrantedVerifiedClaims []*GrantedClaim `json:"granted_verified_claims" yaml:"granted_verified_claims"`
}

ClientWithAccess client with access

swagger:model ClientWithAccess

func (*ClientWithAccess) ContextValidate

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

ContextValidate validate this client with access based on the context it is used

func (*ClientWithAccess) MarshalBinary

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

MarshalBinary interface implementation

func (*ClientWithAccess) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ClientWithAccess) Validate

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

Validate validates this client with access

type Consent struct {

	// flag determining if can user withdrawn consent
	// Example: false
	CanBeWithdrawn bool `json:"can_be_withdrawn,omitempty" yaml:"can_be_withdrawn,omitempty"`

	// consent description
	// Example: End User License Agreement
	Description string `json:"description,omitempty" yaml:"description,omitempty"`

	// consent unique identifier
	// Example: 1
	ID string `json:"id,omitempty" yaml:"id,omitempty"`

	// internal services
	InternalServices []*ConsentService `json:"internal_services" yaml:"internal_services"`

	// consent name
	// Example: EULA
	Name string `json:"name,omitempty" yaml:"name,omitempty"`

	// PII Categories
	PiiCategories []*PIICategory `json:"pii_categories" yaml:"pii_categories"`

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

	// third party services
	ThirdPartyServices []*ConsentService `json:"third_party_services" yaml:"third_party_services"`

	// strategy for upading existing grants, one of: explicitAll, implicitAll, keepCurrent
	// Example: explicitAll
	UpdateExistingGrants string `json:"update_existing_grants,omitempty" yaml:"update_existing_grants,omitempty"`

	// marks the time from which the consent is in use. Can't be set to a future time
	// Example: 2019-12-11T13:44:28.772101Z
	// Format: date-time
	ValidFrom strfmt.DateTime `json:"valid_from,omitempty" yaml:"valid_from,omitempty"`

	// consent version. When a consent is updated, version is incremented.
	// Example: 1
	Version int64 `json:"version,omitempty" yaml:"version,omitempty"`
}

Consent consent

swagger:model Consent

func (*Consent) ContextValidate

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

ContextValidate validate this consent based on the context it is used

func (*Consent) MarshalBinary

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

MarshalBinary interface implementation

func (*Consent) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Consent) Validate

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

Validate validates this consent

type ConsentGrant

type ConsentGrant struct {

	// consent grant id
	// Example: 27fa83a8-d0a6-48da-8529-42105bfa0ede
	ConsentGrantActID string `json:"consent_grant_act_id,omitempty" yaml:"consent_grant_act_id,omitempty"`

	// consent id
	// Example: 1
	ConsentID string `json:"consent_id,omitempty" yaml:"consent_id,omitempty"`

	// given at timestamp
	// Format: date-time
	GivenAt strfmt.DateTime `json:"given_at,omitempty" yaml:"given_at,omitempty"`

	// grant type, one of: implicit, explicit
	// Example: implicit
	GrantType string `json:"grant_type,omitempty" yaml:"grant_type,omitempty"`

	// subject
	// Example: peter
	Subject string `json:"subject,omitempty" yaml:"subject,omitempty"`

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

	// version
	// Example: 1
	Version int64 `json:"version,omitempty" yaml:"version,omitempty"`
}

ConsentGrant consent grant

swagger:model ConsentGrant

func (*ConsentGrant) ContextValidate

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

ContextValidate validates this consent grant based on context it is used

func (*ConsentGrant) MarshalBinary

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

MarshalBinary interface implementation

func (*ConsentGrant) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ConsentGrant) Validate

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

Validate validates this consent grant

type ConsentGrantContext

type ConsentGrantContext struct {

	// json object - device print of the End User's device
	Device map[string]interface{} `json:"device,omitempty" yaml:"device,omitempty"`

	// string in the form of a valid IP v 4 address, represents the current IP of the End User
	// Example: 52.14.142.76
	IP string `json:"ip,omitempty" yaml:"ip,omitempty"`

	// 2 element array of floats - current geolocation of the end-user, the format is [lat, long]
	// Example: [25.2084,55.2719]
	Location []float64 `json:"location" yaml:"location"`
}

ConsentGrantContext consent grant context

swagger:model ConsentGrantContext

func (*ConsentGrantContext) ContextValidate

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

ContextValidate validates this consent grant context based on context it is used

func (*ConsentGrantContext) MarshalBinary

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

MarshalBinary interface implementation

func (*ConsentGrantContext) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ConsentGrantContext) Validate

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

Validate validates this consent grant context

type ConsentGrantPatch

type ConsentGrantPatch struct {

	// consent id
	// Example: 1
	ConsentID string `json:"consent_id,omitempty" yaml:"consent_id,omitempty"`

	// one of: implicit, explicit (explicit is the default value)
	// Example: implicit
	GrantType string `json:"grant_type,omitempty" yaml:"grant_type,omitempty"`

	// boolean flag marking if the user granted or revoked the consent
	// Example: false
	Granted bool `json:"granted,omitempty" yaml:"granted,omitempty"`
}

ConsentGrantPatch consent grant patch

swagger:model ConsentGrantPatch

func (*ConsentGrantPatch) ContextValidate

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

ContextValidate validates this consent grant patch based on context it is used

func (*ConsentGrantPatch) MarshalBinary

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

MarshalBinary interface implementation

func (*ConsentGrantPatch) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ConsentGrantPatch) Validate

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

Validate validates this consent grant patch

type ConsentGrantPatchRequest

type ConsentGrantPatchRequest struct {

	// time when the grant occurred
	// Example: 1257894000000000000
	CollectionTimestamp int64 `json:"collection_timestamp,omitempty" yaml:"collection_timestamp,omitempty"`

	// an array of consent objects, consisting of consentId and granted - boolean flag marking if the user granted or revoked the consent
	Consents []*ConsentGrantPatch `json:"consents" yaml:"consents"`

	// context
	Context *ConsentGrantContext `json:"context,omitempty" yaml:"context,omitempty"`

	// language in which the consent was obtained [ISO 639]
	// Example: en
	Language string `json:"language,omitempty" yaml:"language,omitempty"`

	// optional string with action_id - can be set if the consent grant/withdraw request was caused when an app asked the user for consent required for a specific action
	// Example: 1
	TriggeredByAction string `json:"triggered_by_action,omitempty" yaml:"triggered_by_action,omitempty"`
}

ConsentGrantPatchRequest consent grant patch request

swagger:model ConsentGrantPatchRequest

func (*ConsentGrantPatchRequest) ContextValidate

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

ContextValidate validate this consent grant patch request based on the context it is used

func (*ConsentGrantPatchRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*ConsentGrantPatchRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ConsentGrantPatchRequest) Validate

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

Validate validates this consent grant patch request

type ConsentGrantPatchResponse

type ConsentGrantPatchResponse struct {

	// id of the consent grant action
	ConsentGrantActID string `json:"ConsentGrantActID,omitempty" yaml:"ConsentGrantActID,omitempty"`

	// time when the grant occurred
	// Example: 1257894000000000000
	CollectionTimestamp int64 `json:"collection_timestamp,omitempty" yaml:"collection_timestamp,omitempty"`

	// an array of consent objects, consisting of consentId and granted - boolean flag marking if the user granted or revoked the consent
	Consents []*ConsentGrantPatch `json:"consents" yaml:"consents"`

	// context
	Context *ConsentGrantContext `json:"context,omitempty" yaml:"context,omitempty"`

	// language in which the consent was obtained [ISO 639]
	// Example: en
	Language string `json:"language,omitempty" yaml:"language,omitempty"`

	// optional string with action_id - can be set if the consent grant/withdraw request was caused when an app asked the user for consent required for a specific action
	// Example: 1
	TriggeredByAction string `json:"triggered_by_action,omitempty" yaml:"triggered_by_action,omitempty"`
}

ConsentGrantPatchResponse consent grant patch response

swagger:model ConsentGrantPatchResponse

func (*ConsentGrantPatchResponse) ContextValidate

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

ContextValidate validate this consent grant patch response based on the context it is used

func (*ConsentGrantPatchResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ConsentGrantPatchResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ConsentGrantPatchResponse) Validate

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

Validate validates this consent grant patch response

type ConsentGrantRequest

type ConsentGrantRequest struct {

	// time when the grant occurred
	// Example: 1257894000000000000
	CollectionTimestamp int64 `json:"collection_timestamp,omitempty" yaml:"collection_timestamp,omitempty"`

	// consent id
	ConsentID string `json:"consent_id,omitempty" yaml:"consent_id,omitempty"`

	// context
	Context *ConsentGrantContext `json:"context,omitempty" yaml:"context,omitempty"`

	// grant type
	GrantType string `json:"grant_type,omitempty" yaml:"grant_type,omitempty"`

	// language in which the consent was obtained [ISO 639]
	// Example: en
	Language string `json:"language,omitempty" yaml:"language,omitempty"`

	// optional string with action_id - can be set if the consent grant/withdraw request was caused when an app asked the user for consent required for a specific action
	// Example: 1
	TriggeredByAction string `json:"triggered_by_action,omitempty" yaml:"triggered_by_action,omitempty"`
}

ConsentGrantRequest consent grant request

swagger:model ConsentGrantRequest

func (*ConsentGrantRequest) ContextValidate

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

ContextValidate validate this consent grant request based on the context it is used

func (*ConsentGrantRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*ConsentGrantRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ConsentGrantRequest) Validate

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

Validate validates this consent grant request

type ConsentGrantedEvent

type ConsentGrantedEvent struct {

	// time when the grant occurred
	// Example: 1257894000000000000
	CollectionTimestamp int64 `json:"collection_timestamp,omitempty" yaml:"collection_timestamp,omitempty"`

	// consent
	Consent *Consent `json:"consent,omitempty" yaml:"consent,omitempty"`

	// consent grant id
	// Example: 27fa83a8-d0a6-48da-8529-42105bfa0ede
	ConsentGrantActID string `json:"consent_grant_act_id,omitempty" yaml:"consent_grant_act_id,omitempty"`

	// consent id
	// Example: 1
	ConsentID string `json:"consent_id,omitempty" yaml:"consent_id,omitempty"`

	// context
	Context *ConsentGrantContext `json:"context,omitempty" yaml:"context,omitempty"`

	// given at timestamp
	// Format: date-time
	GivenAt strfmt.DateTime `json:"given_at,omitempty" yaml:"given_at,omitempty"`

	// grant type, one of: implicit, explicit
	// Example: implicit
	GrantType string `json:"grant_type,omitempty" yaml:"grant_type,omitempty"`

	// language in which the consent was obtained [ISO 639]
	// Example: en
	Language string `json:"language,omitempty" yaml:"language,omitempty"`

	// subject
	// Example: peter
	Subject string `json:"subject,omitempty" yaml:"subject,omitempty"`

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

	// optional string with action_id - can be set if the consent grant/withdraw request was caused when an app asked the user for consent required for a specific action
	// Example: 1
	TriggeredByAction string `json:"triggered_by_action,omitempty" yaml:"triggered_by_action,omitempty"`

	// version
	// Example: 1
	Version int64 `json:"version,omitempty" yaml:"version,omitempty"`
}

ConsentGrantedEvent consent granted event

swagger:model ConsentGrantedEvent

func (*ConsentGrantedEvent) ContextValidate

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

ContextValidate validate this consent granted event based on the context it is used

func (*ConsentGrantedEvent) MarshalBinary

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

MarshalBinary interface implementation

func (*ConsentGrantedEvent) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ConsentGrantedEvent) Validate

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

Validate validates this consent granted event

type ConsentRevokedEvent

type ConsentRevokedEvent struct {

	// time when the grant occurred
	// Example: 1257894000000000000
	CollectionTimestamp int64 `json:"collection_timestamp,omitempty" yaml:"collection_timestamp,omitempty"`

	// consent
	Consent *Consent `json:"consent,omitempty" yaml:"consent,omitempty"`

	// consent grant id
	// Example: 27fa83a8-d0a6-48da-8529-42105bfa0ede
	ConsentGrantActID string `json:"consent_grant_act_id,omitempty" yaml:"consent_grant_act_id,omitempty"`

	// consent id
	// Example: 1
	ConsentID string `json:"consent_id,omitempty" yaml:"consent_id,omitempty"`

	// context
	Context *ConsentGrantContext `json:"context,omitempty" yaml:"context,omitempty"`

	// given at timestamp
	// Format: date-time
	GivenAt strfmt.DateTime `json:"given_at,omitempty" yaml:"given_at,omitempty"`

	// grant type, one of: implicit, explicit
	// Example: implicit
	GrantType string `json:"grant_type,omitempty" yaml:"grant_type,omitempty"`

	// language in which the consent was obtained [ISO 639]
	// Example: en
	Language string `json:"language,omitempty" yaml:"language,omitempty"`

	// subject
	// Example: peter
	Subject string `json:"subject,omitempty" yaml:"subject,omitempty"`

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

	// optional string with action_id - can be set if the consent grant/withdraw request was caused when an app asked the user for consent required for a specific action
	// Example: 1
	TriggeredByAction string `json:"triggered_by_action,omitempty" yaml:"triggered_by_action,omitempty"`

	// version
	// Example: 1
	Version int64 `json:"version,omitempty" yaml:"version,omitempty"`
}

ConsentRevokedEvent consent revoked event

swagger:model ConsentRevokedEvent

func (*ConsentRevokedEvent) ContextValidate

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

ContextValidate validate this consent revoked event based on the context it is used

func (*ConsentRevokedEvent) MarshalBinary

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

MarshalBinary interface implementation

func (*ConsentRevokedEvent) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ConsentRevokedEvent) Validate

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

Validate validates this consent revoked event

type ConsentService

type ConsentService struct {

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

	// purpose
	Purposes []*Purpose `json:"purposes" yaml:"purposes"`
}

ConsentService consent service

swagger:model ConsentService

func (*ConsentService) ContextValidate

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

ContextValidate validate this consent service based on the context it is used

func (*ConsentService) MarshalBinary

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

MarshalBinary interface implementation

func (*ConsentService) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ConsentService) Validate

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

Validate validates this consent service

type ConsentWithGrant

type ConsentWithGrant struct {

	// flag determining if can user withdrawn consent
	// Example: false
	CanBeWithdrawn bool `json:"can_be_withdrawn,omitempty" yaml:"can_be_withdrawn,omitempty"`

	// consent grant id
	// Example: 27fa83a8-d0a6-48da-8529-42105bfa0ede
	ConsentGrantID string `json:"consent_grant_id,omitempty" yaml:"consent_grant_id,omitempty"`

	// consent description
	// Example: End User License Agreement
	Description string `json:"description,omitempty" yaml:"description,omitempty"`

	// given at timestamp
	// Format: date-time
	GivenAt strfmt.DateTime `json:"given_at,omitempty" yaml:"given_at,omitempty"`

	// grant type
	// Example: implicit
	GrantType string `json:"grant_type,omitempty" yaml:"grant_type,omitempty"`

	// grant version
	// Example: 1
	GrantVersion int64 `json:"grant_version,omitempty" yaml:"grant_version,omitempty"`

	// is consent granted
	// Example: false
	Granted bool `json:"granted,omitempty" yaml:"granted,omitempty"`

	// consent unique identifier
	// Example: 1
	ID string `json:"id,omitempty" yaml:"id,omitempty"`

	// internal services
	InternalServices []*ConsentService `json:"internal_services" yaml:"internal_services"`

	// consent name
	// Example: EULA
	Name string `json:"name,omitempty" yaml:"name,omitempty"`

	// PII Categories
	PiiCategories []*PIICategory `json:"pii_categories" yaml:"pii_categories"`

	// subject
	// Example: peter
	Subject string `json:"subject,omitempty" yaml:"subject,omitempty"`

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

	// third party services
	ThirdPartyServices []*ConsentService `json:"third_party_services" yaml:"third_party_services"`

	// strategy for upading existing grants, one of: explicitAll, implicitAll, keepCurrent
	// Example: explicitAll
	UpdateExistingGrants string `json:"update_existing_grants,omitempty" yaml:"update_existing_grants,omitempty"`

	// marks the time from which the consent is in use. Can't be set to a future time
	// Example: 2019-12-11T13:44:28.772101Z
	// Format: date-time
	ValidFrom strfmt.DateTime `json:"valid_from,omitempty" yaml:"valid_from,omitempty"`

	// consent version. When a consent is updated, version is incremented.
	// Example: 1
	Version int64 `json:"version,omitempty" yaml:"version,omitempty"`
}

ConsentWithGrant consent with grant

swagger:model ConsentWithGrant

func (*ConsentWithGrant) ContextValidate

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

ContextValidate validate this consent with grant based on the context it is used

func (*ConsentWithGrant) MarshalBinary

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

MarshalBinary interface implementation

func (*ConsentWithGrant) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ConsentWithGrant) Validate

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

Validate validates this consent with grant

type ConsentsWithGrants

type ConsentsWithGrants struct {

	// list of consents
	Consents []*ConsentWithGrant `json:"consents" yaml:"consents"`
}

ConsentsWithGrants consents with grants

swagger:model ConsentsWithGrants

func (*ConsentsWithGrants) ContextValidate

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

ContextValidate validate this consents with grants based on the context it is used

func (*ConsentsWithGrants) MarshalBinary

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

MarshalBinary interface implementation

func (*ConsentsWithGrants) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ConsentsWithGrants) Validate

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

Validate validates this consents with grants

type Error

type Error struct {

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

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

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

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

Error HTTP error response

swagger:model Error

func (*Error) ContextValidate

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

ContextValidate validates this error based on context it is used

func (*Error) MarshalBinary

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

MarshalBinary interface implementation

func (*Error) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Error) Validate

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

Validate validates this error

type GrantedClaim

type GrantedClaim struct {

	// claim name
	ClaimName string `json:"claim_name,omitempty" yaml:"claim_name,omitempty"`

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

GrantedClaim granted claim

swagger:model GrantedClaim

func (*GrantedClaim) ContextValidate

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

ContextValidate validates this granted claim based on context it is used

func (*GrantedClaim) MarshalBinary

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

MarshalBinary interface implementation

func (*GrantedClaim) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GrantedClaim) Validate

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

Validate validates this granted claim

type GrantedScope

type GrantedScope struct {

	// granted scope name
	GrantedScopeName string `json:"granted_scope_name,omitempty" yaml:"granted_scope_name,omitempty"`

	// is dynamic
	IsDynamic bool `json:"is_dynamic,omitempty" yaml:"is_dynamic,omitempty"`

	// scope name
	ScopeName string `json:"scope_name,omitempty" yaml:"scope_name,omitempty"`
}

GrantedScope granted scope

swagger:model GrantedScope

func (*GrantedScope) ContextValidate

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

ContextValidate validates this granted scope based on context it is used

func (*GrantedScope) MarshalBinary

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

MarshalBinary interface implementation

func (*GrantedScope) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GrantedScope) Validate

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

Validate validates this granted scope

type ListClientsWithAccess

type ListClientsWithAccess struct {

	// claims
	Claims []*ClaimPublicResponse `json:"claims" yaml:"claims"`

	// clients
	Clients []*ClientWithAccess `json:"clients" yaml:"clients"`

	// scopes
	Scopes []*ScopeWithServicePublicResponse `json:"scopes" yaml:"scopes"`

	// verified claims
	VerifiedClaims []*ClaimPublicResponse `json:"verified_claims" yaml:"verified_claims"`
}

ListClientsWithAccess list clients with access

swagger:model ListClientsWithAccess

func (*ListClientsWithAccess) ContextValidate

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

ContextValidate validate this list clients with access based on the context it is used

func (*ListClientsWithAccess) MarshalBinary

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

MarshalBinary interface implementation

func (*ListClientsWithAccess) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListClientsWithAccess) Validate

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

Validate validates this list clients with access

type ListUserApplications

type ListUserApplications struct {

	// applications
	Applications []*UserApplication `json:"applications" yaml:"applications"`
}

ListUserApplications list user applications

swagger:model ListUserApplications

func (*ListUserApplications) ContextValidate

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

ContextValidate validate this list user applications based on the context it is used

func (*ListUserApplications) MarshalBinary

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

MarshalBinary interface implementation

func (*ListUserApplications) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListUserApplications) Validate

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

Validate validates this list user applications

type ListUserSessions

type ListUserSessions struct {

	// sessions
	Sessions []*UserSession `json:"sessions" yaml:"sessions"`
}

ListUserSessions list user sessions

swagger:model ListUserSessions

func (*ListUserSessions) ContextValidate

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

ContextValidate validate this list user sessions based on the context it is used

func (*ListUserSessions) MarshalBinary

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

MarshalBinary interface implementation

func (*ListUserSessions) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListUserSessions) Validate

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

Validate validates this list user sessions

type PIICategory

type PIICategory struct {

	// name
	// Example: HIPAA
	Name string `json:"name,omitempty" yaml:"name,omitempty"`
}

PIICategory p i i category

swagger:model PIICategory

func (*PIICategory) ContextValidate

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

ContextValidate validates this p i i category based on context it is used

func (*PIICategory) MarshalBinary

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

MarshalBinary interface implementation

func (*PIICategory) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PIICategory) Validate

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

Validate validates this p i i category

type PrivacyLedgerEvent

type PrivacyLedgerEvent struct {

	// date
	// Format: date-time
	Date strfmt.DateTime `json:"date,omitempty" yaml:"date,omitempty"`

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

	// payload
	Payload *PrivacyLedgerPayload `json:"payload,omitempty" yaml:"payload,omitempty"`

	// payload signature
	PayloadSignature string `json:"payload_signature,omitempty" yaml:"payload_signature,omitempty"`

	// subject
	Subject string `json:"subject,omitempty" yaml:"subject,omitempty"`

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

PrivacyLedgerEvent privacy ledger event

swagger:model PrivacyLedgerEvent

func (*PrivacyLedgerEvent) ContextValidate

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

ContextValidate validate this privacy ledger event based on the context it is used

func (*PrivacyLedgerEvent) MarshalBinary

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

MarshalBinary interface implementation

func (*PrivacyLedgerEvent) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PrivacyLedgerEvent) Validate

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

Validate validates this privacy ledger event

type PrivacyLedgerEventType

type PrivacyLedgerEventType string

PrivacyLedgerEventType privacy ledger event type

swagger:model PrivacyLedgerEventType

func (PrivacyLedgerEventType) ContextValidate

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

ContextValidate validates this privacy ledger event type based on context it is used

func (PrivacyLedgerEventType) Validate

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

Validate validates this privacy ledger event type

type PrivacyLedgerEvents

type PrivacyLedgerEvents struct {

	// events
	Events []*PrivacyLedgerEvent `json:"events" yaml:"events"`
}

PrivacyLedgerEvents privacy ledger events

swagger:model PrivacyLedgerEvents

func (*PrivacyLedgerEvents) ContextValidate

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

ContextValidate validate this privacy ledger events based on the context it is used

func (*PrivacyLedgerEvents) MarshalBinary

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

MarshalBinary interface implementation

func (*PrivacyLedgerEvents) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PrivacyLedgerEvents) Validate

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

Validate validates this privacy ledger events

type PrivacyLedgerPayload

type PrivacyLedgerPayload struct {

	// consent granted
	ConsentGranted *ConsentGrantedEvent `json:"consent_granted,omitempty" yaml:"consent_granted,omitempty"`

	// consent revoked
	ConsentRevoked *ConsentRevokedEvent `json:"consent_revoked,omitempty" yaml:"consent_revoked,omitempty"`

	// event type
	EventType PrivacyLedgerEventType `json:"event_type,omitempty" yaml:"event_type,omitempty"`
}

PrivacyLedgerPayload privacy ledger payload

swagger:model PrivacyLedgerPayload

func (*PrivacyLedgerPayload) ContextValidate

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

ContextValidate validate this privacy ledger payload based on the context it is used

func (*PrivacyLedgerPayload) MarshalBinary

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

MarshalBinary interface implementation

func (*PrivacyLedgerPayload) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PrivacyLedgerPayload) Validate

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

Validate validates this privacy ledger payload

type PublicEnvironment

type PublicEnvironment struct {

	// If ai_security is enabled
	AiSecurity bool `json:"ai_security,omitempty" yaml:"ai_security,omitempty"`

	// ai security manifest url
	AiSecurityManifestURL string `json:"ai_security_manifest_url,omitempty" yaml:"ai_security_manifest_url,omitempty"`

	// ai security public url
	AiSecurityPublicURL string `json:"ai_security_public_url,omitempty" yaml:"ai_security_public_url,omitempty"`

	// If b2b_orgs_client_side_search is enabled
	B2bOrgsClientSideSearch bool `json:"b2b_orgs_client_side_search,omitempty" yaml:"b2b_orgs_client_side_search,omitempty"`

	// If the User portal renders its self-service panes through the embeddable components
	EmbeddableComponents bool `json:"embeddable_components,omitempty" yaml:"embeddable_components,omitempty"`

	// faye url
	FayeURL string `json:"faye_url,omitempty" yaml:"faye_url,omitempty"`

	// Image proxy URL
	ImageProxyURL string `json:"image_proxy_url,omitempty" yaml:"image_proxy_url,omitempty"`

	// If push is enabled
	Push bool `json:"push,omitempty" yaml:"push,omitempty"`

	// server profile
	// Enum: ["default","demo","workforce","workforce_v2","consumer","partners","third_party","fapi_advanced","fapi_rw","fapi_ro","openbanking_uk_fapi_advanced","openbanking_uk","openbanking_br","openbanking_br_unico","cdr_australia","cdr_australia_fapi_rw","fdx","openbanking_ksa","fapi_20_security","fapi_20_message_signing","connect_id","agentic_ai","saidp_legacy"]
	ServerProfile string `json:"server_profile,omitempty" yaml:"server_profile,omitempty"`

	// translations default locale
	TranslationsDefaultLocale string `json:"translations_default_locale,omitempty" yaml:"translations_default_locale,omitempty"`

	// translations
	TranslationsEnabled bool `json:"translations_enabled,omitempty" yaml:"translations_enabled,omitempty"`

	// translations locales
	TranslationsLocales []string `json:"translations_locales" yaml:"translations_locales"`

	// workforce integration
	Workforce bool `json:"workforce,omitempty" yaml:"workforce,omitempty"`

	// workforce logout url
	WorkforceLogoutURL string `json:"workforce_logout_url,omitempty" yaml:"workforce_logout_url,omitempty"`

	// workforce manifest url
	WorkforceManifestURL string `json:"workforce_manifest_url,omitempty" yaml:"workforce_manifest_url,omitempty"`

	// workforce status
	WorkforceStatus WorkforceProvisioningStatus `json:"workforce_status,omitempty" yaml:"workforce_status,omitempty"`

	// workforce tenant slug
	WorkforceTenantSlug string `json:"workforce_tenant_slug,omitempty" yaml:"workforce_tenant_slug,omitempty"`

	// workforce url
	WorkforceURL string `json:"workforce_url,omitempty" yaml:"workforce_url,omitempty"`

	// Workspace Issuer URL
	WorkspaceIssuerURL string `json:"workspace_issuer_url,omitempty" yaml:"workspace_issuer_url,omitempty"`
}

PublicEnvironment public environment

swagger:model PublicEnvironment

func (*PublicEnvironment) ContextValidate

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

ContextValidate validate this public environment based on the context it is used

func (*PublicEnvironment) MarshalBinary

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

MarshalBinary interface implementation

func (*PublicEnvironment) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PublicEnvironment) Validate

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

Validate validates this public environment

type Purpose

type Purpose struct {

	// name
	// Example: Core Function
	Name string `json:"name,omitempty" yaml:"name,omitempty"`

	// is the purpose primary. If there are multiple purposes defined, one of them must be marked as primary.
	// Example: true
	Primary bool `json:"primary,omitempty" yaml:"primary,omitempty"`
}

Purpose purpose

swagger:model Purpose

func (*Purpose) ContextValidate

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

ContextValidate validates this purpose based on context it is used

func (*Purpose) MarshalBinary

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

MarshalBinary interface implementation

func (*Purpose) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Purpose) Validate

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

Validate validates this purpose

type RedactionPolicy

type RedactionPolicy struct {

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

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

RedactionPolicy RedactionPolicy controls message redaction at the SMS provider level.

swagger:model RedactionPolicy

func (*RedactionPolicy) ContextValidate

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

ContextValidate validates this redaction policy based on context it is used

func (*RedactionPolicy) MarshalBinary

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

MarshalBinary interface implementation

func (*RedactionPolicy) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RedactionPolicy) Validate

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

Validate validates this redaction policy

type ScopeWithServicePublicResponse

type ScopeWithServicePublicResponse struct {

	// scope description
	// Example: This scope value requests offline access using refresh token
	ScopeDescription string `json:"scope_description,omitempty" yaml:"scope_description,omitempty"`

	// scope display name
	// Example: Offline access
	ScopeDisplayName string `json:"scope_display_name,omitempty" yaml:"scope_display_name,omitempty"`

	// scope id
	// Example: 1
	ScopeID string `json:"scope_id,omitempty" yaml:"scope_id,omitempty"`

	// scope name
	// Example: offline_access
	ScopeName string `json:"scope_name,omitempty" yaml:"scope_name,omitempty"`

	// service description
	// Example: service description
	ServiceDescription string `json:"service_description,omitempty" yaml:"service_description,omitempty"`

	// service id
	// Example: 1
	ServiceID string `json:"service_id,omitempty" yaml:"service_id,omitempty"`

	// service name
	// Example: service
	ServiceName string `json:"service_name,omitempty" yaml:"service_name,omitempty"`

	// is scope assigned to a service
	// Example: false
	WithService bool `json:"with_service,omitempty" yaml:"with_service,omitempty"`
}

ScopeWithServicePublicResponse scope with service public response

swagger:model ScopeWithServicePublicResponse

func (*ScopeWithServicePublicResponse) ContextValidate

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

ContextValidate validates this scope with service public response based on context it is used

func (*ScopeWithServicePublicResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ScopeWithServicePublicResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ScopeWithServicePublicResponse) Validate

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

Validate validates this scope with service public response

type TransientOTPRequest

type TransientOTPRequest struct {

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

	// mechanism
	// Example: email
	// Required: true
	// Enum: ["sms","email","voice"]
	Mechanism string `json:"mechanism" yaml:"mechanism"`

	// one-time password
	// Example: 111111
	Otp string `json:"otp,omitempty" yaml:"otp,omitempty"`

	// redaction
	Redaction *RedactionPolicy `json:"redaction,omitempty" yaml:"redaction,omitempty"`

	// Optional XSRF state
	// Example: c44sqtco4g2legl15m2g
	State string `json:"state,omitempty" yaml:"state,omitempty"`
}

TransientOTPRequest transient o t p request

swagger:model TransientOTPRequest

func (*TransientOTPRequest) ContextValidate

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

ContextValidate validate this transient o t p request based on the context it is used

func (*TransientOTPRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*TransientOTPRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*TransientOTPRequest) Validate

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

Validate validates this transient o t p request

type TransientOTPResponse

type TransientOTPResponse struct {

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

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

	// expires in
	// Format: duration
	ExpiresIn strfmt.Duration `json:"expires_in,omitempty" yaml:"expires_in,omitempty"`

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

	// mechanism
	// Example: email
	// Required: true
	// Enum: ["sms","email","voice"]
	Mechanism string `json:"mechanism" yaml:"mechanism"`

	// 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"`

	// verified
	Verified bool `json:"verified,omitempty" yaml:"verified,omitempty"`
}

TransientOTPResponse transient o t p response

swagger:model TransientOTPResponse

func (*TransientOTPResponse) ContextValidate

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

ContextValidate validates this transient o t p response based on context it is used

func (*TransientOTPResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*TransientOTPResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*TransientOTPResponse) Validate

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

Validate validates this transient o t p response

type UserApplication

type UserApplication struct {

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

	// logo uri
	LogoURI string `json:"logo_uri,omitempty" yaml:"logo_uri,omitempty"`

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

	// url
	URL string `json:"url,omitempty" yaml:"url,omitempty"`
}

UserApplication user application

swagger:model UserApplication

func (*UserApplication) ContextValidate

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

ContextValidate validates this user application based on context it is used

func (*UserApplication) MarshalBinary

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

MarshalBinary interface implementation

func (*UserApplication) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UserApplication) Validate

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

Validate validates this user application

type UserSession

type UserSession struct {

	// Time when the session was last used
	// Format: date-time
	ActiveTime strfmt.DateTime `json:"active_time,omitempty" yaml:"active_time,omitempty"`

	// time when user authenticated
	// Format: date-time
	AuthTime strfmt.DateTime `json:"auth_time,omitempty" yaml:"auth_time,omitempty"`

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

	// IP address of the user who created the session
	IPAddress string `json:"ip_address,omitempty" yaml:"ip_address,omitempty"`

	// Time when the session was issued
	// Format: date-time
	IssueTime strfmt.DateTime `json:"issue_time,omitempty" yaml:"issue_time,omitempty"`

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

	// User agent of the user who created the session
	UserAgent string `json:"user_agent,omitempty" yaml:"user_agent,omitempty"`
}

UserSession user session

swagger:model UserSession

func (*UserSession) ContextValidate

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

ContextValidate validates this user session based on context it is used

func (*UserSession) MarshalBinary

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

MarshalBinary interface implementation

func (*UserSession) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UserSession) Validate

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

Validate validates this user session

type WorkforceProvisioningStatus

type WorkforceProvisioningStatus string

WorkforceProvisioningStatus workforce provisioning status

swagger:model WorkforceProvisioningStatus

func (WorkforceProvisioningStatus) ContextValidate

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

ContextValidate validates this workforce provisioning status based on context it is used

func (WorkforceProvisioningStatus) Validate

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

Validate validates this workforce provisioning status

Jump to

Keyboard shortcuts

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