use of org.forgerock.oauth2.core.RefreshToken in project OpenAM by OpenRock.
the class OAuth2AuditRefreshTokenContextProvider method getUserIdFromRefreshTokenFromAuthorizationHeader.
private String getUserIdFromRefreshTokenFromAuthorizationHeader(Request request) {
String userId = null;
RefreshToken refreshToken = retrieveRefreshTokenFromChallengeResponse(request);
if (refreshToken != null) {
userId = getUserIdFromToken(refreshToken);
}
return userId;
}
Aggregations