Documentation ¶
Index ¶
- Constants
- func Remote(cmd *cobra.Command) string
- func RemoteURI(cmd *cobra.Command) *url.URL
- type ClientHandler
- func (h *ClientHandler) CreateClient(cmd *cobra.Command, args []string)
- func (h *ClientHandler) DeleteClient(cmd *cobra.Command, args []string)
- func (h *ClientHandler) GetClient(cmd *cobra.Command, args []string)
- func (h *ClientHandler) ImportClients(cmd *cobra.Command, args []string)
- func (h *ClientHandler) ListClients(cmd *cobra.Command, args []string)
- func (h *ClientHandler) UpdateClient(cmd *cobra.Command, args []string)
- type Handler
- type IntrospectionHandler
- type JWKHandler
- type JanitorHandler
- type MigrateHandler
- type TokenHandler
Constants ¶
View Source
const ( Limit = "limit" BatchSize = "batch-size" KeepIfYounger = "keep-if-younger" AccessLifespan = "access-lifespan" RefreshLifespan = "refresh-lifespan" ConsentRequestLifespan = "consent-request-lifespan" OnlyTokens = "tokens" OnlyRequests = "requests" OnlyGrants = "grants" ReadFromEnv = "read-from-env" Config = "config" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ClientHandler ¶
type ClientHandler struct{}
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) GetClient ¶
func (h *ClientHandler) GetClient(cmd *cobra.Command, args []string)
func (*ClientHandler) ImportClients ¶
func (h *ClientHandler) ImportClients(cmd *cobra.Command, args []string)
func (*ClientHandler) ListClients ¶
func (h *ClientHandler) ListClients(cmd *cobra.Command, args []string)
func (*ClientHandler) UpdateClient ¶
func (h *ClientHandler) UpdateClient(cmd *cobra.Command, args []string)
type Handler ¶
type Handler struct { Clients *ClientHandler Keys *JWKHandler Introspection *IntrospectionHandler Token *TokenHandler Migration *MigrateHandler Janitor *JanitorHandler }
func NewHandler ¶
func NewHandler() *Handler
type IntrospectionHandler ¶
type IntrospectionHandler struct{}
func (*IntrospectionHandler) Introspect ¶
func (h *IntrospectionHandler) Introspect(cmd *cobra.Command, args []string)
type JWKHandler ¶
type JWKHandler struct{}
func (*JWKHandler) CreateKeys ¶
func (h *JWKHandler) CreateKeys(cmd *cobra.Command, args []string)
func (*JWKHandler) DeleteKeys ¶
func (h *JWKHandler) DeleteKeys(cmd *cobra.Command, args []string)
func (*JWKHandler) ImportKeys ¶
func (h *JWKHandler) ImportKeys(cmd *cobra.Command, args []string)
type JanitorHandler ¶
type JanitorHandler struct{}
func NewJanitorHandler ¶
func NewJanitorHandler() *JanitorHandler
type MigrateHandler ¶
type MigrateHandler struct{}
func (*MigrateHandler) MigrateSQL ¶
func (h *MigrateHandler) MigrateSQL(cmd *cobra.Command, args []string)
type TokenHandler ¶
type TokenHandler struct{}
func (*TokenHandler) DeleteToken ¶
func (h *TokenHandler) DeleteToken(cmd *cobra.Command, args []string)
func (*TokenHandler) FlushTokens ¶
func (h *TokenHandler) FlushTokens(cmd *cobra.Command, args []string)
func (*TokenHandler) RevokeToken ¶
func (h *TokenHandler) RevokeToken(cmd *cobra.Command, args []string)
Click to show internal directories.
Click to hide internal directories.