user

package
v0.32.6 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2024 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConnection added in v0.8.0

func GetConnection(
	ctx context.Context,
	tc *tenant.Client,
	connectionID string,
) (*connection.GetConnectionResponse, error)

func GetConnectionKeys added in v0.1.5

func GetConnectionKeys(ctx context.Context, tc *tenant.Client, token *auth0.Token) error

func SwitchKeyRing added in v0.32.2

func SwitchKeyRing(c *cc.CommonCtx, token *api.Token, tenantID string) error

func UpdateKeyRing added in v0.32.2

func UpdateKeyRing(c *cc.CommonCtx, token *api.Token) error

Types

type GetCmd

type GetCmd struct {
	Property string `kong:"-"`
}

func (*GetCmd) BeforeApply added in v0.20.7

func (cmd *GetCmd) BeforeApply(k *kong.Kong, c *kong.Context) error

func (*GetCmd) Run

func (cmd *GetCmd) Run(c *cc.CommonCtx) error

type Info

type Info struct {
	Sub           string `json:"sub"`
	NickName      string `json:"nickname"`
	Name          string `json:"name"`
	Picture       string `json:"picture"`
	UpdatedAt     string `json:"updated_at"`
	Email         string `json:"email"`
	EmailVerified bool   `json:"email_verified"`
}

type InfoCmd

type InfoCmd struct{}

func (*InfoCmd) Run

func (cmd *InfoCmd) Run(c *cc.CommonCtx) error

type LoginCmd

type LoginCmd struct {
	Browser bool `flag:"browser" negatable:"" default:"true" help:"do not open browser"`
}

func (*LoginCmd) Run

func (d *LoginCmd) Run(c *cc.CommonCtx) error

type LogoutCmd

type LogoutCmd struct {
}

func (*LogoutCmd) Run

func (cmd *LogoutCmd) Run(c *cc.CommonCtx) error

Jump to

Keyboard shortcuts

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