We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e883279 commit bc30a2fCopy full SHA for bc30a2f
driver-core/src/main/com/mongodb/internal/authentication/CredentialInfo.java
@@ -25,6 +25,10 @@ public final class CredentialInfo {
25
private final String accessToken;
26
private final Duration expiresIn;
27
28
+ /**
29
+ * @param expiresIn The meaning of {@linkplain Duration#isZero() zero-length} duration is the same as in
30
+ * {@link com.mongodb.MongoCredential.OidcCallbackResult#OidcCallbackResult(String, Duration)}.
31
+ */
32
public CredentialInfo(final String accessToken, final Duration expiresIn) {
33
this.accessToken = accessToken;
34
this.expiresIn = expiresIn;
0 commit comments