Lines Matching refs:authmethods
79 Authmethod *authmethods[] = { variable
482 for (i = 0; authmethods[i] != NULL; i++) { in authmethods_get()
483 if (strcmp(authmethods[i]->name, "none") == 0) in authmethods_get()
485 if (authmethods[i]->enabled == NULL || in authmethods_get()
486 *(authmethods[i]->enabled) == 0) in authmethods_get()
488 if (!auth2_method_allowed(authctxt, authmethods[i]->name, in authmethods_get()
492 authmethods[i]->name)) != 0) in authmethods_get()
507 for (i = 0; authmethods[i] != NULL; i++) in authmethod_lookup()
508 if (authmethods[i]->enabled != NULL && in authmethod_lookup()
509 *(authmethods[i]->enabled) != 0 && in authmethod_lookup()
510 strcmp(name, authmethods[i]->name) == 0 && in authmethod_lookup()
512 authmethods[i]->name, NULL)) in authmethod_lookup()
513 return authmethods[i]; in authmethod_lookup()
537 for (found = i = 0; !found && authmethods[i] != NULL; i++) { in auth2_methods_valid()
540 if (strcmp(method, authmethods[i]->name) != 0) in auth2_methods_valid()
543 if (authmethods[i]->enabled == NULL || in auth2_methods_valid()
544 *(authmethods[i]->enabled) == 0) { in auth2_methods_valid()