public function payload(string $token): array
    {
        $segments = $this->segments($token);

        return json_decode(
            FirebaseJWT::urlsafeB64Decode($segments[1]), true
        );
    }
public function payload(string $token): array
    {
        $segments = $this->segments($token);

        return json_decode(
            FirebaseJWT::urlsafeB64Decode($segments[1]), true
        );
    }
public function payload ( string $ token ) : array { $ segments = $ this -> segments ( $ token ) ; return json_decode ( FirebaseJWT :: urlsafeB64Decode ( $ segments [ 1 ] ) , true ) ; }
Extract payload of jwt token without validations

@param string $token JWT Token as string
@return array Returns payload as array
@throws Exception
Extract payload of jwt token without validations