Serializer
2
Handled
24.51 ms
Total time
default 2
serialize 1
| Data | Context | Normalizer | Encoder | Time | Caller |
|---|---|---|---|---|---|
|
ApiPlatform\State\ApiResource\Error
Show contents
ApiPlatform\State\ApiResource\Error {#1529 #message: "An error occurred" #code: 401 #file: "/home/easytoday/domains/dev.app.easytoday.se/app/vendor/api-platform/core/src/State/ApiResource/Error.php" #line: 202 -id: null -title: "An error occurred" -detail: "Ogiltig eller utgången refresh_token" -status: 401 -instance: null -type: "/errors/401" -headers: [ "WWW-Authenticate" => "Bearer realm="api", error="invalid_token"" ] -meta: null -source: null -description: null +originalTrace: [ [ "file" => "/home/easytoday/domains/dev.app.easytoday.se/app/vendor/api-platform/core/src/State/CallableProcessor.php" "line" => 52 "function" => "process" "class" => "App\Api\Auth\Processor\TokenRefreshProcessor" "type" => "->" ] [ "file" => "/home/easytoday/domains/dev.app.easytoday.se/app/vendor/api-platform/core/src/State/Processor/WriteProcessor.php" "line" => 58 "function" => "process" "class" => "ApiPlatform\State\CallableProcessor" "type" => "->" ] [ "file" => "/home/easytoday/domains/dev.app.easytoday.se/app/vendor/api-platform/core/src/Symfony/Controller/MainController.php" "line" => 125 "function" => "process" "class" => "ApiPlatform\State\Processor\WriteProcessor" "type" => "->" ] [ "file" => "/home/easytoday/domains/dev.app.easytoday.se/app/vendor/symfony/http-kernel/HttpKernel.php" "line" => 183 "function" => "__invoke" "class" => "ApiPlatform\Symfony\Controller\MainController" "type" => "->" ] [ "file" => "/home/easytoday/domains/dev.app.easytoday.se/app/vendor/symfony/http-kernel/HttpKernel.php" "line" => 76 "function" => "handleRaw" "class" => "Symfony\Component\HttpKernel\HttpKernel" "type" => "->" ] [ "file" => "/home/easytoday/domains/dev.app.easytoday.se/app/vendor/symfony/http-kernel/Kernel.php" "line" => 182 "function" => "handle" "class" => "Symfony\Component\HttpKernel\HttpKernel" "type" => "->" ] [ "file" => "/home/easytoday/domains/dev.app.easytoday.se/app/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php" "line" => 35 "function" => "handle" "class" => "Symfony\Component\HttpKernel\Kernel" "type" => "->" ] [ "file" => "/home/easytoday/domains/dev.app.easytoday.se/app/vendor/autoload_runtime.php" "line" => 29 "function" => "run" "class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner" "type" => "->" ] [ "file" => "/home/easytoday/domains/dev.app.easytoday.se/app/public/index.php" "line" => 5 "function" => "require_once" ] ] : { { ApiPlatform\State\ApiResource\Error::createFromException(Exception|Throwable $exception, int $status): self … › › |
Format: jsonld
Show context
[ "openapi_definition_name" => "" "groups" => [ "jsonld" "trace" ] "skip_null_values" => true "ignored_attributes" => [ "trace" "file" "line" "code" "message" "traceAsString" "previous" ] "api_error_resource" => true "operation_name" => "_api_errors_hydra" "operation" => ApiPlatform\Metadata\Error {#1531 #parameters: null #shortName: "Error" #class: "ApiPlatform\State\ApiResource\Error" #description: "A representation of common errors." #urlGenerationStrategy: null #deprecationReason: null #normalizationContext: [ "openapi_definition_name" => "" "groups" => [ "jsonld" ] "skip_null_values" => true "ignored_attributes" => [ "trace" "file" "line" "code" "message" "traceAsString" "previous" ] "api_error_resource" => true ] #denormalizationContext: null #collectDenormalizationErrors: null #validationContext: null #filters: [] #mercure: null #messenger: null #input: null #output: null #order: null #fetchPartial: null #forceEager: null #paginationEnabled: null #paginationType: null #paginationItemsPerPage: null #paginationMaximumItemsPerPage: null #paginationPartial: null #paginationClientEnabled: null #paginationClientItemsPerPage: null #paginationClientPartial: null #paginationFetchJoinCollection: null #paginationUseOutputWalkers: null #security: null #securityMessage: null #securityPostDenormalize: null #securityPostDenormalizeMessage: null #securityPostValidation: null #securityPostValidationMessage: null #provider: "api_platform.state.error_provider" #processor: null #stateOptions: null #rules: null #policy: null #middleware: null #queryParameterValidationEnabled: null #strictQueryParameterValidation: null #hideHydraOperation: null #jsonStream: null #map: null #extraProperties: [ "user_defined_uri_template" => true ] #paginationViaCursor: null #read: true #deserialize: false #validate: false #write: false #serialize: true #priority: 1 #name: "_api_errors_hydra" #formats: null #inputFormats: [ "jsonld" => [ "application/ld+json" ] ] #outputFormats: [ "jsonld" => [ "application/problem+json" "application/ld+json" ] ] #method: "GET" #uriTemplate: "/errors/{status}{._format}" #types: null #uriVariables: [ "status" => ApiPlatform\Metadata\Link {#1602 #key: null #schema: null #openApi: null #provider: null #filter: null #property: null #description: null #properties: null #required: null #priority: null #hydra: null #constraints: null #security: null #securityMessage: null #extraProperties: [ "_api_values" => ApiPlatform\State\ParameterNotFound {#1622} ] #filterContext: null #nativeType: null #castToArray: null #castToNativeType: null #castFn: null -parameterName: "status" -fromProperty: null -toProperty: null -fromClass: "ApiPlatform\State\ApiResource\Error" -toClass: null -identifiers: [ "status" ] -compositeIdentifier: null -expandedValue: null -securityObjectName: null } ] #routePrefix: null #routeName: "_api_errors" #defaults: null #requirements: [ "status" => "\d+" ] #options: null #stateless: null #sunset: null #acceptPatch: null #status: 401 #host: null #schemes: null #condition: null #controller: null #headers: null #cacheHeaders: null #hydraContext: null #openapi: false #exceptionToStatus: null #links: [ Symfony\Component\WebLink\Link {#1601 -rel: [ "http://www.w3.org/ns/json-ld#error" => "http://www.w3.org/ns/json-ld#error" ] -attributes: [] -href: "http://www.w3.org/ns/hydra/error" } ] #errors: [] } "resource_class" => "ApiPlatform\State\ApiResource\Error" "skip_null_to_one_relations" => true "iri_only" => false "request_uri" => "/api/token/refresh" "uri" => "https://dev.app.easytoday.se/api/token/refresh" "input" => null "output" => null "uri_variables" => [] "exclude_from_cache_key" => [ "root_operation" "operation" "object" "data" "property_metadata" "circular_reference_limit_counters" "debug_trace_id" "resources" "resources_to_push" ] "api_gateway" => false "base_url" => "" "spec_version" => "" "resources" => ApiPlatform\State\ResourceList {#1535 : [ "/api/errors/401" => "/api/errors/401" ] : false : false : "ArrayIterator" } "resources_to_push" => ApiPlatform\State\ResourceList {#1361 : [] : false : false : "ArrayIterator" } ] |
ErrorNormalizer (12.89 ms) | JsonEncoder (0.03 ms) | 13.13 ms |
deserialize 1
| Data | Context | Normalizer | Encoder | Time | Caller |
|---|---|---|---|---|---|
|
string
Show contents
"{"refresh_token":"pTvHZUJzNDCqgaasqk5CKhQaEV2kRhEedglKCA\/3hK95JuGD0vWp8hKZ6ViTN\/mG49u3spH+vNIyXP7hFtiqPjhUx1sywXwQ3hep86+gsgfa\/3OOo8D3\/gswhAjJ73Z0NCdjCLrNfcoz8KiQWDhreHXjHmT2KeB2qK3pCX+AjGakXAL6eqt8\/LDG7q9ppS0A3SClsoKkNIHwChRQ5QXRLA=="}"
|
Type: App\Api\Auth\Dto\TokenRefreshInput
Format: jsonld
Show context
[ "operation_name" => "_api_/token/refresh_post" "operation" => ApiPlatform\Metadata\Post {#1277 #parameters: null #shortName: "Auth" #class: "App\Api\Auth\Dto\TokenRefreshInput" #description: "Endpoint för att förnya access_token med en API‑nyckel (refresh_token)." #urlGenerationStrategy: null #deprecationReason: null #normalizationContext: null #denormalizationContext: [ "api_assign_object_to_populate" => true ] #collectDenormalizationErrors: null #validationContext: null #filters: [] #mercure: null #messenger: null #input: [ "class" => "App\Api\Auth\Dto\TokenRefreshInput" "name" => "TokenRefreshInput" ] #output: [ "class" => "App\Api\Auth\Dto\TokenRefreshOutput" "name" => "TokenRefreshOutput" ] #order: null #fetchPartial: null #forceEager: null #paginationEnabled: false #paginationType: null #paginationItemsPerPage: null #paginationMaximumItemsPerPage: null #paginationPartial: null #paginationClientEnabled: null #paginationClientItemsPerPage: null #paginationClientPartial: null #paginationFetchJoinCollection: null #paginationUseOutputWalkers: null #security: null #securityMessage: null #securityPostDenormalize: null #securityPostDenormalizeMessage: null #securityPostValidation: null #securityPostValidationMessage: null #provider: null #processor: "App\Api\Auth\Processor\TokenRefreshProcessor" #stateOptions: null #rules: null #policy: null #middleware: null #queryParameterValidationEnabled: null #strictQueryParameterValidation: null #hideHydraOperation: null #jsonStream: null #map: null #extraProperties: [ "user_defined_uri_template" => true ] #paginationViaCursor: null #read: false #deserialize: true #validate: true #write: null #serialize: null #priority: 0 #name: "_api_/token/refresh_post" #formats: null #inputFormats: [ "jsonld" => [ "application/ld+json" ] ] #outputFormats: [ "jsonld" => [ "application/ld+json" ] ] #method: "POST" #uriTemplate: "/token/refresh" #types: null #uriVariables: [] #routePrefix: null #routeName: null #defaults: null #requirements: null #options: null #stateless: true #sunset: null #acceptPatch: null #status: null #host: null #schemes: null #condition: null #controller: "api_platform.symfony.main_controller" #headers: null #cacheHeaders: [ "vary" => [ "Content-Type" "Authorization" "Origin" ] ] #hydraContext: null #openapi: null #exceptionToStatus: null #links: null #errors: null -itemUriTemplate: null } "resource_class" => "App\Api\Auth\Dto\TokenRefreshInput" "skip_null_values" => true "skip_null_to_one_relations" => true "iri_only" => false "request_uri" => "/api/token/refresh" "uri" => "https://dev.app.easytoday.se/api/token/refresh" "input" => [ "class" => "App\Api\Auth\Dto\TokenRefreshInput" "name" => "TokenRefreshInput" ] "output" => [ "class" => "App\Api\Auth\Dto\TokenRefreshOutput" "name" => "TokenRefreshOutput" ] "api_allow_update" => false "exclude_from_cache_key" => [ "root_operation" "operation" "object" "data" "property_metadata" "circular_reference_limit_counters" "debug_trace_id" ] "api_gateway" => false "base_url" => "" "spec_version" => "" "uri_variables" => [] ] |
ItemNormalizer (10.96 ms) | JsonEncoder (0.02 ms) | 11.38 ms |
normalize 0
Nothing was normalized.
denormalize 0
Nothing was denormalized.
encode 0
Nothing was encoded.
decode 0
Nothing was decoded.