user

package
v0.8.14 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2022 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,
	client *tenant.Client,
	connectionID string,
) (*connection.GetConnectionResponse, error)

func GetConnectionKeys added in v0.1.5

func GetConnectionKeys(ctx context.Context, client *tenant.Client, tok *auth0api.Token) error

Types

type GetCmd

type GetCmd struct {
	AccessToken      bool `xor:"group" help:"access token" group:"properties"`
	TenantID         bool `xor:"group" help:"tenant ID" group:"properties"`
	AuthorizerAPIKey bool `xor:"group" help:"authorizer API key" group:"properties"`
	DecisionLogsKey  bool `xor:"group" help:"decision logs key" group:"properties"`
	Token            bool `xor:"group" help:"token" hidden:"" group:"properties"`
}

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{}

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