auth

package
v0.1.39 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthStore

type AuthStore struct {
	// contains filtered or unexported fields
}

func NewAuthStore

func NewAuthStore(db *sqlx.DB) *AuthStore

func (*AuthStore) CreateToken

func (s *AuthStore) CreateToken() (string, error)

func (*AuthStore) GetOrCreateToken

func (s *AuthStore) GetOrCreateToken() (string, error)

func (*AuthStore) ValidateToken

func (s *AuthStore) ValidateToken(token string) (bool, error)

Jump to

Keyboard shortcuts

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