IModelixAuthorizationConfig
Properties
/user will show the content of the JWT token /permissions will show all available permissions that can be used when generating a token.
A JWT principal will be available, even if the HTTP request doesn't contain one.
The pre-shared key for the HMAC256 signature algorithm. The environment variables MODELIX_JWT_SIGNATURE_HMAC256_KEY or MODELIX_JWT_SIGNATURE_HMAC256_KEY_FILE can be used instead.
The pre-shared key for the HMAC384 signature algorithm. The environment variables MODELIX_JWT_SIGNATURE_HMAC384_KEY or MODELIX_JWT_SIGNATURE_HMAC384_KEY_FILE can be used instead.
The pre-shared key for the HMAC512 signature algorithm. The environment variables MODELIX_JWT_SIGNATURE_HMAC512_KEY or MODELIX_JWT_SIGNATURE_HMAC512_KEY_FILE can be used instead.
If not explicitly enabled or disabled, permissions are check if an algorithm for the JWT signature is configured.
Defines the available permissions and their relations.