Class OAuth2RuntimeConfig
- java.lang.Object
-
- io.quarkus.elytron.security.oauth2.runtime.OAuth2RuntimeConfig
-
@ConfigRoot(name="oauth2", phase=RUN_TIME) public class OAuth2RuntimeConfig extends ObjectSee https://docs.wildfly.org/14/WildFly_Elytron_Security.html#validating-oauth2-bearer-tokens
-
-
Field Summary
Fields Modifier and Type Field Description Optional<String>caCertFileThe OAuth2 server certificate file.Optional<String>clientIdThe OAuth2 client id used to validate the token.Optional<String>clientSecretThe OAuth2 client secret used to validate the token.Optional<String>introspectionUrlThe OAuth2 introspection endpoint URL used to validate the token and gather the authentication claims.
-
Constructor Summary
Constructors Constructor Description OAuth2RuntimeConfig()
-
-
-
Field Detail
-
clientId
@ConfigItem public Optional<String> clientId
The OAuth2 client id used to validate the token. Mandatory if the extension is enabled.
-
clientSecret
@ConfigItem public Optional<String> clientSecret
The OAuth2 client secret used to validate the token. Mandatory if the extension is enabled.
-
introspectionUrl
@ConfigItem public Optional<String> introspectionUrl
The OAuth2 introspection endpoint URL used to validate the token and gather the authentication claims. Mandatory if the extension is enabled.
-
caCertFile
@ConfigItem public Optional<String> 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.
-
-