We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am trying to use the BearerAuth extractor from actix_web_httpauth. However, using this in a service like so:
BearerAuth
#[api_v2_operation(tags("Users"))] #[get("/users")] async fn get_all( pool: web::Data<PgPool>, token: BearerAuth, ) -> Result<Json<Vec<User>>, Error> { println!("{:?}", token); route::get_all::<User>(pool).await }
Raises errors stating that the following functions are not implemented by BearerAuth:
update_definitions
update_security_definitions
update_security
update_parameter
I believe this would be solved by implementing OperationModifier on BearerAuth (and probably BasicAuth as well) similar to what was done with #232.
OperationModifier
BasicAuth
Please consider adding this support if possible. Thank you.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I am trying to use the
BearerAuth
extractor from actix_web_httpauth. However, using this in a service like so:Raises errors stating that the following functions are not implemented by
BearerAuth
:update_definitions
update_security_definitions
update_security
update_parameter
I believe this would be solved by implementing
OperationModifier
onBearerAuth
(and probablyBasicAuth
as well) similar to what was done with #232.Please consider adding this support if possible. Thank you.
The text was updated successfully, but these errors were encountered: