Modifier | Constructor and Description |
---|---|
protected |
OAuth2UserInfo(String authenticationIdKey,
JsonValue rawProfile)
Creates an OAuth2UserInfo object which wraps the raw profile of a user and
provides the Subject of a particular user.
|
Modifier and Type | Method and 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.
|
protected OAuth2UserInfo(String authenticationIdKey, JsonValue rawProfile)
authenticationIdKey
- key used to identify which attribute an auth server identifies a user by.rawProfile
- users profile that was retrieved from the resource server.public String getSubject()
UserInfo
getSubject
in interface UserInfo
public JsonValue getRawProfile()
UserInfo
getRawProfile
in interface UserInfo
JsonValue
.Copyright © 2010-2018, ForgeRock All Rights Reserved.