Help us shape the future of Go! Take the 2026 Go Developer Survey

identity

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2026 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 IdentityHooks

type IdentityHooks struct {
	AfterRegister func(ctx context.Context, tx pgx.Tx, userID string) error

	AfterLogin func(ctx context.Context, userID, sessionID string) error

	OnLoginFailed func(ctx context.Context, email, ipHash string) error

	AfterPasswordChange func(ctx context.Context, userID string) error
}

Directories

Path Synopsis
adapters

Jump to

Keyboard shortcuts

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