File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
databricks-sdk-java/src/main/java/com/databricks/sdk/core/oauth Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments