plugin

package
v0.0.0-...-edfa39e Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2019 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
google
Package iamclient is for IAM integration.
Package iamclient is for IAM integration.
google/stsclient
Package stsclient is for oauth token exchange integration.
Package stsclient is for oauth token exchange integration.

Jump to

Keyboard shortcuts

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