Package org.forgerock.oauth.clients.oidc
Class OpenIDConnectUserInfo
- java.lang.Object
-
- org.forgerock.oauth.clients.oidc.OpenIDConnectUserInfo
-
-
Constructor Summary
Constructors Constructor Description OpenIDConnectUserInfo(JsonValue rawProfile, String subject)
Creates an OpenIDConnectUserInfo instance.OpenIDConnectUserInfo(JsonValue rawProfile, JwtClaimsSet jwtClaimsSet)
Creates an OpenIDConnectUserInfo instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JwtClaimsSet
getJwtClaimsSet()
Gets the claim set from the jwt id token that was returned by auth server.JsonValue
getRawProfile()
Gets the user raw profile data without any modifications that was returned by the auth server.String
getSubject()
The subject which identifies a user on a particular auth server.
-
-
-
Constructor Detail
-
OpenIDConnectUserInfo
public OpenIDConnectUserInfo(JsonValue rawProfile, JwtClaimsSet jwtClaimsSet)
Creates an OpenIDConnectUserInfo instance.- Parameters:
rawProfile
- raw profile of a user.jwtClaimsSet
- claim set from the jwt id token.
-
-
Method Detail
-
getSubject
public String getSubject()
The subject which identifies a user on a particular auth server.- Specified by:
getSubject
in interfaceUserInfo
- Returns:
- subject.
-
getRawProfile
public JsonValue getRawProfile()
Gets the user raw profile data without any modifications that was returned by the auth server.- Specified by:
getRawProfile
in interfaceUserInfo
- Returns:
- users information as a
JsonValue
.
-
getJwtClaimsSet
public JwtClaimsSet getJwtClaimsSet()
Gets the claim set from the jwt id token that was returned by auth server.- Returns:
- claim set from the jwt id token.
-
-