users

package
v0.0.0-...-5e85e46 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2023 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var OPENSTACK_DRIVER_URL string
View Source
var SECRET string

Functions

func Init

func Init(app *pocketbase.PocketBase, secret string)

func UserBeforeCreate

func UserBeforeCreate(e *core.UserCreateEvent) error

func UserBeforeDelete

func UserBeforeDelete(e *core.UserDeleteEvent) error

func UserBeforePasswordReset

func UserBeforePasswordReset(e *core.ModelEvent) error

func UserBeforeUpdate

func UserBeforeUpdate(e *core.UserUpdateEvent) error

Types

type OS_User_Create

type OS_User_Create struct {
	Email       string `json:"email"`
	PassworHash string `json:"password_hash"`
}

type OS_User_Delete

type OS_User_Delete struct {
	Email string `json:"email"`
}

type OS_User_Update

type OS_User_Update struct {
	OldEmail     string `json:"old_email"`
	NewEmail     string `json:"new_email"`
	PasswordHash string `json:"password_hash"`
}

Jump to

Keyboard shortcuts

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