plugin

package
v0.0.0-...-fe632b3 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// GoogleIAM is the name of the google IAM plugin.
	GoogleIAM = "GoogleIAM"

	// GoogleTokenExchange is the name of the google token exchange plugin.
	GoogleTokenExchange = "GoogleTokenExchange"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Plugin

type Plugin interface {
	ExchangeToken(context.Context, string, string) (string, time.Time, error)
}

Plugin provides common interfaces so that authentication providers could choose to implement their specific logic.

Directories

Path Synopsis
providers

Jump to

Keyboard shortcuts

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