public class UserInfoJSONResponseBuilder extends AbstractUserInfoResponseBuilder
| Constructor and Description |
|---|
UserInfoJSONResponseBuilder() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
buildResponse(org.wso2.carbon.auth.token.introspection.dto.IntrospectionResponse introspectionResponse,
Map<String,Object> filteredUserAttributes)
Build UserInfo response to be sent back to the client.
|
protected Map<String,org.wso2.charon3.core.attributes.Attribute> |
retrieveUserAttributes(org.wso2.carbon.auth.token.introspection.dto.IntrospectionResponse introspectionResponse)
Retrieve User attributes.
|
getResponseString, getSubjectAttribute, getUserAttributesFilteredByScopeprotected Map<String,org.wso2.charon3.core.attributes.Attribute> retrieveUserAttributes(org.wso2.carbon.auth.token.introspection.dto.IntrospectionResponse introspectionResponse) throws UserInfoException
AbstractUserInfoResponseBuilderretrieveUserAttributes in class AbstractUserInfoResponseBuilderintrospectionResponse - Introspection responseUserInfoException - if failed to retrieve user attributesAbstractUserInfoResponseBuilder.retrieveUserAttributes(IntrospectionResponse)protected String buildResponse(org.wso2.carbon.auth.token.introspection.dto.IntrospectionResponse introspectionResponse, Map<String,Object> filteredUserAttributes) throws UserInfoException
AbstractUserInfoResponseBuilderbuildResponse in class AbstractUserInfoResponseBuilderintrospectionResponse - Introspection responsefilteredUserAttributes - Filtered user attributes based on the requested scopesUserInfoException - if failed to build the responseAbstractUserInfoResponseBuilder.buildResponse(IntrospectionResponse, Map)Copyright © 2018 WSO2. All rights reserved.