authplugin

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Factory

func Factory(ctx context.Context, conf *logical.BackendConfig) (logical.Backend, error)

Factory configures and returns Mock backends

Types

type ChallengeEntry

type ChallengeEntry struct {
	Challenge     string
	YubikeySerial string
	Timestamp     int64
}

func NewChallengeEntry

func NewChallengeEntry(serial string) (*ChallengeEntry, error)

func (*ChallengeEntry) Bytes

func (ce *ChallengeEntry) Bytes() ([]byte, error)

func (*ChallengeEntry) ID

func (ce *ChallengeEntry) ID() (string, error)

func (*ChallengeEntry) Path

func (ce *ChallengeEntry) Path() (string, error)

type YubikeyEntry

type YubikeyEntry struct {
	tokenutil.TokenParams

	PublicKey string
}

Jump to

Keyboard shortcuts

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