Struct actix_web_httpauth::extractors::AuthenticationError[][src]

pub struct AuthenticationError<C: Challenge> { /* fields omitted */ }

Authentication error returned by Auth extractor.

Different extractors may extend AuthenticationError implementation in order to provide access to inner challenge fields.

Methods

impl<C: Challenge> AuthenticationError<C>
[src]

impl AuthenticationError<Bearer>
[src]

Extended error customization for HTTP Bearer auth.

Trait Implementations

impl<C: Debug + Challenge> Debug for AuthenticationError<C>
[src]

Formats the value using the given formatter. Read more

impl<C: Challenge> Display for AuthenticationError<C>
[src]

Formats the value using the given formatter. Read more

impl<C: 'static + Challenge> Error for AuthenticationError<C>
[src]

This method is soft-deprecated. Read more

The lower-level cause of this error, if any. Read more

impl<C: 'static + Challenge> ResponseError for AuthenticationError<C>
[src]

Create response for error Read more

impl<T> From<T> for AuthenticationError<<T as ExtractorConfig>::Inner> where
    T: ExtractorConfig, 
[src]

Performs the conversion.

Auto Trait Implementations

impl<C> Send for AuthenticationError<C>

impl<C> Sync for AuthenticationError<C>