Lines Matching defs:authmethods
74 Authmethod *authmethods[] = {
453 for (i = 0; authmethods[i] != NULL; i++) {
454 if (strcmp(authmethods[i]->cfg->name, "none") == 0)
456 if (authmethods[i]->cfg->enabled == NULL ||
457 *(authmethods[i]->cfg->enabled) == 0)
459 if (!auth2_method_allowed(authctxt, authmethods[i]->cfg->name,
463 authmethods[i]->cfg->name)) != 0)
479 for (i = 0; authmethods[i] != NULL; i++) {
480 if (strcmp(name, authmethods[i]->cfg->name) == 0 ||
481 (authmethods[i]->cfg->synonym != NULL &&
482 strcmp(name, authmethods[i]->cfg->synonym) == 0))
483 return authmethods[i];