A PHP Error was encountered

Severity: 8192

Message: Function create_function() is deprecated

Filename: geshi/geshi.php

Line Number: 4698

Backtrace:

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 4698
Function: _error_handler

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 4621
Function: _optimize_regexp_list_tokens_to_string

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 1655
Function: optimize_regexp_list

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 2029
Function: optimize_keyword_group

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 2168
Function: build_parse_cache

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/Process.php
Line: 45
Function: parse_code

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/models/Pastes.php
Line: 517
Function: syntax

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/controllers/Main.php
Line: 693
Function: getPaste

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/index.php
Line: 315
Function: require_once

Untitled - Stikked
From Beefy Duck, 5 Years ago, written in Java 5.
Embed
  1.     public Mono<LTILaunchRequest<LTILaunchRequestSettings>> handlePlatformAuthenticationResponse(AuthenticationResponse authenticationResponse) {
  2.         IssuerResponse issuerResponse= authenticationService.retrieveIssuerResponse(authenticationResponse.getState());
  3.         String jwtToken = authenticationResponse.getIdToken();
  4.         String issuerId = issuerResponse.getIssuerId();
  5.         return platformConfigurationService
  6.                         .getByIssuerId(issuerId)
  7.                         .flatMap(platformConfiguration -> getPublicKeyData(platformConfiguration)
  8.                             .map(publicKeyData -> Tuples.of(platformConfiguration, publicKeyData)))
  9.                         .flatMap(tuple -> jwtHelper.getClaimsFromJWTToken(jwtToken, tuple.getT2())
  10.                             .map(claims -> {
  11.                                 updatePlatformConfigurationWithPulicKey(tuple.getT1(), tuple.getT2());
  12.                                 return Tuples.of(platformConfiguration, claims);
  13.                              }))
  14.                         .flatMap(claimsKeyConfigTuple -> {
  15.                              RumbaRole rumbaRole = obtainRumbaRoleFromLTIRoles(claimsKeyConfigTuple.getT2());
  16.                              String messageType = claims.get(Constants.CLAIM_PREFIX + "message_type", String.class);
  17.                              LaunchRequestProviderType launchRequestProviderType = LaunchRequestProviderType.getLaunchRequestProviderType(messageType);
  18.                              return Mono.just(launchRequestProviderType)
  19.                                  .map(launchRequestServiceLocator::getProvider)
  20.                                  .flatMap(launchRequestService ->  {
  21.                                      launchRequestService.validateLaunchRequest(claimsKeyConfigTuple.getT2().getSubject(), rumbaRole);
  22.                                      LTILaunchRequest<LTILaunchRequestSettings> ltiLaunchRequest = launchRequestService.processRequest(claimsKeyConfigTuple.getT3());
  23.                                      setLtiLaunchRequest(ltiLaunchRequest, claimsKeyConfigTuple.getT1().getRumbaDistrictId(), rumbaRole);
  24.                                      return Mono.just(ltiLaunchRequest);
  25.                                  });
  26.                         });
  27. }