Lines Matching refs:style
323 auth_usercheck(char *name, char *style, char *type, char *password)
339 * Split up user:style names if we were not given a style
341 if (style == NULL && (style = strchr(name, ':')) != NULL)
342 *style++ = '\0';
360 if ((style = login_getstyle(lc, style, type)) == NULL) {
376 as = auth_verify(as, style, name, lc->lc_class, (char *)NULL);
383 auth_userokay(char *name, char *style, char *type, char *password)
387 as = auth_usercheck(name, style, type, password);
394 auth_userchallenge(char *name, char *style, char *type, char **challengep)
410 * Split up user:style names if we were not given a style
412 if (style == NULL && (style = strchr(name, ':')) != NULL)
413 *style++ = '\0';
431 if ((style = login_getstyle(lc, style, type)) == NULL ||
436 if (auth_setitem(as, AUTHV_STYLE, style) < 0 ||
453 char *style, *name, *challenge, *class;
461 if ((style = auth_getitem(as, AUTHV_STYLE)) == NULL ||
469 len = snprintf(path, sizeof(path), _PATH_AUTHPROG "%s", style);
489 auth_call(as, path, style, "-s", "response", "--", name,
504 * Authenticate name with the specified style.
513 auth_verify(auth_session_t *as, char *style, char *name, ...)
518 if ((name == NULL || style == NULL) && as == NULL)
525 if (style != NULL && auth_setitem(as, AUTHV_STYLE, style) < 0)
531 style = auth_getitem(as, AUTHV_STYLE);
536 snprintf(path, sizeof(path), _PATH_AUTHPROG "%s", style);