Documentation ¶
Index ¶
- type ClientHandler
- type Handler
- type JWKHandler
- 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 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 Handler ¶
type Handler struct { Clients *ClientHandler Policies *PolicyHandler Keys *JWKHandler Warden *WardenHandler }
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 PolicyHandler ¶
type PolicyHandler struct { Config *config.Config M *policy.HTTPManager }
func (*PolicyHandler) AddActionToPolicy ¶
func (h *PolicyHandler) AddActionToPolicy(cmd *cobra.Command, args []string)
func (*PolicyHandler) AddResourceToPolicy ¶
func (h *PolicyHandler) AddResourceToPolicy(cmd *cobra.Command, args []string)
func (*PolicyHandler) AddSubjectToPolicy ¶
func (h *PolicyHandler) AddSubjectToPolicy(cmd *cobra.Command, args []string)
func (*PolicyHandler) CreatePolicy ¶
func (h *PolicyHandler) CreatePolicy(cmd *cobra.Command, args []string)
func (*PolicyHandler) DeletePolicy ¶
func (h *PolicyHandler) DeletePolicy(cmd *cobra.Command, args []string)
func (*PolicyHandler) GetPolicy ¶
func (h *PolicyHandler) GetPolicy(cmd *cobra.Command, args []string)
func (*PolicyHandler) RemoveActionFromPolicy ¶
func (h *PolicyHandler) RemoveActionFromPolicy(cmd *cobra.Command, args []string)
func (*PolicyHandler) RemoveResourceFromPolicy ¶
func (h *PolicyHandler) RemoveResourceFromPolicy(cmd *cobra.Command, args []string)
func (*PolicyHandler) RemoveSubjectFromPolicy ¶
func (h *PolicyHandler) RemoveSubjectFromPolicy(cmd *cobra.Command, args []string)
type WardenHandler ¶
type WardenHandler struct { Config *config.Config M *oauth2.HTTPIntrospector }
func (*WardenHandler) IsAuthorized ¶
func (h *WardenHandler) IsAuthorized(cmd *cobra.Command, args []string)
Click to show internal directories.
Click to hide internal directories.