Documentation ¶
Index ¶
- type Invitation
- func (i Invitation) Create(db sqlx.DB, invite authapi.Invitation) error
- func (i Invitation) CreateUser(db sqlx.DB, profile authapi.Profile, invite authapi.Invitation) error
- func (i Invitation) Delete(db sqlx.DB, email string, orgID int) error
- func (i Invitation) List(db sqlx.DB, orgID int, includeExpired bool, includeUsed bool) ([]authapi.Invitation, error)
- func (i Invitation) View(db sqlx.DB, tokenHash string) (authapi.Invitation, error)
- func (i Invitation) ViewByEmail(db sqlx.DB, email string, orgID int) (authapi.Invitation, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Invitation ¶
type Invitation struct { }
func (Invitation) Create ¶
func (i Invitation) Create(db sqlx.DB, invite authapi.Invitation) error
func (Invitation) CreateUser ¶
func (i Invitation) CreateUser(db sqlx.DB, profile authapi.Profile, invite authapi.Invitation) error
func (Invitation) List ¶
func (i Invitation) List(db sqlx.DB, orgID int, includeExpired bool, includeUsed bool) ([]authapi.Invitation, error)
func (Invitation) View ¶
func (i Invitation) View(db sqlx.DB, tokenHash string) (authapi.Invitation, error)
func (Invitation) ViewByEmail ¶
func (i Invitation) ViewByEmail(db sqlx.DB, email string, orgID int) (authapi.Invitation, error)
Click to show internal directories.
Click to hide internal directories.