Interface OidcClientCommonConfig.Credentials
- All Known Implementing Classes:
OidcClientCommonConfig.Credentials
- Enclosing interface:
OidcClientCommonConfig
public static interface OidcClientCommonConfig.Credentials
Credentials used by OIDC client to authenticate to OIDC token and other secured endpoints.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceSupports the client authentication `client_secret_jwt` and `private_key_jwt` methods, which involves sending a JWT token assertion signed with a client secret or private key.static interfaceCredentialsProvider, which provides a client secret.static interfaceSupports the client authentication methods that involve sending a client secret. -
Method Summary
Modifier and TypeMethodDescriptionThe client secret used by the `client_secret_basic` (default), `client_secret_post`, or `client_secret_jwt` authentication methods.jwt()Client JSON Web Token (JWT) authentication methodssecret()The client secret used by the `client_secret_basic` authentication method.
-
Method Details
-
secret
The client secret used by the `client_secret_basic` authentication method. Must be set unless a secret is set inclientSecret()orjwt()client authentication is required. You can use `client-secret.value` instead, but both properties are mutually exclusive. -
clientSecret
OidcClientCommonConfig.Credentials.Secret clientSecret()The client secret used by the `client_secret_basic` (default), `client_secret_post`, or `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
Client JSON Web Token (JWT) authentication methods
-