oidcsql

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Repository

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

func NewRepository

func NewRepository(db *pgxpool.Pool) *Repository

func (*Repository) Create

func (r *Repository) Create(ctx context.Context, tenantID string, provider oidc.Provider) error

func (*Repository) Delete

func (r *Repository) Delete(ctx context.Context, tenantID string, provider oidc.Provider) error

func (*Repository) Get added in v0.1.0

func (r *Repository) Get(ctx context.Context, issuerURL string) (oidc.Provider, error)

func (*Repository) GetForTenant

func (r *Repository) GetForTenant(ctx context.Context, tenantID string) (oidc.Provider, error)

func (*Repository) Update

func (r *Repository) Update(ctx context.Context, tenantID string, provider oidc.Provider) error

Jump to

Keyboard shortcuts

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