package
0.0.0-20220516200307-a11ed8103220
Repository: https://github.com/everactive/iot-management.git
Documentation: pkg.go.dev
# Functions
CreateServiceClientUser creates a user account for a service-account if it does not exist previously.
TokenGetter gets a TokenGetter and creates one if it does not already exist.
VerifyKeycloakTokenWithAuth takes the Authorization string from the header and validates token and user, creating if necessary for service-accounts.
nolint Deprecated: VerifyStaticClientToken verifies that a static token provided in the Authorization header if valid.
# Variables
Logger is a logger that can be set/specified independently for logging auth related issues.