token

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Log        *slog.Logger
	TokenStore tokenutil.TokenStore
	CertStore  certs.CertStore
	Repo       *repository.Store

	// provider tenant, other tenants which are tenant member with owner rights of this tenant can request admin-role-editor,
	// if they have editor or viewer rights, they can request admin-role-viewer.
	ProviderTenant string

	// Issuer to sign the JWT Token with
	Issuer string
}

type TokenService

type TokenService interface {
	apiv2connect.TokenServiceHandler
}

func New

func New(c Config) TokenService

Jump to

Keyboard shortcuts

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