exchangetoken

package
v0.83.15 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 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