Documentation ¶
Index ¶
- type DelApplPermCmd
- type DelApplPropCmd
- type DelApplRoleCmd
- type DelResCmd
- type DelUserAppCmd
- type DelUserPermCmd
- type DelUserPropCmd
- type DelUserRoleCmd
- type DeleteUsersCmd
- type GetApplPermsCmd
- type GetApplPropsCmd
- type GetApplRolesCmd
- type GetIdentityCmd
- type GetResCmd
- type GetUserCmd
- type GetUserPermsCmd
- type GetUserPropsCmd
- type GetUserRolesCmd
- type ListResCmd
- type ListUserAppsCmd
- type ListUsersCmd
- type LoadUserExtCmd
- type LoadUsersCmd
- type SetApplPermCmd
- type SetApplPropCmd
- type SetApplRoleCmd
- type SetResCmd
- type SetUserAppCmd
- type SetUserCmd
- type SetUserPermCmd
- type SetUserPropCmd
- type SetUserRoleCmd
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DelApplPermCmd ¶
type DelApplPropCmd ¶
type DelApplRoleCmd ¶
type DelResCmd ¶
type DelResCmd struct {
Key string `arg:"key" name:"key" required:"" help:"resource key"`
}
type DelUserAppCmd ¶
type DelUserPermCmd ¶
type DelUserPropCmd ¶
type DelUserRoleCmd ¶
type DeleteUsersCmd ¶ added in v0.1.7
type DeleteUsersCmd struct { }
type GetApplPermsCmd ¶
type GetApplPropsCmd ¶
type GetApplRolesCmd ¶
type GetIdentityCmd ¶
type GetIdentityCmd struct {
Identity string `arg:"" name:"identity" required:"" help:"User identity"`
}
type GetResCmd ¶
type GetResCmd struct {
Key string `arg:"key" name:"key" required:"" help:"resource key"`
}
type GetUserCmd ¶
type GetUserPermsCmd ¶
type GetUserPermsCmd struct {
UserID string `arg:"id" name:"id" required:"" help:"user id or identifier"`
}
type GetUserPropsCmd ¶
type GetUserPropsCmd struct {
UserID string `arg:"id" name:"id" required:"" help:"user id or identifier"`
}
type GetUserRolesCmd ¶
type GetUserRolesCmd struct {
UserID string `arg:"id" name:"id" required:"" help:"user id or identifier"`
}
type ListResCmd ¶
type ListResCmd struct{}
type ListUserAppsCmd ¶
type ListUserAppsCmd struct {
UserID string `arg:"id" name:"id" required:"" help:"user id or identifier"`
}
type ListUsersCmd ¶
type ListUsersCmd struct {
Base bool `name:"base" optional:"" help:"return base user object (without extensions)"`
}
type LoadUserExtCmd ¶ added in v0.1.10
type LoadUsersCmd ¶
type LoadUsersCmd struct { Provider string `required:"" help:"load users provider (json | auth0)" enum:"json,auth0"` Profile string `optional:"" type:"existingfile" help:"provider profile file (.env)"` File string `optional:"" type:"existingfile" help:"input file (.json)"` InclUserExt bool `optional:"" help:"include user extensions (attributes & applications) in the base user object"` }
TODO : make using IDP connection explicit
type SetApplPermCmd ¶
type SetApplPropCmd ¶
type SetApplPropCmd struct { UserID string `arg:"id" name:"id" required:"" help:"user id or identifier"` AppName string `arg:"name" name:"name" required:"" help:"application name"` Key string `arg:"key" name:"key" required:"" help:"property key"` Value string `optional:"" help:"set property using string value"` Stdin bool `optional:"" name:"stdin" help:"set property using from --stdin"` File string `optional:"" type:"existingfile" help:"set property using file content"` }
type SetApplRoleCmd ¶
type SetResCmd ¶
type SetResCmd struct { Key string `arg:"key" name:"key" required:"" help:"resource key"` Value string `optional:"" help:"set resource using string value"` Stdin bool `optional:"" name:"stdin" help:"set resource using from --stdin"` File string `optional:"" type:"existingfile" help:"set resource using file content"` }
type SetUserAppCmd ¶
type SetUserCmd ¶ added in v0.1.7
type SetUserPermCmd ¶
type SetUserPropCmd ¶
type SetUserPropCmd struct { UserID string `arg:"id" name:"id" required:"" help:"user id or identifier"` Key string `arg:"key" name:"key" required:"" help:"property key"` Value string `optional:"" help:"set property using string value"` Stdin bool `optional:"" name:"stdin" help:"set property using from --stdin"` File string `optional:"" type:"existingfile" help:"set property using file content"` }
type SetUserRoleCmd ¶
Click to show internal directories.
Click to hide internal directories.