pub struct Config(_);
BearerAuth extractor configuration.
BearerAuth
Set challenge scope attribute.
scope
The "scope" attribute is a space-delimited list of case-sensitive scope values indicating the required scope of the access token for accessing the requested resource.
"scope"
Set challenge realm attribute.
realm
The “realm” attribute indicates the scope of protection in the manner described in HTTP/1.1 RFC 2617.
source
TypeId
self
Returns the argument unchanged.
Span
Instrumented
Calls U::from(self).
U::from(self)
That is, this conversion is whatever the implementation of From<T> for U chooses to do.
From<T> for U
Self
Subscriber
WithDispatch