public static function generate(string $provider, string $identifier, array $attributes, array $payload)
    {
        $token = new static;

        $token->token = str_random(40);
        $token->provider = $provider;
        $token->identifier = $identifier;
        $token->user_attributes = $attributes;
        $token->payload = $payload;
        $token->created_at = Carbon::now();

        return $token;
    }