Package io.quarkus.oidc.common.runtime
Class OidcCommonConfig.Credentials
- java.lang.Object
-
- io.quarkus.oidc.common.runtime.OidcCommonConfig.Credentials
-
- Enclosing class:
- OidcCommonConfig
public static class OidcCommonConfig.Credentials extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOidcCommonConfig.Credentials.JwtSupports the client authentication 'client_secret_jwt' and `private_key_jwt` methods which involve sending a JWT token assertion signed with either a client secret or private key.static classOidcCommonConfig.Credentials.ProviderCredentialsProvider which provides a client secretstatic classOidcCommonConfig.Credentials.SecretSupports the client authentication methods which involve sending a client secret.
-
Field Summary
Fields Modifier and Type Field Description OidcCommonConfig.Credentials.SecretclientSecretClient secret which can be used for the `client_secret_basic` (default) and `client_secret_post` and 'client_secret_jwt' authentication methods.OidcCommonConfig.Credentials.JwtjwtClient JWT authentication methodsOptional<String>secretClient secret which is used for a `client_secret_basic` authentication method.
-
Constructor Summary
Constructors Constructor Description Credentials()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OidcCommonConfig.Credentials.SecretgetClientSecret()OidcCommonConfig.Credentials.JwtgetJwt()Optional<String>getSecret()voidsetClientSecret(OidcCommonConfig.Credentials.Secret clientSecret)voidsetJwt(OidcCommonConfig.Credentials.Jwt jwt)voidsetSecret(String secret)
-
-
-
Field Detail
-
secret
@ConfigItem public Optional<String> secret
Client secret which is used for a `client_secret_basic` authentication method. Note that a 'client-secret.value' can be used instead but both properties are mutually exclusive.
-
clientSecret
@ConfigItem public OidcCommonConfig.Credentials.Secret clientSecret
Client secret which can be used for the `client_secret_basic` (default) and `client_secret_post` and 'client_secret_jwt' authentication methods. Note that a `secret.value` property can be used instead to support the `client_secret_basic` method but both properties are mutually exclusive.
-
jwt
@ConfigItem public OidcCommonConfig.Credentials.Jwt jwt
Client JWT authentication methods
-
-
Method Detail
-
setSecret
public void setSecret(String secret)
-
getClientSecret
public OidcCommonConfig.Credentials.Secret getClientSecret()
-
setClientSecret
public void setClientSecret(OidcCommonConfig.Credentials.Secret clientSecret)
-
getJwt
public OidcCommonConfig.Credentials.Jwt getJwt()
-
setJwt
public void setJwt(OidcCommonConfig.Credentials.Jwt jwt)
-
-