Interface IDTokenMediator
- 
 public interface IDTokenMediatorImplement this API and use it within the SPI to customize the claims for the ID token. The IDTokenMediator has to be implemented as a single Liberty Service or User Feature in the Liberty Server and multiple IDTokenMediator services or features will result in unpredictable behavior.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringmediateToken(java.util.Map<java.lang.String,java.lang.String[]> tokenMap)This method should return the claims as a JSON format string.
 
- 
- 
- 
Method Detail- 
mediateTokenjava.lang.String mediateToken(java.util.Map<java.lang.String,java.lang.String[]> tokenMap) This method should return the claims as a JSON format string. If this method returns null then default ID token will be created.- Parameters:
- tokenMap- The ID token context for this request, including client_id, user name, scopes, and other properties.
- Returns:
- The string content with the claims to be included in ID token, which can be parsed into a JSONObject.
 
 
- 
 
-