gluu
|
名前空間 | |
duo_web | |
関数 | |
def | duo_web._hmac_sha1 (key, msg) |
def | duo_web._sign_vals (key, vals, prefix, expire) |
def | duo_web._parse_vals (key, val, prefix, ikey) |
def | duo_web._sign_request (ikey, skey, akey, username, prefix) |
def | duo_web.sign_request (ikey, skey, akey, username) |
def | duo_web.sign_enroll_request (ikey, skey, akey, username) |
def | duo_web._verify_response (ikey, skey, akey, prefix, sig_response) |
def | duo_web.verify_response (ikey, skey, akey, sig_response) |
def | duo_web.verify_enroll_response (ikey, skey, akey, sig_response) |
変数 | |
string | duo_web.DUO_PREFIX = 'TX' |
string | duo_web.APP_PREFIX = 'APP' |
string | duo_web.AUTH_PREFIX = 'AUTH' |
string | duo_web.ENROLL_PREFIX = 'ENROLL' |
string | duo_web.ENROLL_REQUEST_PREFIX = 'ENROLL_REQUEST' |
int | duo_web.DUO_EXPIRE = 300 |
int | duo_web.APP_EXPIRE = 3600 |
int | duo_web.IKEY_LEN = 20 |
int | duo_web.SKEY_LEN = 40 |
int | duo_web.AKEY_LEN = 40 |
string | duo_web.ERR_USER = 'ERR|The username passed to sign_request() is invalid.' |
string | duo_web.ERR_IKEY = 'ERR|The Duo integration key passed to sign_request() is invalid.' |
string | duo_web.ERR_SKEY = 'ERR|The Duo secret key passed to sign_request() is invalid.' |
string | duo_web.ERR_AKEY = 'ERR|The application secret key passed to sign_request() must be at least %s characters.' % AKEY_LEN |
string | duo_web.ERR_UNKNOWN = 'ERR|An unknown error has occurred.' |