Help us shape the future of Go! Take the 2026 Go Developer Survey

exchangetoken

package
v0.112.13 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExchangeTokenClient

type ExchangeTokenClient interface {
	ValidateExchangeToken(ctx context.Context, token string) (tenantId, userId *uuid.UUID, err error)
}

func NewExchangeTokenClient

func NewExchangeTokenClient(publicJWTHandle *keyset.Handle, opts *ExchangeTokenOpts) (ExchangeTokenClient, error)

type ExchangeTokenOpts

type ExchangeTokenOpts struct {
	Issuer   string
	Audience string
}

Jump to

Keyboard shortcuts

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