protected function parseClaims($data)
    {
        $claims = (array) $this->deserializer->fromJSON($this->deserializer->fromBase64URL($data));

        foreach ($claims as $name => &$value) {
            $value = $this->claimFactory->create($name, $value);
        }

        return $claims;
    }
protected function parseClaims($data)
    {
        $claims = (array) $this->deserializer->fromJSON($this->deserializer->fromBase64URL($data));

        foreach ($claims as $name => &$value) {
            $value = $this->claimFactory->create($name, $value);
        }

        return $claims;
    }
protected function parseClaims ( $ data ) { $ claims = ( array ) $ this -> deserializer -> fromJSON ( $ this -> deserializer -> fromBase64URL ( $ data ) ) ; foreach ( $ claims as $ name => & $ value ) { $ value = $ this -> claimFactory -> create ( $ name , $ value ) ; } return $ claims ; }
Parses the claim set from a string

@param string $data

@return array
Parses the claim set from a string