<linkrel="alternate icon"type="image/png"href="../favicon-32x32.png"><styletype="text/css">#crate-search{background-image:url("../down-arrow.svg");}</style></head><bodyclass="rustdoc mod"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><navclass="sidebar"><divclass="sidebar-menu"role="button">☰</div><ahref='../actix_web_httpauth/index.html'><divclass='logo-container rust-logo'><imgsrc='../rust-logo.png'alt='logo'></div></a><pclass="location">Crate actix_web_httpauth</p><divclass="block version"><p>Version 0.6.0-beta.1</p></div><divclass="sidebar-elems"><aid="all-types"href="all.html"><p>See all actix_web_httpauth's items</p></a><divclass="block items"><ul><li><ahref="#modules">Modules</a></li></ul></div><pclass="location"></p><divid="sidebar-vars"data-name="actix_web_httpauth"data-ty="mod"data-relpath="../"></div></div></nav><divclass="theme-picker"><buttonid="theme-picker"aria-label="Pick another theme!"aria-haspopup="menu"><imgsrc="../brush.svg"width="18"height="18"alt="Pick another theme!"></button><divid="theme-choices"role="menu"></div></div><navclass="sub"><formclass="search-form"><divclass="search-container"><div><selectid="crate-search"><optionvalue="All crates">All crates</option></select><inputclass="search-input"name="search"disabledautocomplete="off"spellcheck="false"placeholder="Click or press ‘S’ to search, ‘?’ for more options…"type="search"></div><buttontype="button"class="help-button">?</button>
<aid="settings-menu"href="../settings.html"><imgsrc="../wheel.svg"width="18"height="18"alt="Change settings"></a></div></form></nav><sectionid="main"class="content"><h1class="fqn"><spanclass="in-band">Crate <aclass="mod"href="">actix_web_httpauth</a></span><spanclass="out-of-band"><spanid="render-detail"><aid="toggle-all-docs"href="javascript:void(0)"title="collapse all docs">[<spanclass="inner">−</span>]</a></span><aclass="srclink"href="../src/actix_web_httpauth/lib.rs.html#1-24"title="goto source code">[src]</a></span></h1><divclass="docblock"><p>HTTP authentication schemes for <ahref="https://actix.rs">actix-web</a>.</p>
<p>Provides:</p>
<ul>
<li>Typed <ahref="../actix_web_httpauth/headers/authorization/struct.Authorization.html">Authorization</a> and <ahref="../actix_web_httpauth/headers/www_authenticate/struct.WwwAuthenticate.html">WWW-Authenticate</a> headers</li>
<li><ahref="https://actix.rs/docs/extractors/">Extractors</a> for an <ahref="../actix_web_httpauth/headers/authorization/struct.Authorization.html">Authorization</a> header</li>
<li><ahref="./middleware">Middleware</a> for easier authorization checking</li>
<table><trclass="module-item"><td><aclass="mod"href="extractors/index.html"title="actix_web_httpauth::extractors mod">extractors</a></td><tdclass="docblock-short"><p>Type-safe authentication information extractors</p>