Lines Matching defs:authctxt
58 userauth_pubkey(Authctxt *authctxt)
68 if (!authctxt || !authctxt->method)
104 if (authctxt->method->method_data) {
114 prev_key = authctxt->method->method_data;
119 authctxt->method->abandons++;
120 authctxt->method->attempts++;
124 authctxt->method->method_data = NULL;
138 buffer_put_cstring(&b, authctxt->user);
142 authctxt->service);
155 if (user_key_allowed(authctxt->pw, key) &&
160 authctxt->method->postponed = 0;
175 if (user_key_allowed(authctxt->pw, key)) {
181 authctxt->method->postponed = 1;
186 authctxt->method->method_data = (void *) key;
201 if (!do_pam_non_initial_userauth(authctxt))
212 if (check_nt_auth(0, authctxt->pw) == 0)
216 authctxt->method->authenticated = 1;
337 userauth_pubkey_abandon(Authctxt *authctxt, Authmethod *method)
339 if (!authctxt || !method)