Documentation ¶
Index ¶
- Constants
- type ClientDetails
- type ClientWithAccess
- type Consent
- type ConsentGrant
- type ConsentGrantContext
- type ConsentGrantPatch
- type ConsentGrantPatchRequest
- func (m *ConsentGrantPatchRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ConsentGrantPatchRequest) MarshalBinary() ([]byte, error)
- func (m *ConsentGrantPatchRequest) UnmarshalBinary(b []byte) error
- func (m *ConsentGrantPatchRequest) Validate(formats strfmt.Registry) error
- type ConsentGrantPatchResponse
- func (m *ConsentGrantPatchResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ConsentGrantPatchResponse) MarshalBinary() ([]byte, error)
- func (m *ConsentGrantPatchResponse) UnmarshalBinary(b []byte) error
- func (m *ConsentGrantPatchResponse) Validate(formats strfmt.Registry) error
- type ConsentGrantRequest
- type ConsentGrantedEvent
- type ConsentRevokedEvent
- type ConsentService
- type ConsentWithGrant
- type ConsentsWithGrants
- type Error
- type GrantedScope
- type ListClientsWithAccess
- type ListUserSessions
- type PIICategory
- type PrivacyLedgerEvent
- type PrivacyLedgerEventType
- type PrivacyLedgerEvents
- type PrivacyLedgerPayload
- type PublicEnvironment
- type Purpose
- type ScopeWithServicePublicResponse
- func (m *ScopeWithServicePublicResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ScopeWithServicePublicResponse) MarshalBinary() ([]byte, error)
- func (m *ScopeWithServicePublicResponse) UnmarshalBinary(b []byte) error
- func (m *ScopeWithServicePublicResponse) Validate(formats strfmt.Registry) error
- type TransientOTPRequest
- type TransientOTPResponse
- type UserSession
Constants ¶
const ( // TransientOTPRequestMechanismSms captures enum value "sms" TransientOTPRequestMechanismSms string = "sms" // TransientOTPRequestMechanismEmail captures enum value "email" TransientOTPRequestMechanismEmail string = "email" )
const ( // TransientOTPResponseMechanismSms captures enum value "sms" TransientOTPResponseMechanismSms string = "sms" // TransientOTPResponseMechanismEmail captures enum value "email" TransientOTPResponseMechanismEmail string = "email" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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 ¶
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
type ClientWithAccess ¶
type ClientWithAccess struct { // client Client *ClientDetails `json:"client,omitempty" yaml:"client,omitempty"` // Scopes granted to client GrantedScopes []*GrantedScope `json:"granted_scopes" yaml:"granted_scopes"` }
ClientWithAccess client with access
swagger:model ClientWithAccess
func (*ClientWithAccess) ContextValidate ¶
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
type Consent ¶
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 ¶
ContextValidate validate this consent based on the context it is used
func (*Consent) MarshalBinary ¶
MarshalBinary interface implementation
func (*Consent) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
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
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 ¶
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
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 ¶
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
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
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
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 ¶
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
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 ¶
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
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 ¶
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
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 ¶
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
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 ¶
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
type ConsentsWithGrants ¶
type ConsentsWithGrants struct { // list of consents Consents []*ConsentWithGrant `json:"consents" yaml:"consents"` }
ConsentsWithGrants consents with grants
swagger:model ConsentsWithGrants
func (*ConsentsWithGrants) ContextValidate ¶
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
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 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 ¶
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
type ListClientsWithAccess ¶
type ListClientsWithAccess struct { // clients Clients []*ClientWithAccess `json:"clients" yaml:"clients"` // scopes Scopes []*ScopeWithServicePublicResponse `json:"scopes" yaml:"scopes"` }
ListClientsWithAccess list clients with access
swagger:model ListClientsWithAccess
func (*ListClientsWithAccess) ContextValidate ¶
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
type ListUserSessions ¶
type ListUserSessions struct { // sessions Sessions []*UserSession `json:"sessions" yaml:"sessions"` }
ListUserSessions list user sessions
swagger:model ListUserSessions
func (*ListUserSessions) ContextValidate ¶
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
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 ¶
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
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 ¶
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
type PrivacyLedgerEventType ¶
type PrivacyLedgerEventType string
PrivacyLedgerEventType privacy ledger event type
swagger:model PrivacyLedgerEventType
func (PrivacyLedgerEventType) ContextValidate ¶
ContextValidate validates this privacy ledger event type based on context it is used
type PrivacyLedgerEvents ¶
type PrivacyLedgerEvents struct { // events Events []*PrivacyLedgerEvent `json:"events" yaml:"events"` }
PrivacyLedgerEvents privacy ledger events
swagger:model PrivacyLedgerEvents
func (*PrivacyLedgerEvents) ContextValidate ¶
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
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 ¶
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
type PublicEnvironment ¶
type PublicEnvironment struct { // If self-service is enabled SelfService bool `json:"self_service,omitempty" yaml:"self_service,omitempty"` }
PublicEnvironment public environment
swagger:model PublicEnvironment
func (*PublicEnvironment) ContextValidate ¶
ContextValidate validates this public environment based on 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
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 ¶
ContextValidate validates this purpose based on context it is used
func (*Purpose) MarshalBinary ¶
MarshalBinary interface implementation
func (*Purpose) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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
type TransientOTPRequest ¶
type TransientOTPRequest struct { // address // Example: 1235555609 // Required: true Address string `json:"address" yaml:"address"` // mechanism // Example: email // Required: true // Enum: [sms email] Mechanism string `json:"mechanism" yaml:"mechanism"` // one-time password // Example: 111111 Otp string `json:"otp,omitempty" yaml:"otp,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 ¶
ContextValidate validates this transient o t p request based on 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
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] 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 ¶
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
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 ¶
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
Source Files ¶
- client_details.go
- client_with_access.go
- consent.go
- consent_grant.go
- consent_grant_context.go
- consent_grant_patch.go
- consent_grant_patch_request.go
- consent_grant_patch_response.go
- consent_grant_request.go
- consent_granted_event.go
- consent_revoked_event.go
- consent_service.go
- consent_with_grant.go
- consents_with_grants.go
- error.go
- granted_scope.go
- list_clients_with_access.go
- list_user_sessions.go
- p_i_i_category.go
- privacy_ledger_event.go
- privacy_ledger_event_type.go
- privacy_ledger_events.go
- privacy_ledger_payload.go
- public_environment.go
- purpose.go
- scope_with_service_public_response.go
- transient_o_t_p_request.go
- transient_o_t_p_response.go
- user_session.go