Package org.forgerock.oauth
Interface UserInfo
-
- All Known Implementing Classes:
OAuth2UserInfo,OpenIDConnectUserInfo
public interface UserInfoEach instance will return the user subject that identifies a user on an auth server as well as the entire raw profile that was retrieved when making a request to the user info endpoint.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description JsonValuegetRawProfile()Gets the user raw profile data without any modifications that was returned by the auth server.StringgetSubject()The subject which identifies a user on a particular auth server.
-
-
-
Method Detail
-
getSubject
String getSubject() throws OAuthException
The subject which identifies a user on a particular auth server.- Returns:
- subject.
- Throws:
OAuthException- ex.
-
getRawProfile
JsonValue getRawProfile() throws OAuthException
Gets the user raw profile data without any modifications that was returned by the auth server.- Returns:
- users information as a
JsonValue. - Throws:
OAuthException- ex.
-
-