2024-05-13 18:27:18 +02:00
<!DOCTYPE html> < html lang = "en" > < head > < meta charset = "utf-8" > < meta name = "viewport" content = "width=device-width, initial-scale=1.0" > < meta name = "generator" content = "rustdoc" > < meta name = "description" content = "HTTP authentication schemes for Actix Web." > < title > actix_web_httpauth - Rust< / title > < script > if ( window . location . protocol !== "file:" ) document . head . insertAdjacentHTML ( "beforeend" , "SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2" . split ( "," ) . map ( f => ` <link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/ ${ f } "> ` ) . join ( "" ) ) < / script > < link rel = "stylesheet" href = "../static.files/normalize-76eba96aa4d2e634.css" > < link rel = "stylesheet" href = "../static.files/rustdoc-dd39b87e5fcfba68.css" > < meta name = "rustdoc-vars" data-root-path = "../" data-static-root-path = "../static.files/" data-current-crate = "actix_web_httpauth" data-themes = "" data-resource-suffix = "" data-rustdoc-version = "1.80.0-nightly (ef0027897 2024-05-12)" data-channel = "nightly" data-search-js = "search-d52510db62a78183.js" data-settings-js = "settings-4313503d2e1961c2.js" > < script src = "../static.files/storage-118b08c4c78b968e.js" > < / script > < script defer src = "../crates.js" > < / script > < script defer src = "../static.files/main-20a3ad099b048cf2.js" > < / script > < noscript > < link rel = "stylesheet" href = "../static.files/noscript-df360f571f6edeae.css" > < / noscript > < link rel = "icon" href = "https://actix.rs/favicon.ico" > < / head > < body class = "rustdoc mod crate" > <!-- [if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif] --> < nav class = "mobile-topbar" > < button class = "sidebar-menu-toggle" title = "show sidebar" > < / button > < a class = "logo-container" href = "../actix_web_httpauth/index.html" > < img src = "https://actix.rs/img/logo.png" alt = "" > < / a > < / nav > < nav class = "sidebar" > < div class = "sidebar-crate" > < a class = "logo-container" href = "../actix_web_httpauth/index.html" > < img src = "https://actix.rs/img/logo.png" alt = "logo" > < / a > < h2 > < a href = "../actix_web_httpauth/index.html" > actix_web_httpauth< / a > < span class = "version" > 0.8.1< / span > < / h2 > < / div > < div class = "sidebar-elems" > < ul class = "block" > < li > < a id = "all-types" href = "all.html" > All Items< / a > < / li > < / ul > < section > < ul class = "block" > < li > < a href = "#modules" > Modules< / a > < / li > < / ul > < / section > < / div > < / nav > < div class = "sidebar-resizer" > < / div > < main > < div class = "width-limiter" > < rustdoc-search > < / rustdoc-search > < section id = "main-content" class = "content" > < div class = "main-heading" > < h1 > Crate < a class = "mod" href = "#" > actix_web_httpauth< / a > < button id = "copy-path" title = "Copy item path to clipboard" > Copy item path< / button > < / h1 > < span class = "out-of-band" > < a class = "src" href = "../src/actix_web_httpauth/lib.rs.html#1-27" > source< / a > · < button id = "toggle-all-docs" title = "collapse all docs" > [< span > − < / span > ]< / button > < / span > < / div > < details class = "toggle top-doc" open > < summary class = "hideme" > < span > Expand description< / span > < / summary > < div class = "docblock" > < p > HTTP authentication schemes for < a href = "https://actix.rs" > Actix Web< / a > .< / p >
2021-03-22 12:49:07 +01:00
< p > Provides:< / p >
< ul >
2023-03-22 21:53:05 +01:00
< li > Typed < a href = "headers/authorization/struct.Authorization.html" title = "struct actix_web_httpauth::headers::authorization::Authorization" > Authorization< / a > and < a href = "headers/www_authenticate/struct.WwwAuthenticate.html" title = "struct actix_web_httpauth::headers::www_authenticate::WwwAuthenticate" > WWW-Authenticate< / a > headers< / li >
< li > < a href = "https://actix.rs/docs/extractors" > Extractors< / a > for an < a href = "headers/authorization/struct.Authorization.html" title = "struct actix_web_httpauth::headers::authorization::Authorization" > Authorization< / a > header< / li >
< li > < a href = "middleware/index.html" title = "mod actix_web_httpauth::middleware" > Middleware< / a > for easier authorization checking< / li >
2021-03-22 12:49:07 +01:00
< / ul >
2024-01-22 17:07:28 +01:00
< h3 id = "supported-schemes" > < a class = "doc-anchor" href = "#supported-schemes" > §< / a > Supported schemes< / h3 >
2021-03-22 12:49:07 +01:00
< ul >
2022-07-21 03:52:33 +02:00
< li > < code > Bearer< / code > as defined in < a href = "https://tools.ietf.org/html/rfc6750" > RFC 6750< / a > .< / li >
< li > < code > Basic< / code > as defined in < a href = "https://tools.ietf.org/html/rfc7617" > RFC 7617< / a > .< / li >
2021-03-22 12:49:07 +01:00
< / ul >
2024-01-22 17:07:28 +01:00
< / div > < / details > < h2 id = "modules" class = "section-header" > Modules< a href = "#modules" class = "anchor" > §< / a > < / h2 > < ul class = "item-table" > < li > < div class = "item-name" > < a class = "mod" href = "extractors/index.html" title = "mod actix_web_httpauth::extractors" > extractors< / a > < / div > < div class = "desc docblock-short" > Type-safe authentication information extractors.< / div > < / li > < li > < div class = "item-name" > < a class = "mod" href = "headers/index.html" title = "mod actix_web_httpauth::headers" > headers< / a > < / div > < div class = "desc docblock-short" > Typed HTTP headers.< / div > < / li > < li > < div class = "item-name" > < a class = "mod" href = "middleware/index.html" title = "mod actix_web_httpauth::middleware" > middleware< / a > < / div > < div class = "desc docblock-short" > HTTP Authentication middleware.< / div > < / li > < / ul > < / section > < / div > < / main > < / body > < / html >