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.

Source Files

Directories

Path Synopsis
providers/google Package iamclient is for IAM integration.
providers/google/stsclient Package stsclient is for oauth token exchange integration.
providers/google/stsclient/test