keycloak.backend

buddy-verify-token-fn

(buddy-verify-token-fn deployment)

deployments

register-deployment

(register-deployment realm-name deployment)

register-deployments

(register-deployments deployments)

token-from-headers*

multimethod

TOKEN_HEADER_KEY

TOKEN_NAME

unregister-deployment

(unregister-deployment deployment)

verify-credential

(verify-credential ctx deployment)

Take a Yada web context object, extract the token from the headers, verify it and if correct return the AccessToken correctly extracted

verify-credential-in-headers

(verify-credential-in-headers headers deployment & opts)

Verify credentials from raw headers and if correct return the AccessToken correctly extracted

verify-then-extract

(verify-then-extract deployment token)

Fist argument is a Keycloak Deployment object, second is a token. Return the extracted token