Package com.mongodb
Interface MongoCredential.OidcCallback
- Enclosing class:
- MongoCredential
public static interface MongoCredential.OidcCallback
This callback is invoked when the OIDC-based authenticator requests
tokens from the identity provider.
It does not have to be thread-safe, unless it is provided to multiple MongoClients.
- Since:
- 5.1
-
Method Summary
Modifier and TypeMethodDescription
-
Method Details
-
onRequest
- Parameters:
context
- The context.- Returns:
- The response produced by an OIDC Identity Provider
-