Struct actix_web_security::authentication::scheme::basic::header_extractor::BasicAuthenticationExtractor [−][src]
pub struct BasicAuthenticationExtractor {}
The definition of a BasicAuthenticationExtractor
. The authentication extractor
extracts the authentication information from the authorization header and decodes
the user credentials to be used in the user authentication.
Implementations
impl BasicAuthenticationExtractor
[src]
impl BasicAuthenticationExtractor
[src]pub fn new() -> BasicAuthenticationExtractor
[src]
Constructs a new instance of BasicAuthenticationExtractor
.
Trait Implementations
impl AuthorizationHeaderExtractor for BasicAuthenticationExtractor
[src]
impl AuthorizationHeaderExtractor for BasicAuthenticationExtractor
[src]fn extract_token<'life0, 'life1, 'async_trait>(
&'life0 self,
headers: &'life1 HeaderMap
) -> Pin<Box<dyn Future<Output = Result<Box<dyn Authentication>, AuthenticationError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
headers: &'life1 HeaderMap
) -> Pin<Box<dyn Future<Output = Result<Box<dyn Authentication>, AuthenticationError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
impl Clone for BasicAuthenticationExtractor
[src]
impl Clone for BasicAuthenticationExtractor
[src]fn clone(&self) -> BasicAuthenticationExtractor
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for BasicAuthenticationExtractor
[src]
impl Default for BasicAuthenticationExtractor
[src]Auto Trait Implementations
impl Send for BasicAuthenticationExtractor
impl Send for BasicAuthenticationExtractor
impl Sync for BasicAuthenticationExtractor
impl Sync for BasicAuthenticationExtractor
impl Unpin for BasicAuthenticationExtractor
impl Unpin for BasicAuthenticationExtractor
impl UnwindSafe for BasicAuthenticationExtractor
impl UnwindSafe for BasicAuthenticationExtractor
Blanket Implementations
impl<T> DowncastSync for T where
T: Any + Send + Sync,
[src]
impl<T> DowncastSync for T where
T: Any + Send + Sync,
[src]impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,