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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.
-
-
-
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.
-
-