Package com.mongodb

Interface MongoCredential.IdpInfo

Enclosing class:
MongoCredential

@Evolving public static interface MongoCredential.IdpInfo
The OIDC Identity Provider's configuration that can be used to acquire an Access Token.
Since:
5.1
  • Method Details

    • getIssuer

      String getIssuer()
      Returns:
      URL which describes the Authorization Server. This identifier is the iss of provided access tokens, and is viable for RFC8414 metadata discovery and RFC9207 identification.
    • getClientId

      @Nullable String getClientId()
      Returns:
      Unique client ID for this OIDC client.
    • getRequestScopes

      List<String> getRequestScopes()
      Returns:
      Additional scopes to request from Identity Provider. Immutable.