Module org.glassfish.soteria
Class UserInfoController
- java.lang.Object
-
- org.glassfish.soteria.mechanisms.openid.controller.UserInfoController
-
@RequestScoped public class UserInfoController extends Object
Controller for Token endpoint- Author:
- Gaurav Gupta, Rudy De Busscher
-
-
Constructor Summary
Constructors Constructor Description UserInfoController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description jakarta.json.JsonObjectgetUserInfo(OpenIdConfiguration configuration, jakarta.security.enterprise.identitystore.openid.AccessToken accessToken)(6) The RP send a request with the Access Token to the UserInfo Endpoint and requests the claims about the End-User.
-
-
-
Method Detail
-
getUserInfo
public jakarta.json.JsonObject getUserInfo(OpenIdConfiguration configuration, jakarta.security.enterprise.identitystore.openid.AccessToken accessToken)
(6) The RP send a request with the Access Token to the UserInfo Endpoint and requests the claims about the End-User.- Parameters:
configuration- the OpenId Connect client configuration configurationaccessToken-- Returns:
- the claims json object
-
-