-
Notifications
You must be signed in to change notification settings - Fork 48
/
Copy path__init__.py
54 lines (39 loc) · 1.3 KB
/
__init__.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
"""High-Level GSSAPI Bindings
The high-level API contains three main classes, which represent
the primary abstractions that GSSAPI provides:
Name (see gssapi.names)
Credentials (see gssapi.creds)
SecurityContext (see gssapi.sec_contexts)
Additionally, a number of helper classes shared with the low-level API
exist as well:
Enums (see gssapi.raw.types) --
NameType, RequirementFlag, AddressType, MechType
IntEnumFlagSet (see gssapi.raw.types)
OID (see gssapi.raw.oids)
Note:
Classes in the high-level API inherit from the corresponding
classes in the low-level API, and thus may be passed in to
low-level API functions.
"""
import gssapi._win_config # noqa
from gssapi.raw.types import NameType, RequirementFlag, AddressType # noqa
from gssapi.raw.types import MechType, IntEnumFlagSet # noqa
from gssapi.raw.oids import OID # noqa
from gssapi.creds import Credentials # noqa
from gssapi.names import Name # noqa
from gssapi.sec_contexts import SecurityContext # noqa
from gssapi.mechs import Mechanism # noqa
from gssapi._utils import set_encoding # noqa
__all__ = [
'AddressType',
'Credentials',
'IntEnumFlagSet',
'Mechanism',
'MechType',
'Name',
'NameType',
'OID',
'RequirementFlag',
'SecurityContext',
'set_encoding',
]