You are here

public function ServerRequest::getAttributes in Auth0 Single Sign On 8.2

Retrieve attributes derived from the request.

The request "attributes" may be used to allow injection of any parameters derived from the request: e.g., the results of path match operations; the results of decrypting cookies; the results of deserializing non-form-encoded message bodies; etc. Attributes will be application and request specific, and CAN be mutable.

Return value

array Attributes derived from the request.

Overrides ServerRequestInterface::getAttributes

File

vendor/guzzlehttp/psr7/src/ServerRequest.php, line 334

Class

ServerRequest
Server-side HTTP request

Namespace

GuzzleHttp\Psr7

Code

public function getAttributes() {
  return $this->attributes;
}