Lines Matching defs:authmethods
77 Authmethod *authmethods[] = {
500 for (i = 0; authmethods[i] != NULL; i++) {
501 if (strcmp(authmethods[i]->cfg->name, "none") == 0)
503 if (authmethods[i]->cfg->enabled == NULL ||
504 *(authmethods[i]->cfg->enabled) == 0)
506 if (!auth2_method_allowed(authctxt, authmethods[i]->cfg->name,
510 authmethods[i]->cfg->name)) != 0)
526 for (i = 0; authmethods[i] != NULL; i++) {
527 if (strcmp(name, authmethods[i]->cfg->name) == 0 ||
528 (authmethods[i]->cfg->synonym != NULL &&
529 strcmp(name, authmethods[i]->cfg->synonym) == 0))
530 return authmethods[i];