integratedprovider

package
v0.0.0-...-bd7e1e1 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2026 License: AGPL-3.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const AddUserQuery = `INSERT INTO users (principal, username, realm, extra_data) VALUES (?, ?, ?, ?);`
View Source
const DeleteUserQuery = `DELETE FROM users WHERE principal = ?;`
View Source
const GetExtraDataQuery = `SELECT extra_data FROM users WHERE principal = ?;`
View Source
const GetUserQuery = `SELECT username, realm, extra_data FROM users WHERE principal = ?;`
View Source
const ListUsersQuery = `SELECT principal FROM users;`
View Source
const SetupTables = `` /* 216-byte string literal not displayed */
View Source
const UpdateUserQuery = `UPDATE users SET username = ?, realm = ?, extra_data = ? WHERE principal = ?;`

Variables

This section is empty.

Functions

Types

type LocalProvider

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

func (*LocalProvider) Authenticate

func (p *LocalProvider) Authenticate(ctx context.Context) (string, error)

func (*LocalProvider) Authorize

func (p *LocalProvider) Authorize(ctx context.Context, method string) (context.Context, error)

func (*LocalProvider) InitNewDB

func (p *LocalProvider) InitNewDB() error

func (*LocalProvider) String

func (p *LocalProvider) String() string

Jump to

Keyboard shortcuts

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