Documentation ¶
Index ¶
- func AddAuthorizedController(l *restapi.HttpListener, c restapi_controller.Controller, path string, ...)
- func AddAuthorizedControllerWithClaims(l *restapi.HttpListener, c restapi_controller.Controller, path string, ...)
- func AddAuthorizedControllerWithRoles(l *restapi.HttpListener, c restapi_controller.Controller, path string, ...)
- func AddAuthorizedControllerWithRolesAndClaims(l *restapi.HttpListener, c restapi_controller.Controller, path string, ...)
- func WithApiKeyAuthentication(l *restapi.HttpListener, context api_key_manager.ApiKeyContextAdapter) *restapi.HttpListener
- func WithAuthentication(l *restapi.HttpListener, context interfaces.UserContextAdapter) *restapi.HttpListener
- func WithDefaultAuthentication(l *restapi.HttpListener) *restapi.HttpListener
- func WithInMemoryApiKeyAuthentication(l *restapi.HttpListener) *restapi.HttpListener
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddAuthorizedController ¶ added in v0.0.6
func AddAuthorizedController(l *restapi.HttpListener, c restapi_controller.Controller, path string, methods ...string)
func AddAuthorizedControllerWithClaims ¶ added in v0.0.6
func AddAuthorizedControllerWithClaims(l *restapi.HttpListener, c restapi_controller.Controller, path string, claims []string, methods ...string)
func AddAuthorizedControllerWithRoles ¶ added in v0.0.6
func AddAuthorizedControllerWithRoles(l *restapi.HttpListener, c restapi_controller.Controller, path string, roles []string, methods ...string)
func AddAuthorizedControllerWithRolesAndClaims ¶ added in v0.0.6
func AddAuthorizedControllerWithRolesAndClaims(l *restapi.HttpListener, c restapi_controller.Controller, path string, roles []string, claims []string, methods ...string)
func WithApiKeyAuthentication ¶ added in v0.0.15
func WithApiKeyAuthentication(l *restapi.HttpListener, context api_key_manager.ApiKeyContextAdapter) *restapi.HttpListener
func WithAuthentication ¶ added in v0.0.6
func WithAuthentication(l *restapi.HttpListener, context interfaces.UserContextAdapter) *restapi.HttpListener
func WithDefaultAuthentication ¶ added in v0.0.6
func WithDefaultAuthentication(l *restapi.HttpListener) *restapi.HttpListener
func WithInMemoryApiKeyAuthentication ¶ added in v0.0.15
func WithInMemoryApiKeyAuthentication(l *restapi.HttpListener) *restapi.HttpListener
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Package jwt provides the needed functions to generate tokens for users
|
Package jwt provides the needed functions to generate tokens for users |
Click to show internal directories.
Click to hide internal directories.