Skip to content

Commit 4a2ebb8

Browse files
Minor comment change
1 parent 6ba5ef9 commit 4a2ebb8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,9 +109,9 @@ public OAuthHeaderFactory configure(DatabricksConfig config) {
109109
protected List<String> getScopes(DatabricksConfig config) {
110110
// Get user-provided scopes and add required default scopes.
111111
Set<String> scopes = new HashSet<>(config.getScopes());
112-
// Requesting a refresh token is most of the time the right thing to do to enable
113-
// long-lived access to the API. However, some Identity Providers do not support
114-
// refresh tokens.
112+
// Requesting a refresh token is most of the time the right thing to do from a
113+
// user perspective to enable long-lived access to the API. However, some Identity
114+
// Providers do not support refresh tokens.
115115
if (!config.getDisableOauthRefreshToken()) {
116116
scopes.add("offline_access");
117117
}

0 commit comments

Comments
 (0)