Lines Matching defs:auth
233 char *auth, *last, *auths;
241 while (auth = strtok_r(auths, KV_SEPSTR, &last)) {
244 res = cb(auth, ctxt, pres);
293 _auth_match_noun(const char *pattern, const char *auth,
317 (strncmp(pattern, auth, pattern_len) == 0)) {
330 * If the strings are identical up to the wildcard and auth does not
333 if (strncmp(pattern, auth, pattern_len - 1) == 0) {
334 grant = strrchr(auth, '.');
344 _auth_match(const char *pattern, const char *auth)
346 return (_auth_match_noun(pattern, auth, strlen(auth), NULL));
350 _is_authorized(const char *auth, void *authname, void *res)
367 if (strcmp(authname, auth) == 0) {
371 } else if (noun_len || strchr(auth, KV_WILDCHAR) != NULL) {
372 if (_auth_match_noun(auth, authname,