types

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Applications

type Applications struct {
	auth.ApplicationList
}

func (*Applications) TableName

func (*Applications) TableName() string

type AuthCodeList

type AuthCodeList struct {
	auth.AuthCodeList
	Users        *Users        `gorm:"ForeignKey:UserID;references:ID;constraint:OnUpdate:RESTRICT,OnDelete:RESTRICT;" mapstructure:"-"`
	Applications *Applications `gorm:"ForeignKey:ApplicationID;references:ID;constraint:OnUpdate:RESTRICT,OnDelete:RESTRICT;" mapstructure:"-"`
}

func (*AuthCodeList) TableName

func (*AuthCodeList) TableName() string

type Logs

type Logs struct {
	auth.LogsList
	Users *Users `gorm:"ForeignKey:UserID;references:ID;constraint:OnUpdate:RESTRICT,OnDelete:RESTRICT;" mapstructure:"-"`
}

func (*Logs) Migrate

func (c *Logs) Migrate(db *gorm.DB) error

func (*Logs) TableName

func (*Logs) TableName() string

type Scopes

type Scopes struct {
	auth.ScopeList
}

func (*Scopes) TableName

func (*Scopes) TableName() string

type TokenData

type TokenData struct {
	TokenID              string `gorm:"column:token_id" mapstructure:"token_id"`
	ApplicationID        string `gorm:"column:application_id" mapstructure:"application_id"`
	ApplicationSecret    string `gorm:"column:application_secret" mapstructure:"application_secret"`
	ApplicationPublicKey string `gorm:"column:application_public_key" mapstructure:"application_public_key"`
	ApplicationAlg       int32  `gorm:"column:application_alg" mapstructure:"application_alg"`
	ApplicationDefault   bool   `gorm:"column:application_default" mapstructure:"application_default"`
	TokenIsValid         bool   `gorm:"column:token_valid" mapstructure:"token_valid"`
	UserID               string `gorm:"column:user_id" mapstructure:"user_id"`
	UserEmail            string `gorm:"column:user_email" mapstructure:"user_email"`
	UserUserName         string `gorm:"column:user_username" mapstructure:"user_username"`
	UserDefault          bool   `gorm:"column:user_default" mapstructure:"user_default"`
	UserSystem           bool   `gorm:"column:user_system" mapstructure:"user_system"`
	UserName             string `gorm:"column:user_name" mapstructure:"user_name"`
	UserUpdated          string `gorm:"column:user_updated" mapstructure:"user_updated"`
	UserCreated          string `gorm:"column:user_created" mapstructure:"user_created"`
}

type Tokens

type Tokens struct {
	auth.TokenList
	Users *Users `gorm:"ForeignKey:UserID;references:ID;constraint:OnUpdate:RESTRICT,OnDelete:RESTRICT;" mapstructure:"-"`
}

func (*Tokens) TableName

func (*Tokens) TableName() string

type UserListsApplications

type UserListsApplications struct {
	auth.UsersApplicationList
	Users        *Users        `gorm:"ForeignKey:UserID;references:ID;constraint:OnUpdate:RESTRICT,OnDelete:RESTRICT;" mapstructure:"-"`
	Applications *Applications `gorm:"ForeignKey:ApplicationID;references:ID;constraint:OnUpdate:RESTRICT,OnDelete:RESTRICT;" mapstructure:"-"`
}

func (*UserListsApplications) TableName

func (*UserListsApplications) TableName() string

type UserListsGroups

type UserListsGroups struct {
	auth.UsersListGroups
	Users       *Users       `gorm:"ForeignKey:UserID;references:ID;constraint:OnUpdate:RESTRICT,OnDelete:RESTRICT;" mapstructure:"-"`
	UsersGroups *UsersGroups `gorm:"ForeignKey:GroupID;references:ID;constraint:OnUpdate:RESTRICT,OnDelete:RESTRICT;" mapstructure:"-"`
}

func (*UserListsGroups) TableName

func (*UserListsGroups) TableName() string

type Users

type Users struct {
	auth.UsersList
}

func (*Users) TableName

func (*Users) TableName() string

type UsersGroupApplications

type UsersGroupApplications struct {
	auth.UsersGroupApplicationsList
	UsersGroups  *UsersGroups  `gorm:"ForeignKey:GroupID;references:ID;constraint:OnUpdate:RESTRICT,OnDelete:RESTRICT;" mapstructure:"-"`
	Applications *Applications `gorm:"ForeignKey:ApplicationID;references:ID;constraint:OnUpdate:RESTRICT,OnDelete:RESTRICT;" mapstructure:"-"`
}

func (*UsersGroupApplications) TableName

func (*UsersGroupApplications) TableName() string

type UsersGroupScopes

type UsersGroupScopes struct {
	auth.UsersGroupScopesList
	UsersGroups *UsersGroups `gorm:"ForeignKey:GroupID;references:ID;constraint:OnUpdate:RESTRICT,OnDelete:RESTRICT;" mapstructure:"-"`
	Scopes      *Scopes      `gorm:"ForeignKey:ScopeID;references:ID;constraint:OnUpdate:RESTRICT,OnDelete:RESTRICT;" mapstructure:"-"`
}

func (*UsersGroupScopes) TableName

func (*UsersGroupScopes) TableName() string

type UsersGroups

type UsersGroups struct {
	auth.UsersGroupList
}

func (*UsersGroups) Migrate

func (c *UsersGroups) Migrate(db *gorm.DB) error

func (*UsersGroups) TableName

func (*UsersGroups) TableName() string

Jump to

Keyboard shortcuts

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