@@ -162,7 +162,7 @@ <h1>Source code for gssapi.creds</h1><div class="highlight"><pre>
162162
163163 < span class ="nd "> @property</ span >
164164 < span class ="k "> def</ span > < span class ="nf "> lifetime</ span > < span class ="p "> (</ span > < span class ="bp "> self</ span > < span class ="p "> )</ span > < span class ="o "> -></ span > < span class ="nb "> int</ span > < span class ="p "> :</ span >
165- < span class ="sd "> """Get the remaining lifetime of these credentials"""</ span >
165+ < span class ="sd "> """Get the remaining lifetime of these credentials, in seconds """</ span >
166166 < span class ="k "> return</ span > < span class ="n "> t</ span > < span class ="o "> .</ span > < span class ="n "> cast</ span > < span class ="p "> (</ span > < span class ="nb "> int</ span > < span class ="p "> ,</ span >
167167 < span class ="bp "> self</ span > < span class ="o "> .</ span > < span class ="n "> inquire</ span > < span class ="p "> (</ span > < span class ="n "> name</ span > < span class ="o "> =</ span > < span class ="kc "> False</ span > < span class ="p "> ,</ span > < span class ="n "> lifetime</ span > < span class ="o "> =</ span > < span class ="kc "> True</ span > < span class ="p "> ,</ span >
168168 < span class ="n "> usage</ span > < span class ="o "> =</ span > < span class ="kc "> False</ span > < span class ="p "> ,</ span > < span class ="n "> mechs</ span > < span class ="o "> =</ span > < span class ="kc "> False</ span > < span class ="p "> )</ span > < span class ="o "> .</ span > < span class ="n "> lifetime</ span > < span class ="p "> )</ span >
@@ -209,8 +209,8 @@ <h1>Source code for gssapi.creds</h1><div class="highlight"><pre>
209209< span class ="sd "> Args:</ span >
210210< span class ="sd "> name (~gssapi.names.Name): the name associated with the</ span >
211211< span class ="sd "> credentials, or None for the default name</ span >
212- < span class ="sd "> lifetime (int): the desired lifetime of the credentials, or None </ span >
213- < span class ="sd "> for indefinite</ span >
212+ < span class ="sd "> lifetime (int): the desired lifetime of the credentials in seconds, </ span >
213+ < span class ="sd "> or None for indefinite</ span >
214214< span class ="sd "> mechs (list): the desired :class:`MechType` OIDs to be used</ span >
215215< span class ="sd "> with the credentials, or None for the default set</ span >
216216< span class ="sd "> usage (str): the usage for the credentials -- either 'both',</ span >
@@ -325,8 +325,8 @@ <h1>Source code for gssapi.creds</h1><div class="highlight"><pre>
325325
326326< span class ="sd "> Args:</ span >
327327< span class ="sd "> name (~gssapi.names.Name): the name to impersonate</ span >
328- < span class ="sd "> lifetime (int): the desired lifetime of the new credentials, </ span >
329- < span class ="sd "> or None for indefinite</ span >
328+ < span class ="sd "> lifetime (int): the desired lifetime of the new credentials in </ span >
329+ < span class ="sd "> seconds, or None for indefinite</ span >
330330< span class ="sd "> mechs (list): the desired :class:`MechType` OIDs for the new</ span >
331331< span class ="sd "> credentials</ span >
332332< span class ="sd "> usage (str): the desired usage for the new credentials -- either</ span >
@@ -398,13 +398,13 @@ <h1>Source code for gssapi.creds</h1><div class="highlight"><pre>
398398< span class ="sd "> about them.</ span >
399399
400400< span class ="sd "> Args:</ span >
401- < span class ="sd "> mech (~gssapi.OID): the mechanism for which to retrive the</ span >
401+ < span class ="sd "> mech (~gssapi.OID): the mechanism for which to retrieve the</ span >
402402< span class ="sd "> information</ span >
403403< span class ="sd "> name (bool): get the name associated with the credentials</ span >
404404< span class ="sd "> init_lifetime (bool): get the remaining initiate lifetime for</ span >
405- < span class ="sd "> the credentials</ span >
405+ < span class ="sd "> the credentials in seconds </ span >
406406< span class ="sd "> accept_lifetime (bool): get the remaining accept lifetime for</ span >
407- < span class ="sd "> the credentials</ span >
407+ < span class ="sd "> the credentials in seconds </ span >
408408< span class ="sd "> usage (bool): get the usage for the credentials</ span >
409409
410410< span class ="sd "> Returns:</ span >
@@ -468,9 +468,9 @@ <h1>Source code for gssapi.creds</h1><div class="highlight"><pre>
468468< span class ="sd "> usage (str): the usage for the credentials -- either 'both',</ span >
469469< span class ="sd "> 'initiate', or 'accept'</ span >
470470< span class ="sd "> init_lifetime (int): the desired initiate lifetime of the</ span >
471- < span class ="sd "> credentials, or None for indefinite</ span >
471+ < span class ="sd "> credentials in seconds , or None for indefinite</ span >
472472< span class ="sd "> accept_lifetime (int): the desired accept lifetime of the</ span >
473- < span class ="sd "> credentials, or None for indefinite</ span >
473+ < span class ="sd "> credentials in seconds , or None for indefinite</ span >
474474< span class ="sd "> impersonator (Credentials): the credentials to use to impersonate</ span >
475475< span class ="sd "> the given name, or None to not acquire normally</ span >
476476< span class ="sd "> (:requires-ext:`s4u`)</ span >
0 commit comments