stsclient

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: 11 Imported by: 0

Documentation

Overview

Package stsclient is for oauth token exchange integration.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPlugin

func NewPlugin() plugin.Plugin

NewPlugin returns an instance of secure token service client plugin

Types

type Plugin

type Plugin struct {
	// contains filtered or unexported fields
}

Plugin for google securetoken api interaction.

func (Plugin) ExchangeToken

func (p Plugin) ExchangeToken(ctx context.Context, trustDomain, k8sSAjwt string) (
	string, time.Time, error)

ExchangeToken exchange oauth access token from trusted domain and k8s sa jwt.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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