Lines Matching refs:scheme

37    scheme will be used first when the server supports it.
42 Use lower case for the scheme names to enable case insensitive matching.
117 * tries to find a matching scheme handler.
128 const serf__authn_scheme_t *scheme;
136 Note that we don't reuse the auth scheme stored in the context,
138 for (scheme = serf_authn_schemes; scheme->name != 0; ++scheme) {
143 if (! (ctx->authn_types & scheme->type))
147 "Client supports: %s\n", scheme->name);
149 auth_hdr = apr_hash_get(hdrs, scheme->key, APR_HASH_KEY_STRING);
154 /* Found a matching scheme */
157 handler = scheme->handle_func;
160 "... matched: %s\n", scheme->name);
167 /* If this is the first time we use this scheme on this context and/or
170 if (authn_info->scheme != scheme) {
171 status = scheme->init_ctx_func(code, ctx, ctx->pool);
173 status = scheme->init_conn_func(scheme, code, conn,
176 authn_info->scheme = scheme;
178 authn_info->scheme = NULL;
195 /* No success authenticating with this scheme, try the next.
196 If no more authn schemes are found the status of this scheme will be
200 "%s authentication failed.\n", scheme->name);
227 /* Extract the authentication scheme name. */
235 /* Convert scheme name to lower case to enable case insensitive matching. */
379 if (authn_info->scheme) {
380 validate_resp = authn_info->scheme->validate_response_func;
387 if (!resp_status && authn_info->scheme) {
388 validate_resp = authn_info->scheme->validate_response_func;
415 const char *scheme,
423 scheme_len = strlen(scheme);
428 apr_cpystrn(ptr, scheme, scheme_len + 1);
442 conn->host_info.scheme,