Package org.forgerock.oauth
Interface UserInfo
- All Known Implementing Classes:
OAuth2UserInfo
,OpenIDConnectUserInfo
public interface UserInfo
Each 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
Modifier and TypeMethodDescriptionGets the user raw profile data without any modifications that was returned by the auth server.The subject which identifies a user on a particular auth server.
-
Method Details
-
getSubject
The subject which identifies a user on a particular auth server.- Returns:
- subject.
- Throws:
OAuthException
- ex.
-
getRawProfile
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.
-