Skip to content

Commit 2e2bc65

Browse files
Update Consent.java
1 parent f751d11 commit 2e2bc65

File tree

1 file changed

+5
-0
lines changed
  • databricks-sdk-java/src/main/java/com/databricks/sdk/core/oauth

1 file changed

+5
-0
lines changed

databricks-sdk-java/src/main/java/com/databricks/sdk/core/oauth/Consent.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -388,6 +388,11 @@ private void sendSuccess(HttpExchange exchange) throws IOException {
388388
exchange.close();
389389
}
390390

391+
/**
392+
* Wait and return the params.
393+
*
394+
* This method might throw an exception in case of timeout.
395+
*/
391396
public Map<String, String> getParams() {
392397
synchronized (lock) {
393398
if (params == null) {

0 commit comments

Comments
 (0)