method get documentation in bbn\Util\Jwt

function(string $jwt) { try { $payload = \Firebase\JWT\JWT::decode($jwt, $this->key, ['HS256', 'RS512']); } catch (\Exception $e) { X::hdump($e->getMessage()); throw new \Exception($e); } if (!empty($payload->data)) { return X::toArray($payload->data); } return null; }

BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way

This website uses cookies to ensure you get the best experience on our website.