Struct actix_web_httpauth::headers::www_authenticate::bearer::BearerBuilder
source · pub struct BearerBuilder(_);
Expand description
Implementations§
source§impl BearerBuilder
impl BearerBuilder
sourcepub fn scope<T>(self, value: T) -> Selfwhere
T: Into<Cow<'static, str>>,
pub fn scope<T>(self, value: T) -> Selfwhere
T: Into<Cow<'static, str>>,
Provides the scope
attribute, as defined in RFC 6749 §3.3.
sourcepub fn realm<T>(self, value: T) -> Selfwhere
T: Into<Cow<'static, str>>,
pub fn realm<T>(self, value: T) -> Selfwhere
T: Into<Cow<'static, str>>,
Provides the realm
attribute, as defined in RFC 2617.
sourcepub fn error(self, value: Error) -> Self
pub fn error(self, value: Error) -> Self
Provides the error
attribute, as defined in [RFC 6750, Section 3.1].
sourcepub fn error_description<T>(self, value: T) -> Selfwhere
T: Into<Cow<'static, str>>,
pub fn error_description<T>(self, value: T) -> Selfwhere
T: Into<Cow<'static, str>>,
Provides the error_description
attribute, as defined in [RFC 6750, Section 3].
Trait Implementations§
source§impl Debug for BearerBuilder
impl Debug for BearerBuilder
source§impl Default for BearerBuilder
impl Default for BearerBuilder
source§fn default() -> BearerBuilder
fn default() -> BearerBuilder
Returns the “default value” for a type. Read more