<spanid="vmware-vapi-security-client-package"></span><h1>vmware.vapi.security.client package<aclass="headerlink"href="#module-vmware.vapi.security.client"title="Permalink to this headline">¶</a></h1>
<divclass="section"id="submodules">
<h2>Submodules<aclass="headerlink"href="#submodules"title="Permalink to this headline">¶</a></h2>
<spanid="vmware-vapi-security-client-security-context-filter-module"></span><h2>vmware.vapi.security.client.security_context_filter module<aclass="headerlink"href="#module-vmware.vapi.security.client.security_context_filter"title="Permalink to this headline">¶</a></h2>
<emclass="property">class </em><codeclass="sig-prename descclassname">vmware.vapi.security.client.security_context_filter.</code><codeclass="sig-name descname">LegacySecurityContextFilter</code><spanclass="sig-paren">(</span><emclass="sig-param">next_provider=None</em>, <emclass="sig-param">security_context=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#vmware.vapi.security.client.security_context_filter.LegacySecurityContextFilter"title="Permalink to this definition">¶</a></dt>
<li><p><strong>next_provider</strong> (<aclass="reference internal"href="vmware.vapi.html#vmware.vapi.core.ApiProvider"title="vmware.vapi.core.ApiProvider"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">vmware.vapi.core.ApiProvider</span></code></a>) – API Provider to invoke the requests</p></li>
<codeclass="sig-name descname">get_max_retries</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#vmware.vapi.security.client.security_context_filter.LegacySecurityContextFilter.get_max_retries"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">get_security_context</code><spanclass="sig-paren">(</span><emclass="sig-param">on_error</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#vmware.vapi.security.client.security_context_filter.LegacySecurityContextFilter.get_security_context"title="Permalink to this definition">¶</a></dt>
<ddclass="field-odd"><p><strong>on_error</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">bool</span></code>) – Whether this method is called after getting an error</p>
<codeclass="sig-name descname">set_security_context</code><spanclass="sig-paren">(</span><emclass="sig-param">security_context</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#vmware.vapi.security.client.security_context_filter.LegacySecurityContextFilter.set_security_context"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">should_retry</code><spanclass="sig-paren">(</span><emclass="sig-param">error_value</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#vmware.vapi.security.client.security_context_filter.LegacySecurityContextFilter.should_retry"title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="sig-prename descclassname">vmware.vapi.security.client.security_context_filter.</code><codeclass="sig-name descname">SecurityContextFilter</code><spanclass="sig-paren">(</span><emclass="sig-param">next_provider=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#vmware.vapi.security.client.security_context_filter.SecurityContextFilter"title="Permalink to this definition">¶</a></dt>
<ddclass="field-odd"><p><strong>next_provider</strong> (<aclass="reference internal"href="vmware.vapi.html#vmware.vapi.core.ApiProvider"title="vmware.vapi.core.ApiProvider"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">vmware.vapi.core.ApiProvider</span></code></a>) – API Provider to invoke the requests</p>
<emclass="property">abstract </em><codeclass="sig-name descname">get_max_retries</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#vmware.vapi.security.client.security_context_filter.SecurityContextFilter.get_max_retries"title="Permalink to this definition">¶</a></dt>
<emclass="property">abstract </em><codeclass="sig-name descname">get_security_context</code><spanclass="sig-paren">(</span><emclass="sig-param">on_error</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#vmware.vapi.security.client.security_context_filter.SecurityContextFilter.get_security_context"title="Permalink to this definition">¶</a></dt>
<ddclass="field-odd"><p><strong>on_error</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">bool</span></code>) – Whether this method is called after getting an error</p>
<codeclass="sig-name descname">invoke</code><spanclass="sig-paren">(</span><emclass="sig-param">service_id</em>, <emclass="sig-param">operation_id</em>, <emclass="sig-param">input_value</em>, <emclass="sig-param">ctx</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#vmware.vapi.security.client.security_context_filter.SecurityContextFilter.invoke"title="Permalink to this definition">¶</a></dt>
<emclass="property">abstract </em><codeclass="sig-name descname">should_retry</code><spanclass="sig-paren">(</span><emclass="sig-param">error_value</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#vmware.vapi.security.client.security_context_filter.SecurityContextFilter.should_retry"title="Permalink to this definition">¶</a></dt>
Built with <ahref="http://sphinx-doc.org/">Sphinx</a> using a <ahref="https://github.com/rtfd/sphinx_rtd_theme">theme</a> provided by <ahref="https://readthedocs.org">Read the Docs</a>.