dto

package
v2.3.7+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2020 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Authorization

type Authorization struct {
	RealmID         *string `json:"realm_id"`
	GroupName       *string `json:"group_id"`
	Action          *string `json:"action"`
	TargetRealmID   *string `json:"target_realm_id,omitempty"`
	TargetGroupName *string `json:"target_group_name,omitempty"`
}

Authorization struct

type DBUser

type DBUser struct {
	UserID               *string        `json:"-"`
	BirthLocation        *string        `json:"birth_location,omitempty"`
	IDDocumentType       *string        `json:"id_document_typ,omitempty"`
	IDDocumentNumber     *string        `json:"id_document_num,omitempty"`
	IDDocumentExpiration *string        `json:"id_document_exp,omitempty"`
	Validations          []DBValidation `json:"validations,omitempty"`
}

DBUser struct

func (*DBUser) LastValidation

func (u *DBUser) LastValidation() *string

LastValidation gives the date of the last validation (if any)

type DBValidation

type DBValidation struct {
	Date         *time.Time `json:"date"`
	OperatorName *string    `json:"operator_name"`
	Comment      *string    `json:"comment,omitempty"`
}

DBValidation struct

type RealmConfiguration

type RealmConfiguration struct {
	DefaultClientID                     *string   `json:"default_client_id,omitempty"`
	DefaultRedirectURI                  *string   `json:"default_redirect_uri,omitempty"`
	APISelfAuthenticatorDeletionEnabled *bool     `json:"api_self_authenticator_deletion_enabled,omitempty"`
	APISelfPasswordChangeEnabled        *bool     `json:"api_self_password_change_enabled,omitempty"`
	APISelfMailEditingEnabled           *bool     `json:"api_self_mail_editing_enabled,omitempty"`
	APISelfAccountDeletionEnabled       *bool     `json:"api_self_account_deletion_enabled,omitempty"`
	ShowAuthenticatorsTab               *bool     `json:"show_authenticators_tab,omitempty"`
	ShowPasswordTab                     *bool     `json:"show_password_tab,omitempty"`
	ShowMailEditing                     *bool     `json:"show_mail_editing,omitempty"`
	ShowAccountDeletionButton           *bool     `json:"show_account_deletion_button,omitempty"`
	RegisterExecuteActions              *[]string `json:"register_execute_actions,omitempty"`
	RedirectCancelledRegistrationURL    *string   `json:"redirect_cancelled_registration_url,omitempty"`
	RedirectSuccessfulRegistrationURL   *string   `json:"redirect_successful_registration_url,omitempty"`
}

RealmConfiguration struct

Jump to

Keyboard shortcuts

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