-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
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
User >: Any In SwaggerSecurityExtractors #71
Comments
Ah. I see. You don't pass the request over to the code modified by the user. So it doesn't matter. Whatever data that is needed is passed directly by type to the method changed by the user. |
yeah, we don't pass authentication information to the controller as for now, but there is a ticket for that. |
Hi, any news or ETA on this? I would like to get SecurityExtractors information in my controllers. Is there any way to access that info from the controllers. Or maybe getting de request itself? Wich one is the ticket realted to this? |
@ashmcleod Can't find the ticket, may be I've confused it with comments in the code :) You are welcome to create a ticket for that :) |
Hi slavaschmidt, I think that my request is the same as moishy90's, to be able to get SecurityExtractors generated data in the generated controllers in some way. Do I have to open a new issue for this? or this one may be adecuate? Is there any way i can get that data modifying de templates? |
Let's leave it here for now. |
Hey guys. I was looking through the security templates and code and realized that the security extractors have the type parameters
User :> Any
. For exampledef basicAuth[User >: Any]:
I'm wondering: Is this a feature, or is this something that should be fixed?
I'd like to wrap the request with the data generated by the authentication process, through play's
play.api.mvc.WrappedRequest
with theWrappedRequest
's type parameter being the type of the generated data.The text was updated successfully, but these errors were encountered: