cli

package
v1.11.10 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2022 License: Apache-2.0 Imports: 34 Imported by: 34

Documentation

Index

Constants

View Source
const (
	Limit                  = "limit"
	BatchSize              = "batch-size"
	KeepIfYounger          = "keep-if-younger"
	AccessLifespan         = "access-lifespan"
	RefreshLifespan        = "refresh-lifespan"
	ConsentRequestLifespan = "consent-request-lifespan"
	OnlyTokens             = "tokens"
	OnlyRequests           = "requests"
	OnlyGrants             = "grants"
	ReadFromEnv            = "read-from-env"
	Config                 = "config"
)

Variables

This section is empty.

Functions

func Remote

func Remote(cmd *cobra.Command) string

func RemoteURI

func RemoteURI(cmd *cobra.Command) *url.URL

Types

type ClientHandler

type ClientHandler struct{}

func (*ClientHandler) CreateClient

func (h *ClientHandler) CreateClient(cmd *cobra.Command, args []string)

func (*ClientHandler) DeleteClient

func (h *ClientHandler) DeleteClient(cmd *cobra.Command, args []string)

func (*ClientHandler) GetClient

func (h *ClientHandler) GetClient(cmd *cobra.Command, args []string)

func (*ClientHandler) ImportClients

func (h *ClientHandler) ImportClients(cmd *cobra.Command, args []string)

func (*ClientHandler) ListClients

func (h *ClientHandler) ListClients(cmd *cobra.Command, args []string)

func (*ClientHandler) UpdateClient added in v1.8.0

func (h *ClientHandler) UpdateClient(cmd *cobra.Command, args []string)

type Handler

type Handler struct {
	Clients       *ClientHandler
	Keys          *JWKHandler
	Introspection *IntrospectionHandler
	Token         *TokenHandler
	Migration     *MigrateHandler
	Janitor       *JanitorHandler
}

func NewHandler

func NewHandler() *Handler

type IntrospectionHandler

type IntrospectionHandler struct{}

func (*IntrospectionHandler) Introspect

func (h *IntrospectionHandler) Introspect(cmd *cobra.Command, args []string)

type JWKHandler

type JWKHandler struct{}

func (*JWKHandler) CreateKeys

func (h *JWKHandler) CreateKeys(cmd *cobra.Command, args []string)

func (*JWKHandler) DeleteKeys

func (h *JWKHandler) DeleteKeys(cmd *cobra.Command, args []string)

func (*JWKHandler) GetKeys

func (h *JWKHandler) GetKeys(cmd *cobra.Command, args []string)

func (*JWKHandler) ImportKeys

func (h *JWKHandler) ImportKeys(cmd *cobra.Command, args []string)

type JanitorHandler added in v1.10.0

type JanitorHandler struct{}

func NewJanitorHandler added in v1.10.0

func NewJanitorHandler() *JanitorHandler

func (*JanitorHandler) Args added in v1.10.0

func (_ *JanitorHandler) Args(cmd *cobra.Command, args []string) error

func (*JanitorHandler) RunE added in v1.10.0

func (_ *JanitorHandler) RunE(cmd *cobra.Command, args []string) error

type MigrateHandler

type MigrateHandler struct{}

func (*MigrateHandler) MigrateSQL

func (h *MigrateHandler) MigrateSQL(cmd *cobra.Command, args []string)

type TokenHandler

type TokenHandler struct{}

func (*TokenHandler) DeleteToken added in v1.8.0

func (h *TokenHandler) DeleteToken(cmd *cobra.Command, args []string)

func (*TokenHandler) FlushTokens

func (h *TokenHandler) FlushTokens(cmd *cobra.Command, args []string)

func (*TokenHandler) RevokeToken

func (h *TokenHandler) RevokeToken(cmd *cobra.Command, args []string)

Jump to

Keyboard shortcuts

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