oauth2

package
v0.0.0-...-da44ce9 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SpiffeTokenSource

func SpiffeTokenSource(config *Config) stdoauth2.TokenSource

Types

type Config

type Config struct {
	SpiffeSocketPath string
	Audience         string
	ServiceAccount   string
	Scope            string
}

func DefaultConfig

func DefaultConfig(serviceAccount string, audience string) *Config

Jump to

Keyboard shortcuts

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