auth

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2023 License: MIT Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Credential

type Credential interface {
	Token(ctx context.Context) (Token, error)
}

Credential is the interface that wraps around method Token.

type Token

type Token struct {
	AccessToken string
	ExpiresOn   time.Time
}

Token contains the access token and when it expires.

Jump to

Keyboard shortcuts

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