lib/doorkeeper/oauth/client_credentials/creator.rb in doorkeeper-5.4.0 vs lib/doorkeeper/oauth/client_credentials/creator.rb in doorkeeper-5.5.0.rc1
- old
+ new
@@ -37,10 +37,11 @@
yield
end
end
def lookup_existing_token?
- server_config.reuse_access_token || server_config.revoke_previous_client_credentials_token?
+ server_config.reuse_access_token ||
+ server_config.revoke_previous_client_credentials_token?
end
def find_existing_token_for(client, scopes)
server_config.access_token_model.matching_token_for(client, nil, scopes)
end