Documentation ¶
Index ¶
- func ValidationKeyGetter(xsuaaConfig config.XsuaaConfig, validateJKU validation.JKUValidationFunc) jwt.Keyfunc
- func ValidationKeyGetterWithCacheConfigurable(xsuaaConfig config.XsuaaConfig, validateJKU validation.JKUValidationFunc, ...) jwt.Keyfunc
- func ValidationKeyGetterWithCacheDefault(xsuaaConfig config.XsuaaConfig, configCache *cache.Cache) jwt.Keyfunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidationKeyGetter ¶
func ValidationKeyGetter(xsuaaConfig config.XsuaaConfig, validateJKU validation.JKUValidationFunc) jwt.Keyfunc
function with no cache implementation --> Each time a validation is made, the public key is been downloaded!
func ValidationKeyGetterWithCacheConfigurable ¶
func ValidationKeyGetterWithCacheConfigurable(xsuaaConfig config.XsuaaConfig, validateJKU validation.JKUValidationFunc, configCache *cache.Cache) jwt.Keyfunc
cache been injected and managed from outside (usually in the middleware)
func ValidationKeyGetterWithCacheDefault ¶
func ValidationKeyGetterWithCacheDefault(xsuaaConfig config.XsuaaConfig, configCache *cache.Cache) jwt.Keyfunc
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.