http-authentication 0.2.0

HTTP Authentication
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! [The OAuth 2.0 Authorization Framework: Bearer Token Usage](https://www.rfc-editor.org/rfc/rfc6750.html)

//
pub mod credentials;

pub use credentials::{Credentials, CredentialsParseError};
#[cfg(test)]
pub(crate) use credentials::{DEMO_CREDENTIALS_STR, DEMO_CREDENTIALS_TOKEN_STR};

//
pub mod challenge;

pub use challenge::{Challenge, ChallengeParseError};
#[cfg(test)]
pub(crate) use challenge::{
    DEMO_CHALLENGE_ERROR_DESCRIPTION_STR, DEMO_CHALLENGE_ERROR_STR, DEMO_CHALLENGE_REALM_STR,
    DEMO_CHALLENGE_STR, DEMO_CHALLENGE_STR_SIMPLE,
};