authmethod

package
v0.0.0-...-58a6fb1 Latest Latest
Warning

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

Go to latest
Published: May 16, 2022 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type YubikeyAuth

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

func NewYubikeyAuth

func NewYubikeyAuth(yk piv.YubiKey) (*YubikeyAuth, error)

NewYubikeyAuth initializes a new Yubikey auth method interface to be passed as a parameter to the client.Auth().Login method.

func (*YubikeyAuth) Login

func (a *YubikeyAuth) Login(ctx context.Context, client *api.Client) (*api.Secret, error)

Jump to

Keyboard shortcuts

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