Skip to content

Commit faf3a93

Browse files
committed
Deploying to gh-pages from @ b056666 🚀
1 parent 5b8499e commit faf3a93

File tree

99 files changed

+35891
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

99 files changed

+35891
-0
lines changed

latest/.buildinfo

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Sphinx build info version 1
2+
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
3+
config: e3082d9788f520782b17d51cc39a3d58
4+
tags: 645f666f9bcd5a90fca523b33c5a78b7
30.2 KB
Binary file not shown.

latest/.doctrees/credstore.doctree

20.7 KB
Binary file not shown.

latest/.doctrees/environment.pickle

3.44 MB
Binary file not shown.

latest/.doctrees/gssapi.doctree

537 KB
Binary file not shown.

latest/.doctrees/gssapi.raw.doctree

1.34 MB
Binary file not shown.

latest/.doctrees/index.doctree

9.59 KB
Binary file not shown.

latest/.doctrees/otherdoc.doctree

3.19 KB
Binary file not shown.

latest/.doctrees/tutorials.doctree

2.91 KB
Binary file not shown.

latest/_modules/gssapi/_utils.html

Lines changed: 299 additions & 0 deletions
Large diffs are not rendered by default.

latest/_modules/gssapi/creds.html

Lines changed: 580 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 151 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,151 @@
1+
<!DOCTYPE html>
2+
<html class="writer-html5" lang="en" >
3+
<head>
4+
<meta charset="utf-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
<title>gssapi.exceptions &mdash; Python-GSSAPI 1.8.2 documentation</title>
7+
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
8+
<link rel="stylesheet" href="../../_static/css/theme.css" type="text/css" />
9+
<link rel="stylesheet" href="../../_static/graphviz.css" type="text/css" />
10+
<!--[if lt IE 9]>
11+
<script src="../../_static/js/html5shiv.min.js"></script>
12+
<![endif]-->
13+
14+
<script data-url_root="../../" id="documentation_options" src="../../_static/documentation_options.js"></script>
15+
<script src="../../_static/jquery.js"></script>
16+
<script src="../../_static/underscore.js"></script>
17+
<script src="../../_static/_sphinx_javascript_frameworks_compat.js"></script>
18+
<script src="../../_static/doctools.js"></script>
19+
<script src="../../_static/sphinx_highlight.js"></script>
20+
<script src="../../_static/js/theme.js"></script>
21+
<link rel="index" title="Index" href="../../genindex.html" />
22+
<link rel="search" title="Search" href="../../search.html" />
23+
</head>
24+
25+
<body class="wy-body-for-nav">
26+
<div class="wy-grid-for-nav">
27+
<nav data-toggle="wy-nav-shift" class="wy-nav-side">
28+
<div class="wy-side-scroll">
29+
<div class="wy-side-nav-search" >
30+
<a href="../../index.html" class="icon icon-home"> Python-GSSAPI
31+
</a>
32+
<div class="version">
33+
1.8.2
34+
</div>
35+
<div role="search">
36+
<form id="rtd-search-form" class="wy-form" action="../../search.html" method="get">
37+
<input type="text" name="q" placeholder="Search docs" />
38+
<input type="hidden" name="check_keywords" value="yes" />
39+
<input type="hidden" name="area" value="default" />
40+
</form>
41+
</div>
42+
</div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
43+
<ul>
44+
<li class="toctree-l1"><a class="reference internal" href="../../gssapi.html">High-Level API</a></li>
45+
<li class="toctree-l1"><a class="reference internal" href="../../gssapi.raw.html">Low-Level API</a></li>
46+
<li class="toctree-l1"><a class="reference internal" href="../../otherdoc.html">Other Documentation</a></li>
47+
<li class="toctree-l1"><a class="reference internal" href="../../tutorials.html">Tutorials</a></li>
48+
</ul>
49+
50+
</div>
51+
</div>
52+
</nav>
53+
54+
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap"><nav class="wy-nav-top" aria-label="Mobile navigation menu" >
55+
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
56+
<a href="../../index.html">Python-GSSAPI</a>
57+
</nav>
58+
59+
<div class="wy-nav-content">
60+
<div class="rst-content">
61+
<div role="navigation" aria-label="Page navigation">
62+
<ul class="wy-breadcrumbs">
63+
<li><a href="../../index.html" class="icon icon-home"></a></li>
64+
<li class="breadcrumb-item"><a href="../index.html">Module code</a></li>
65+
<li class="breadcrumb-item active">gssapi.exceptions</li>
66+
<li class="wy-breadcrumbs-aside">
67+
</li>
68+
</ul>
69+
<hr/>
70+
</div>
71+
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
72+
<div itemprop="articleBody">
73+
74+
<h1>Source code for gssapi.exceptions</h1><div class="highlight"><pre>
75+
<span></span><span class="kn">import</span> <span class="nn">typing</span> <span class="k">as</span> <span class="nn">t</span>
76+
77+
<span class="kn">from</span> <span class="nn">gssapi.raw.exceptions</span> <span class="kn">import</span> <span class="o">*</span> <span class="c1"># noqa</span>
78+
<span class="kn">from</span> <span class="nn">gssapi.raw.misc</span> <span class="kn">import</span> <span class="n">GSSError</span> <span class="c1"># noqa</span>
79+
80+
<span class="sd">&quot;&quot;&quot;High-Level API Errors</span>
81+
82+
<span class="sd">This module includes several high-level exceptions,</span>
83+
<span class="sd">in addition to GSSError and exceptions from</span>
84+
<span class="sd">:mod:`gssapi.raw.exceptions`.</span>
85+
<span class="sd">&quot;&quot;&quot;</span>
86+
87+
88+
<span class="c1"># non-GSS exceptions</span>
89+
<div class="viewcode-block" id="GeneralError"><a class="viewcode-back" href="../../gssapi.html#gssapi.exceptions.GeneralError">[docs]</a><span class="k">class</span> <span class="nc">GeneralError</span><span class="p">(</span><span class="ne">Exception</span><span class="p">):</span>
90+
<span class="sd">&quot;&quot;&quot;A General High-Level API Error&quot;&quot;&quot;</span>
91+
<span class="n">MAJOR_MESSAGE</span> <span class="o">=</span> <span class="s2">&quot;General error&quot;</span>
92+
<span class="n">FMT_STR</span> <span class="o">=</span> <span class="s2">&quot;</span><span class="si">{maj}</span><span class="s2">: </span><span class="si">{min}</span><span class="s2">.&quot;</span>
93+
94+
<span class="k">def</span> <span class="fm">__init__</span><span class="p">(</span>
95+
<span class="bp">self</span><span class="p">,</span>
96+
<span class="n">minor_message</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span>
97+
<span class="o">**</span><span class="n">kwargs</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span>
98+
<span class="p">)</span> <span class="o">-&gt;</span> <span class="kc">None</span><span class="p">:</span>
99+
<span class="n">maj_str</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">MAJOR_MESSAGE</span><span class="o">.</span><span class="n">format</span><span class="p">(</span><span class="o">**</span><span class="n">kwargs</span><span class="p">)</span>
100+
<span class="n">err_str</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">FMT_STR</span><span class="o">.</span><span class="n">format</span><span class="p">(</span><span class="n">maj</span><span class="o">=</span><span class="n">maj_str</span><span class="p">,</span> <span class="nb">min</span><span class="o">=</span><span class="n">minor_message</span><span class="p">)</span>
101+
<span class="nb">super</span><span class="p">(</span><span class="n">GeneralError</span><span class="p">,</span> <span class="bp">self</span><span class="p">)</span><span class="o">.</span><span class="fm">__init__</span><span class="p">(</span><span class="n">err_str</span><span class="p">)</span></div>
102+
103+
104+
<div class="viewcode-block" id="UnknownUsageError"><a class="viewcode-back" href="../../gssapi.html#gssapi.exceptions.UnknownUsageError">[docs]</a><span class="k">class</span> <span class="nc">UnknownUsageError</span><span class="p">(</span><span class="n">GeneralError</span><span class="p">):</span>
105+
<span class="sd">&quot;&quot;&quot;An Error indicating an unknown usage type&quot;&quot;&quot;</span>
106+
<span class="n">MAJOR_MESSAGE</span> <span class="o">=</span> <span class="s2">&quot;Unable to determine </span><span class="si">{obj}</span><span class="s2"> usage&quot;</span></div>
107+
108+
109+
<div class="viewcode-block" id="EncryptionNotUsed"><a class="viewcode-back" href="../../gssapi.html#gssapi.exceptions.EncryptionNotUsed">[docs]</a><span class="k">class</span> <span class="nc">EncryptionNotUsed</span><span class="p">(</span><span class="n">GeneralError</span><span class="p">):</span>
110+
<span class="sd">&quot;&quot;&quot;An Error indicating that encryption was requested, but not used&quot;&quot;&quot;</span>
111+
<span class="n">MAJOR_MESSAGE</span> <span class="o">=</span> <span class="s2">&quot;Confidentiality was requested, but not used&quot;</span>
112+
113+
<span class="k">def</span> <span class="fm">__init__</span><span class="p">(</span>
114+
<span class="bp">self</span><span class="p">,</span>
115+
<span class="n">minor_message</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span>
116+
<span class="n">unwrapped_message</span><span class="p">:</span> <span class="n">t</span><span class="o">.</span><span class="n">Optional</span><span class="p">[</span><span class="nb">bytes</span><span class="p">]</span> <span class="o">=</span> <span class="kc">None</span><span class="p">,</span>
117+
<span class="o">**</span><span class="n">kwargs</span><span class="p">:</span> <span class="nb">str</span><span class="p">,</span>
118+
<span class="p">)</span> <span class="o">-&gt;</span> <span class="kc">None</span><span class="p">:</span>
119+
<span class="nb">super</span><span class="p">(</span><span class="n">EncryptionNotUsed</span><span class="p">,</span> <span class="bp">self</span><span class="p">)</span><span class="o">.</span><span class="fm">__init__</span><span class="p">(</span><span class="n">minor_message</span><span class="p">,</span> <span class="o">**</span><span class="n">kwargs</span><span class="p">)</span>
120+
121+
<span class="bp">self</span><span class="o">.</span><span class="n">unwrapped_message</span> <span class="o">=</span> <span class="n">unwrapped_message</span></div>
122+
</pre></div>
123+
124+
</div>
125+
</div>
126+
<footer>
127+
128+
<hr/>
129+
130+
<div role="contentinfo">
131+
<p>&#169; Copyright 2014, The Python-GSSAPI team.</p>
132+
</div>
133+
134+
Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
135+
<a href="https://github.com/readthedocs/sphinx_rtd_theme">theme</a>
136+
provided by <a href="https://readthedocs.org">Read the Docs</a>.
137+
138+
139+
</footer>
140+
</div>
141+
</div>
142+
</section>
143+
</div>
144+
<script>
145+
jQuery(function () {
146+
SphinxRtdTheme.Navigation.enable(true);
147+
});
148+
</script>
149+
150+
</body>
151+
</html>

0 commit comments

Comments
 (0)