oidcauth

package
v0.22.14 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Claims

type Claims struct {
	Subject string
	// All holds every claim in the verified token payload, so callers can read
	// provider-specific profile claims without this package knowing their names.
	All map[string]any
}

type Verifier

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

func NewVerifier

func NewVerifier(ctx context.Context, issuer, clientID string) (*Verifier, error)

func (*Verifier) UserinfoEndpoint

func (v *Verifier) UserinfoEndpoint() string

func (*Verifier) Verify

func (v *Verifier) Verify(ctx context.Context, accessToken string) (Claims, error)

Jump to

Keyboard shortcuts

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