sshizzleagent

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2022 License: BSD-2-Clause Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrUnsupported = errors.New("action not supported by sshizzle-agent")

ErrUnsupported is a generic error to be returned when unsupported agent methods are called

Functions

func Authenticate

func Authenticate(token *oauth2.Token, config *oauth2.Config) (*oauth2.Token, error)

Authenticate takes an OAuth2 token and validates it. If invalid, it attempts to authenticate and renew

func NewSSHizzleAgent

func NewSSHizzleAgent(c *config.SSHizzleConfig) agent.Agent

NewSSHizzleAgent returns a new Agent with a signer and cert

Types

This section is empty.

Jump to

Keyboard shortcuts

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