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
Click to show internal directories.
Click to hide internal directories.