base

package
v0.0.0-...-e016302 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SignonFlags []cli.Flag = []cli.Flag{
	cli.StringFlag{
		Name:  "dex-base-url",
		Value: "http://127.0.0.1:5556",
	},
	cli.UintFlag{
		Name:  "port, p",
		Value: 5555,
	},
	cli.StringFlag{
		Name:  "secret, s",
		Value: "example-app-secret",
	},
	cli.StringFlag{
		Name:  "state, t",
		Value: "example-state",
	},
	cli.BoolFlag{
		Name: "userinfo, u",
	},
	cli.BoolFlag{
		Name: "offline-access, o",
	},
	cli.StringSliceFlag{
		Name:  "scope",
		Value: &cli.StringSlice{"profile", "email"},
	},
	cli.StringFlag{
		Name:     "browser, b",
		Required: false,
	},
}
View Source
var VersionFlags []cli.Flag = []cli.Flag{
	cli.StringFlag{
		Name:  "grpc-url, g",
		Value: "127.0.0.1:5557",
		Usage: "gRPC host and port",
	},
}

Functions

func Signon

func Signon(c *cli.Context) error

func Version

func Version(c *cli.Context) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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