oidc

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2026 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

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

Manager handles oidc-related operations.

func New

func New(opts Opts, setting settingsStore) (*Manager, error)

New creates and returns a new instance of the oidc Manager.

func (*Manager) Create

func (o *Manager) Create(oidc models.OIDC) (models.OIDC, error)

Create adds a new oidc.

func (*Manager) Delete

func (o *Manager) Delete(id int) error

Delete deletes a oidc by its id.

func (*Manager) Get

func (o *Manager) Get(id int) (models.OIDC, error)

Get returns an oidc by id.

func (*Manager) GetAll

func (o *Manager) GetAll() ([]models.OIDC, error)

GetAll retrieves all oidc.

func (*Manager) Update

func (o *Manager) Update(id int, oidc models.OIDC) (models.OIDC, error)

Update updates a oidc by id.

type Opts

type Opts struct {
	DB            *sqlx.DB
	Lo            *logf.Logger
	I18n          *i18n.I18n
	EncryptionKey string
}

Opts contains options for initializing the Manager.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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