auth

package
v1.0.0-cli.0...-3213c14 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2026 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OIDC

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

func NewOIDC

func NewOIDC(
	logger *slog.Logger,
	state *state.Data,
	clientID string,
	issuerEndpoint string,
	scopes []string,

) *OIDC

func (OIDC) AccessToken

func (svc OIDC) AccessToken(ctx context.Context) (string, error)

type Service

type Service interface {
	AccessToken(ctx context.Context) (string, error)
}

Jump to

Keyboard shortcuts

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