plugin

package
v0.0.0-...-1a56975 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// 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/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