private function prepareCsrfInstance(array $configs = [])
    {
        $configs = Config::get('security.csrf');

        $field = $configs['field_name'];
        $this->singleton(
            'security.csrf',
            function () use ($field) {
                return (new CsrfToken())->setFormFieldName($field);
            }
        );

    }