schema

package
v0.0.0-...-ce03e45 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthCodeSchemaType

func AuthCodeSchemaType() string

func IDHook

func IDHook() ent.Hook

func PasswordSchemaType

func PasswordSchemaType() string

func TotpSecretSchemaType

func TotpSecretSchemaType() string

Types

type AuthCode

type AuthCode struct {
	ent.Schema
}

AuthCode holds the schema definition for the AuthCode entity.

func (AuthCode) Edges

func (AuthCode) Edges() []ent.Edge

Edges of the AuthCode.

func (AuthCode) Fields

func (AuthCode) Fields() []ent.Field

Fields of the AuthCode.

func (AuthCode) Indexes

func (AuthCode) Indexes() []ent.Index

Indexes of the AuthCode.

type BaseMixin

type BaseMixin struct {
	mixin.Schema
}

BaseMixin to be shared will all different schemas.

func (BaseMixin) Fields

func (BaseMixin) Fields() []ent.Field

Fields of the Mixin.

func (BaseMixin) Hooks

func (BaseMixin) Hooks() []ent.Hook

Hooks of the Mixin. https://entgo.io/docs/faq/#how-to-use-a-custom-generator-of-ids

type Consent struct {
	ent.Schema
}

Consent holds the schema definition for the Consent entity.

func (Consent) Edges

func (Consent) Edges() []ent.Edge

func (Consent) Fields

func (Consent) Fields() []ent.Field

Fields of the Consent.

func (Consent) Indexes

func (Consent) Indexes() []ent.Index

Indexes of the Consent

type RedirectURI

type RedirectURI struct {
	ent.Schema
}

RedirectURI holds the schema definition for the RedirectURI entity.

func (RedirectURI) Annotations

func (RedirectURI) Annotations() []schema.Annotation

Annotations of the RedirectURI.

func (RedirectURI) Edges

func (RedirectURI) Edges() []ent.Edge

Edges of the RedirectURI.

func (RedirectURI) Fields

func (RedirectURI) Fields() []ent.Field

Fields of the RedirectURI.

func (RedirectURI) Indexes

func (RedirectURI) Indexes() []ent.Index

Indexes of the RedirectURI.

type RelyingParty

type RelyingParty struct {
	ent.Schema
}

RelyingParty holds the schema definition for the RelyingParty entity.

func (RelyingParty) Edges

func (RelyingParty) Edges() []ent.Edge

Edges of the RelyingParty.

func (RelyingParty) Fields

func (RelyingParty) Fields() []ent.Field

Fields of the RelyingParty.

func (RelyingParty) Indexes

func (RelyingParty) Indexes() []ent.Index

type User

type User struct {
	ent.Schema
}

User holds the schema definition for the User entity.

func (User) Edges

func (User) Edges() []ent.Edge

Edges of the User.

func (User) Fields

func (User) Fields() []ent.Field

Fields of the User.

func (User) Mixin

func (User) Mixin() []ent.Mixin

Mixin of the User.

Jump to

Keyboard shortcuts

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