Package com.ibm.wsspi.security.oauth20
Interface TokenIntrospectProvider
- 
 public interface TokenIntrospectProviderImplement this API and use it within the SPI to customize the json response for the userinfo endpoint.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetUserInfo(com.ibm.websphere.security.oauth20.AuthnContext authnContext)This method should return the userinfo as a JSON format string.
 
- 
- 
- 
Method Detail- 
getUserInfojava.lang.String getUserInfo(com.ibm.websphere.security.oauth20.AuthnContext authnContext) This method should return the userinfo as a JSON format string. If this method return null then it will be ignored. No further handling will happen and could be in errors- Parameters:
- authnContext- The Authentication context for this invocation
- Returns:
- The string content with the userinfo, which can be parsed back to an JSONObject. This will be provided to anyone invoking the userinfo endpoint
 
 
- 
 
-