Documentation
¶
Index ¶
- Variables
- func Connect(val Options) (hc *hydraSDK.Client, err error)
- func GetClient(hc *hydraSDK.Client, id string) (fosite.Client, error)
- func GetContext(c echo.Context) *firewall.Context
- func NewTokenAccessRequest(resource string, action string, context map[string]interface{}) *firewall.TokenAccessRequest
- func ScopesRequired(opt interface{}, tokenAccessRequest *firewall.TokenAccessRequest, ...) echo.MiddlewareFunc
- type Options
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultClient *hydraSDK.Client
Functions ¶
func NewTokenAccessRequest ¶
func NewTokenAccessRequest(resource string, action string, context map[string]interface{}) *firewall.TokenAccessRequest
func ScopesRequired ¶
func ScopesRequired(opt interface{}, tokenAccessRequest *firewall.TokenAccessRequest, scopes ...string) echo.MiddlewareFunc
Types ¶
Click to show internal directories.
Click to hide internal directories.