nscendoni commented on code in PR #15:
URL:
https://github.com/apache/sling-org-apache-sling-auth-oauth-client/pull/15#discussion_r2108347579
##########
src/main/java/org/apache/sling/auth/oauth_client/spi/UserInfoProcessor.java:
##########
@@ -17,15 +17,13 @@
*/
package org.apache.sling.auth.oauth_client.spi;
-import com.nimbusds.oauth2.sdk.TokenResponse;
-import com.nimbusds.openid.connect.sdk.claims.UserInfo;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
/**
* Process the user info received from the identity provider and return the
credentials that will be returned by the authentication handler.
*/
public interface UserInfoProcessor {
- @NotNull OidcAuthCredentials process(@Nullable UserInfo userInfo, @NotNull
TokenResponse tokenResponse,
+ @NotNull OidcAuthCredentials process(@Nullable String userInfo, @NotNull
String tokenResponse,
Review Comment:
Added documentation
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]