api

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2025 License: Apache-2.0 Imports: 2 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TokenSource

type TokenSource interface {
	// IssueToken receives the minimum duration it should be active for. If
	// force is true, skip any token caches available.
	//
	// Returns a token used as a "Bearer token".
	IssueToken(ctx context.Context, minDuration time.Duration, force bool) (string, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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