src/Exception/OAuthServerException.php
public function getPayload()
    {
        $payload = $this->payload;

        // The "message" property is deprecated and replaced by "error_description"
        // TODO: remove "message" property
        if (isset($payload['error_description']) && !isset($payload['message'])) {
            $payload['message'] = $payload['error_description'];
        }

        return $payload;
    }
public function getPayload()
    {
        $payload = $this->payload;

        // The "message" property is deprecated and replaced by "error_description"
        // TODO: remove "message" property
        if (isset($payload['error_description']) && !isset($payload['message'])) {
            $payload['message'] = $payload['error_description'];
        }

        return $payload;
    }
public function getPayload ( ) { $ payload = $ this -> payload ; // The "message" property is deprecated and replaced by "error_description" // TODO: remove "message" property if ( isset ( $ payload [ 'error_description' ] ) && ! isset ( $ payload [ 'message' ] ) ) { $ payload [ 'message' ] = $ payload [ 'error_description' ] ; } return $ payload ; }
Returns the current payload.

@return array
Returns the current payload .