pkce

package
v0.5.18 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KeyRingServiceUser = "flytectl-user"
	KeyRingServiceName = "flytectl"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type TokenCacheKeyringProvider

type TokenCacheKeyringProvider struct {
	ServiceName string
	ServiceUser string
}

TokenCacheKeyringProvider wraps the logic to save and retrieve tokens from the OS's keyring implementation.

func (TokenCacheKeyringProvider) GetToken

func (t TokenCacheKeyringProvider) GetToken() (*oauth2.Token, error)

func (TokenCacheKeyringProvider) SaveToken

func (t TokenCacheKeyringProvider) SaveToken(token *oauth2.Token) error

Jump to

Keyboard shortcuts

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