@@ -37,11 +37,11 @@ class Credentials(rcreds.Creds):
3737 :meth:`acquire` method.
3838
3939 Raises:
40- BadMechanismError
41- BadNameTypeError
42- BadNameError
43- ExpiredCredentialsError
44- MissingCredentialsError
40+ ~gssapi.exceptions. BadMechanismError
41+ ~gssapi.exceptions. BadNameTypeError
42+ ~gssapi.exceptions. BadNameError
43+ ~gssapi.exceptions. ExpiredCredentialsError
44+ ~gssapi.exceptions. MissingCredentialsError
4545 """
4646
4747 __slots__ = ()
@@ -108,8 +108,8 @@ def acquire(cls, name=None, lifetime=None, mechs=None, usage='both',
108108 extension.
109109
110110 Args:
111- name (Name): the name associated with the credentials,
112- or None for the default name
111+ name (~gssapi.names. Name): the name associated with the
112+ credentials, or None for the default name
113113 lifetime (int): the desired lifetime of the credentials, or None
114114 for indefinite
115115 mechs (list): the desired :class:`MechType` OIDs to be used
@@ -125,11 +125,11 @@ def acquire(cls, name=None, lifetime=None, mechs=None, usage='both',
125125 them
126126
127127 Raises:
128- BadMechanismError
129- BadNameTypeError
130- BadNameError
131- ExpiredCredentialsError
132- MissingCredentialsError
128+ ~gssapi.exceptions. BadMechanismError
129+ ~gssapi.exceptions. BadNameTypeError
130+ ~gssapi.exceptions. BadNameError
131+ ~gssapi.exceptions. ExpiredCredentialsError
132+ ~gssapi.exceptions. MissingCredentialsError
133133 """
134134
135135 if store is None :
@@ -166,7 +166,7 @@ def store(self, store=None, usage='both', mech=None,
166166 or None for the default store.
167167 usage (str): the usage to store the credentials with -- either
168168 'both', 'initiate', or 'accept'
169- mech (OID): the :class:`MechType` to associate with the
169+ mech (~gssapi. OID): the :class:`MechType` to associate with the
170170 stored credentials
171171 overwrite (bool): whether or not to overwrite existing credentials
172172 stored with the same name, etc
@@ -177,11 +177,11 @@ def store(self, store=None, usage='both', mech=None,
177177 StoreCredResult: the results of the credential storing operation
178178
179179 Raises:
180- GSSError
181- ExpiredCredentialsError
182- MissingCredentialsError
183- OperationUnavailableError
184- DuplicateCredentialsElementError
180+ ~gssapi.exceptions. GSSError
181+ ~gssapi.exceptions. ExpiredCredentialsError
182+ ~gssapi.exceptions. MissingCredentialsError
183+ ~gssapi.exceptions. OperationUnavailableError
184+ ~gssapi.exceptions. DuplicateCredentialsElementError
185185 """
186186
187187 if store is None :
@@ -212,7 +212,7 @@ def impersonate(self, name=None, lifetime=None, mechs=None,
212212 :requires-ext:`s4u`
213213
214214 Args:
215- name (Name): the name to impersonate
215+ name (~gssapi.names. Name): the name to impersonate
216216 lifetime (int): the desired lifetime of the new credentials,
217217 or None for indefinite
218218 mechs (list): the desired :class:`MechType` OIDs for the new
@@ -251,9 +251,9 @@ def inquire(self, name=True, lifetime=True, usage=True, mechs=True):
251251 with None used when the corresponding argument was False
252252
253253 Raises:
254- MissingCredentialsError
255- InvalidCredentialsError
256- ExpiredCredentialsError
254+ ~gssapi.exceptions. MissingCredentialsError
255+ ~gssapi.exceptions. InvalidCredentialsError
256+ ~gssapi.exceptions. ExpiredCredentialsError
257257 """
258258
259259 res = rcreds .inquire_cred (self , name , lifetime , usage , mechs )
@@ -274,7 +274,8 @@ def inquire_by_mech(self, mech, name=True, init_lifetime=True,
274274 about them.
275275
276276 Args:
277- mech (OID): the mechanism for which to retrive the information
277+ mech (~gssapi.OID): the mechanism for which to retrive the
278+ information
278279 name (bool): get the name associated with the credentials
279280 init_lifetime (bool): get the remaining initiate lifetime for
280281 the credentials
@@ -327,10 +328,10 @@ def add(self, name, mech, usage='both',
327328 `impersonator` argument.
328329
329330 Args:
330- name (Name): the name associated with the
331- credentials
332- mech (OID): the desired :class:`MechType` to be used with the
331+ name (~gssapi.names.Name): the name associated with the
333332 credentials
333+ mech (~gssapi.OID): the desired :class:`MechType` to be used with
334+ the credentials
334335 usage (str): the usage for the credentials -- either 'both',
335336 'initiate', or 'accept'
336337 init_lifetime (int): the desired initiate lifetime of the
@@ -349,12 +350,12 @@ def add(self, name, mech, usage='both',
349350 and the newly acquired ones.
350351
351352 Raises:
352- BadMechanismError
353- BadNameTypeError
354- BadNameError
355- DuplicateCredentialsElementError
356- ExpiredCredentialsError
357- MissingCredentialsError
353+ ~gssapi.exceptions. BadMechanismError
354+ ~gssapi.exceptions. BadNameTypeError
355+ ~gssapi.exceptions. BadNameError
356+ ~gssapi.exceptions. DuplicateCredentialsElementError
357+ ~gssapi.exceptions. ExpiredCredentialsError
358+ ~gssapi.exceptions. MissingCredentialsError
358359 """
359360
360361 if store is not None and impersonator is not None :
0 commit comments