Lines Matching refs:authmethods
82 Authmethod *authmethods[] = { variable
495 for (i = 0; authmethods[i] != NULL; i++) { in authmethods_get()
496 if (strcmp(authmethods[i]->name, "none") == 0) in authmethods_get()
498 if (authmethods[i]->enabled == NULL || in authmethods_get()
499 *(authmethods[i]->enabled) == 0) in authmethods_get()
501 if (!auth2_method_allowed(authctxt, authmethods[i]->name, in authmethods_get()
505 authmethods[i]->name)) != 0) in authmethods_get()
520 for (i = 0; authmethods[i] != NULL; i++) in authmethod_lookup()
521 if (authmethods[i]->enabled != NULL && in authmethod_lookup()
522 *(authmethods[i]->enabled) != 0 && in authmethod_lookup()
523 strcmp(name, authmethods[i]->name) == 0 && in authmethod_lookup()
525 authmethods[i]->name, NULL)) in authmethod_lookup()
526 return authmethods[i]; in authmethod_lookup()
550 for (found = i = 0; !found && authmethods[i] != NULL; i++) { in auth2_methods_valid()
553 if (strcmp(method, authmethods[i]->name) != 0) in auth2_methods_valid()
556 if (authmethods[i]->enabled == NULL || in auth2_methods_valid()
557 *(authmethods[i]->enabled) == 0) { in auth2_methods_valid()