cli

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CLI

type CLI interface {
	PerformChallenge() (*api.TokenFerry, error)
}

type OutputTarget

type OutputTarget struct {
	Filename flags.Filename `short:"o" long:"output-file" description:"Output file to write (defaults to STDOUT if omitted)"`
}

func (*OutputTarget) Write

func (target *OutputTarget) Write(write func(io.Writer) error) error

func (*OutputTarget) WriteBytes

func (target *OutputTarget) WriteBytes(bytes []byte) error

type TokenFerryCmd added in v0.1.0

type TokenFerryCmd struct {
	OIDCConfig oidc.Config `group:"OpenID Connect Options"`
	NoOpenURL  bool        `long:"no-open-url" description:"Don't open the redirect URL in a browser automatically"`
}

func (*TokenFerryCmd) PerformChallenge added in v0.1.0

func (cmd *TokenFerryCmd) PerformChallenge() (*api.TokenFerry, error)

Jump to

Keyboard shortcuts

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