Lines Matching refs:authused
91 void Curl_sasl_cleanup(struct connectdata *conn, unsigned short authused) in Curl_sasl_cleanup() argument
94 (void)authused; in Curl_sasl_cleanup()
98 if(authused == SASL_MECH_GSSAPI) { in Curl_sasl_cleanup()
105 if(authused & (SASL_MECH_SCRAM_SHA_1 | SASL_MECH_SCRAM_SHA_256)) { in Curl_sasl_cleanup()
112 if(authused == SASL_MECH_NTLM) { in Curl_sasl_cleanup()
202 sasl->authused = SASL_AUTH_NONE; /* The authentication mechanism used */ in Curl_sasl_init()
367 sasl->authused = 0; /* No mechanism used yet */ in Curl_sasl_start()
376 sasl->authused = SASL_MECH_EXTERNAL; in Curl_sasl_start()
389 sasl->authused = SASL_MECH_GSSAPI; in Curl_sasl_start()
407 sasl->authused = SASL_MECH_SCRAM_SHA_256; in Curl_sasl_start()
420 sasl->authused = SASL_MECH_SCRAM_SHA_1; in Curl_sasl_start()
436 sasl->authused = SASL_MECH_DIGEST_MD5; in Curl_sasl_start()
441 sasl->authused = SASL_MECH_CRAM_MD5; in Curl_sasl_start()
450 sasl->authused = SASL_MECH_NTLM; in Curl_sasl_start()
465 sasl->authused = SASL_MECH_OAUTHBEARER; in Curl_sasl_start()
477 sasl->authused = SASL_MECH_XOAUTH2; in Curl_sasl_start()
487 sasl->authused = SASL_MECH_PLAIN; in Curl_sasl_start()
498 sasl->authused = SASL_MECH_LOGIN; in Curl_sasl_start()
688 if(sasl->authused == SASL_MECH_OAUTHBEARER) { in Curl_sasl_continue()
725 sasl->authmechs ^= sasl->authused; in Curl_sasl_continue()