private void calculateAtHashClaim(final OAuth2AccessTokenEntity accessToken,final JWSAlgorithm signingAlg,final JWTClaimsSet.Builder idClaims,final Set<String> responseTypes){
  if (responseTypes.contains(OIDCConstants.TOKEN)) {
    final Base64URL atHash=IdTokenHashUtils.getAccessTokenHash(signingAlg,accessToken);
    idClaims.claim(OIDCConstants.AT_HASH,atHash);
    log.debug("{} is set to {}",OIDCConstants.AT_HASH,atHash);
  }
}

private void calculateAtHashClaim ( final OAuth2AccessTokenEntity accessToken , final JWSAlgorithm signingAlg , final JWTClaimsSet . Builder idClaims , final Set < String > responseTypes ) { if ( responseTypes . contains ( OIDCConstants . TOKEN ) ) { final Base64URL atHash = IdTokenHashUtils . getAccessTokenHash ( signingAlg , accessToken ) ; idClaims . claim ( OIDCConstants . AT_HASH , atHash ) ; log . debug ( "{} is set to {}" , OIDCConstants . AT_HASH , atHash ) ; } }
calculate at hash claim .
