commands

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2021 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Parse

func Parse()

Parse parses the command line options and calls the specified command

Types

type CommonSTOptions

type CommonSTOptions struct {
	TransferCode string `long:"TC" description:"Use the passed transfer code to exchange it into a super token"`
	OIDCFlow     string `` /* 172-byte string literal not displayed */

	Capabilities         []string `long:"capability" default:"default" description:"Request the passed capabilities. Can be used multiple times"`
	SubtokenCapabilities []string `long:"subtoken-capability" description:"Request the passed subtoken capabilities. Can be used multiple times"`
	Restrictions         string   `` /* 184-byte string literal not displayed */

	RestrictScopes      []string `` /* 180-byte string literal not displayed */
	RestrictAudiences   []string `` /* 171-byte string literal not displayed */
	RestrictExp         string   `` /* 245-byte string literal not displayed */
	RestrictNbf         string   `` /* 246-byte string literal not displayed */
	RestrictIP          []string `` /* 167-byte string literal not displayed */
	RestrictGeoIPWhite  []string `` /* 177-byte string literal not displayed */
	RestrictGeoIPBlack  []string `` /* 175-byte string literal not displayed */
	RestrictUsagesOther *int64   `` /* 130-byte string literal not displayed */
	RestrictUsagesAT    *int64   `long:"usages-at" description:"Restrict how often the supertoken can be used for requesting an access token."`
	// contains filtered or unexported fields
}

func (*CommonSTOptions) Check

func (g *CommonSTOptions) Check() (*model.Provider, string)

Jump to

Keyboard shortcuts

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