Skip to content

Commit

Permalink
make OAuth2TokenKeyService interface functional again by making its n…
Browse files Browse the repository at this point in the history
…ew method a default method
  • Loading branch information
finkmanAtSap committed Sep 12, 2023
1 parent 0b9dcc7 commit 7d4f83a
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,5 +69,7 @@ default String retrieveTokenKeys(@Nonnull URI tokenKeysEndpointUri, @Nullable St
* @throws OAuth2ServiceException
* in case of an error during the http request.
*/
String retrieveTokenKeys(@Nonnull URI tokenKeysEndpointUri, @Nullable String tenantId, @Nullable String clientId, @Nullable String azp) throws OAuth2ServiceException;
default String retrieveTokenKeys(@Nonnull URI tokenKeysEndpointUri, @Nullable String tenantId, @Nullable String clientId, @Nullable String azp) throws OAuth2ServiceException {
return retrieveTokenKeys(tokenKeysEndpointUri, tenantId);
}
}

0 comments on commit 7d4f83a

Please sign in to comment.