Interface OAuth2RuntimeConfig
@ConfigMapping(prefix="quarkus.oauth2")
@ConfigRoot(phase=RUN_TIME)
public interface OAuth2RuntimeConfig
See https://docs.wildfly.org/14/WildFly_Elytron_Security.html#validating-oauth2-bearer-tokens
-
Method Summary
Modifier and TypeMethodDescriptionThe OAuth2 server certificate file.clientId()The OAuth2 client id used to validate the token.The OAuth2 client secret used to validate the token.The OAuth2 introspection endpoint URL used to validate the token and gather the authentication claims.
-
Method Details
-
clientId
The OAuth2 client id used to validate the token. Mandatory if the extension is enabled. -
clientSecret
The OAuth2 client secret used to validate the token. Mandatory if the extension is enabled. -
introspectionUrl
The OAuth2 introspection endpoint URL used to validate the token and gather the authentication claims. Mandatory if the extension is enabled. -
caCertFile
The OAuth2 server certificate file. Warning: this is not supported in native mode where the certificate must be included in the truststore used during the native image generation, see Using SSL With Native Executables.
-