Struct poem_openapi::auth::Bearer
source · pub struct Bearer {
pub token: String,
}Expand description
Used to extract the token68 from the request.
Fields§
§token: Stringtoken
Trait Implementations§
source§impl BearerAuthorization for Bearer
impl BearerAuthorization for Bearer
source§fn from_request(req: &Request) -> Result<Self>
fn from_request(req: &Request) -> Result<Self>
Extract from the HTTP request.