Lines Matching refs:auth_methods
466 if (list_starts_with(authctxt->auth_methods[i], method, in auth2_method_allowed()
580 strcmp(options.auth_methods[0], "any") == 0) { in auth2_setup_methods_lists()
581 free(options.auth_methods[0]); in auth2_setup_methods_lists()
582 options.auth_methods[0] = NULL; in auth2_setup_methods_lists()
589 authctxt->auth_methods = xcalloc(options.num_auth_methods, in auth2_setup_methods_lists()
590 sizeof(*authctxt->auth_methods)); in auth2_setup_methods_lists()
593 if (auth2_methods_valid(options.auth_methods[i], 1) != 0) { in auth2_setup_methods_lists()
596 options.auth_methods[i]); in auth2_setup_methods_lists()
600 authctxt->num_auth_methods, options.auth_methods[i]); in auth2_setup_methods_lists()
601 authctxt->auth_methods[authctxt->num_auth_methods++] = in auth2_setup_methods_lists()
602 xstrdup(options.auth_methods[i]); in auth2_setup_methods_lists()
678 if (!remove_method(&(authctxt->auth_methods[i]), method, in auth2_update_methods_lists()
682 if (*authctxt->auth_methods[i] == '\0') { in auth2_update_methods_lists()
687 i, authctxt->auth_methods[i]); in auth2_update_methods_lists()