Documentation ¶
Index ¶
Constants ¶
View Source
const ( EnvHorusecKeycloakBasePath = "HORUSEC_KEYCLOAK_BASE_PATH" EnvHorusecKeycloakClientID = "HORUSEC_KEYCLOAK_CLIENT_ID" EnvHorusecKeycloakClientSecret = "HORUSEC_KEYCLOAK_CLIENT_SECRET" //nolint:gosec // false positive EnvHorusecKeycloakRealm = "HORUSEC_KEYCLOAK_REALM" EnvHorusecKeycloakTOPT = "HORUSEC_KEYCLOAK_TOTP" )
Variables ¶
View Source
var ErrorKeycloakMissingUsernameOrSub = errors.New("{KEYCLOAK AUTH} keycloak user info missing username or email")
View Source
var MessageFailedToCheckIfTokenIsActive = "{KEYCLOAK AUTH} failed to check if token is active" //nolint:gosec, lll // false positive
View Source
var MessageFailedToGetAccountIDFromKeycloakToken = "{KEYCLOAK AUTH} failed to get account id from keycloak token" //nolint:gosec, lll // false positive
View Source
var MessageFailedToGetUserInfo = "{KEYCLOAK AUTH} failed to get user info"
View Source
var MessageFailedToParseKeycloakToken = "{KEYCLOAK AUTH} failed to parse keycloak token to get account id" //nolint:gosec, lll // false positive
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.