Lines Matching refs:authmethods
79 Authmethod *authmethods[] = { variable
483 for (i = 0; authmethods[i] != NULL; i++) { in authmethods_get()
484 if (strcmp(authmethods[i]->name, "none") == 0) in authmethods_get()
486 if (authmethods[i]->enabled == NULL || in authmethods_get()
487 *(authmethods[i]->enabled) == 0) in authmethods_get()
489 if (!auth2_method_allowed(authctxt, authmethods[i]->name, in authmethods_get()
493 authmethods[i]->name)) != 0) in authmethods_get()
508 for (i = 0; authmethods[i] != NULL; i++) in authmethod_lookup()
509 if (authmethods[i]->enabled != NULL && in authmethod_lookup()
510 *(authmethods[i]->enabled) != 0 && in authmethod_lookup()
511 strcmp(name, authmethods[i]->name) == 0 && in authmethod_lookup()
513 authmethods[i]->name, NULL)) in authmethod_lookup()
514 return authmethods[i]; in authmethod_lookup()
538 for (found = i = 0; !found && authmethods[i] != NULL; i++) { in auth2_methods_valid()
541 if (strcmp(method, authmethods[i]->name) != 0) in auth2_methods_valid()
544 if (authmethods[i]->enabled == NULL || in auth2_methods_valid()
545 *(authmethods[i]->enabled) == 0) { in auth2_methods_valid()