Documentation
¶
Index ¶
- type ClientHandler
- type GroupHandler
- func (h *GroupHandler) AddMembers(cmd *cobra.Command, args []string)
- func (h *GroupHandler) CreateGroup(cmd *cobra.Command, args []string)
- func (h *GroupHandler) DeleteGroup(cmd *cobra.Command, args []string)
- func (h *GroupHandler) FindGroups(cmd *cobra.Command, args []string)
- func (h *GroupHandler) RemoveMembers(cmd *cobra.Command, args []string)
- type Handler
- type JWKHandler
- type MigrateHandler
- type PolicyHandler
- func (h *PolicyHandler) AddActionToPolicy(cmd *cobra.Command, args []string)
- func (h *PolicyHandler) AddResourceToPolicy(cmd *cobra.Command, args []string)
- func (h *PolicyHandler) AddSubjectToPolicy(cmd *cobra.Command, args []string)
- func (h *PolicyHandler) CreatePolicy(cmd *cobra.Command, args []string)
- func (h *PolicyHandler) DeletePolicy(cmd *cobra.Command, args []string)
- func (h *PolicyHandler) GetPolicy(cmd *cobra.Command, args []string)
- func (h *PolicyHandler) RemoveActionFromPolicy(cmd *cobra.Command, args []string)
- func (h *PolicyHandler) RemoveResourceFromPolicy(cmd *cobra.Command, args []string)
- func (h *PolicyHandler) RemoveSubjectFromPolicy(cmd *cobra.Command, args []string)
- type RevocationHandler
- type WardenHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientHandler ¶
type ClientHandler struct { Config *config.Config M *client.HTTPManager }
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) ImportClients ¶
func (h *ClientHandler) ImportClients(cmd *cobra.Command, args []string)
type GroupHandler ¶ added in v0.7.0
type GroupHandler struct { Config *config.Config M *group.HTTPManager }
func (*GroupHandler) AddMembers ¶ added in v0.7.0
func (h *GroupHandler) AddMembers(cmd *cobra.Command, args []string)
func (*GroupHandler) CreateGroup ¶ added in v0.7.0
func (h *GroupHandler) CreateGroup(cmd *cobra.Command, args []string)
func (*GroupHandler) DeleteGroup ¶ added in v0.7.0
func (h *GroupHandler) DeleteGroup(cmd *cobra.Command, args []string)
func (*GroupHandler) FindGroups ¶ added in v0.7.0
func (h *GroupHandler) FindGroups(cmd *cobra.Command, args []string)
func (*GroupHandler) RemoveMembers ¶ added in v0.7.0
func (h *GroupHandler) RemoveMembers(cmd *cobra.Command, args []string)
type Handler ¶
type Handler struct { Clients *ClientHandler Policies *PolicyHandler Keys *JWKHandler Warden *WardenHandler Revocation *RevocationHandler Groups *GroupHandler Migration *MigrateHandler }
func NewHandler ¶
type JWKHandler ¶
type JWKHandler struct { Config *config.Config M *jwk.HTTPManager }
func (*JWKHandler) CreateKeys ¶
func (h *JWKHandler) CreateKeys(cmd *cobra.Command, args []string)
func (*JWKHandler) DeleteKeys ¶
func (h *JWKHandler) DeleteKeys(cmd *cobra.Command, args []string)
type MigrateHandler ¶
type MigrateHandler struct { M *jwk.HTTPManager // contains filtered or unexported fields }
func (*MigrateHandler) MigrateLadon050To060 ¶ added in v0.8.0
func (h *MigrateHandler) MigrateLadon050To060(cmd *cobra.Command, args []string)
func (*MigrateHandler) MigrateSQL ¶
func (h *MigrateHandler) MigrateSQL(cmd *cobra.Command, args []string)
type PolicyHandler ¶ added in v0.2.0
type PolicyHandler struct { Config *config.Config M *policy.HTTPManager }
func (*PolicyHandler) AddActionToPolicy ¶ added in v0.2.0
func (h *PolicyHandler) AddActionToPolicy(cmd *cobra.Command, args []string)
func (*PolicyHandler) AddResourceToPolicy ¶ added in v0.2.0
func (h *PolicyHandler) AddResourceToPolicy(cmd *cobra.Command, args []string)
func (*PolicyHandler) AddSubjectToPolicy ¶ added in v0.2.0
func (h *PolicyHandler) AddSubjectToPolicy(cmd *cobra.Command, args []string)
func (*PolicyHandler) CreatePolicy ¶ added in v0.2.0
func (h *PolicyHandler) CreatePolicy(cmd *cobra.Command, args []string)
func (*PolicyHandler) DeletePolicy ¶ added in v0.2.0
func (h *PolicyHandler) DeletePolicy(cmd *cobra.Command, args []string)
func (*PolicyHandler) GetPolicy ¶ added in v0.2.0
func (h *PolicyHandler) GetPolicy(cmd *cobra.Command, args []string)
func (*PolicyHandler) RemoveActionFromPolicy ¶ added in v0.2.0
func (h *PolicyHandler) RemoveActionFromPolicy(cmd *cobra.Command, args []string)
func (*PolicyHandler) RemoveResourceFromPolicy ¶ added in v0.2.0
func (h *PolicyHandler) RemoveResourceFromPolicy(cmd *cobra.Command, args []string)
func (*PolicyHandler) RemoveSubjectFromPolicy ¶ added in v0.2.0
func (h *PolicyHandler) RemoveSubjectFromPolicy(cmd *cobra.Command, args []string)
type RevocationHandler ¶ added in v0.6.4
type RevocationHandler struct { Config *config.Config M *oauth2.HTTPRecovator }
func (*RevocationHandler) RevokeToken ¶ added in v0.6.4
func (h *RevocationHandler) RevokeToken(cmd *cobra.Command, args []string)
type WardenHandler ¶ added in v0.2.0
type WardenHandler struct { Config *config.Config M *oauth2.HTTPIntrospector }
func (*WardenHandler) IsAuthorized ¶ added in v0.2.0
func (h *WardenHandler) IsAuthorized(cmd *cobra.Command, args []string)
Click to show internal directories.
Click to hide internal directories.