Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewKeyCloakMiddleware ¶
func NewKeyCloakMiddleware(config KeyCloakConfig) *keyCloakMiddleware
Types ¶
type KeyCloakConfig ¶
type KeyCloakConfig struct { KeyCloakIP string `mapstructure:"key_cloak_ip" json:"key_cloak_ip" yaml:"key_cloak_ip"` Realm string `mapstructure:"realm" json:"realm" yaml:"realm"` ClientID string `mapstructure:"client_id" json:"client_id" yaml:"client_id"` ClientSecret string `mapstructure:"client_secret" json:"client_secret" yaml:"client_secret"` }
type Middleware ¶
type Middleware interface { ResourceAccess(args ...string) (r Middleware) RealmAccess(args ...string) (r Middleware) }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.