Some more detail: $req
file: code/Validad::Tools::Role::OX::Request::ApiKey 1: package Validad::Tools::Role::OX::Request::ApiKey; 2: 3: use 5.018; 4: use Moose::Role; 5: use HTTP::Throwable::Factory qw(http_throw); 6: 7: sub api_key { 8: my $self = shift; 9: return $self->env->{'psgix.api_key'}; 10: } 11: 12: sub api_id { 13: my $self = shift; 14: return $self->env->{'psgix.api_id'}; 15: }