|
build_authenticate_header(realm='
' )
Optional WWW-Authenticate header (401 error) |
source code
|
|
|
build_xoauth_string(url,
consumer,
token=None)
Build an XOAUTH string for use in SMTP/IMPA authentication. |
source code
|
|
|
to_unicode(s)
Convert to unicode, raise exception with instructive error message if
s is not unicode, ascii, or utf-8. |
source code
|
|
|
|
|
|
|
|
|
to_unicode_optional_iterator(x)
Raise TypeError if x is a str containing non-utf8 bytes or if x is an
iterable which contains such a str. |
source code
|
|
|
to_utf8_optional_iterator(x)
Raise TypeError if x is a str or if x is an iterable which contains a
str. |
source code
|
|
|
|
|
generate_timestamp()
Get seconds since epoch (UTC). |
source code
|
|
|
generate_nonce(length=8)
Generate pseudorandom number. |
source code
|
|
|
generate_verifier(length=8)
Generate pseudorandom number. |
source code
|
|
|
|