You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
VERY cool project!! Its neat to see something so important and crucial implemented so nicely. This is a fantastic library and will become very popular as soon as more people learn about it.
I had a question about:
context =>{/* create custom key selector from HttpContext */},
response =>{/* create a custom response to be sent when a request is revoked */}
Can you provide an example of the 'custom key selector'? Im not sure what you mean by this. Do you mean like add the Authorization: Bearer <token> key where Authorization is the key? How would this work?
Why would anyone want to provide a custom response, is this an HTTP response? I'm not sure why the library will implement this, when the purpose of the library is to maintain a list of revoked keys. Can you please elaborate?
Thanks!
The text was updated successfully, but these errors were encountered:
HttpContextRevokeMiddleware is just an easy built-in middleware that facilitate revoking based on some http request parameters
since the HttpContextRevokeMiddleware is to revoke based on request, it is only natural to allow the ability to provide a custom response upon request revoked, it's not 100% well thought out, and it certainly can use some improvements
VERY cool project!! Its neat to see something so important and crucial implemented so nicely. This is a fantastic library and will become very popular as soon as more people learn about it.
I had a question about:
Can you provide an example of the 'custom key selector'? Im not sure what you mean by this. Do you mean like add the
Authorization: Bearer <token>
key whereAuthorization
is the key? How would this work?Why would anyone want to provide a custom response, is this an HTTP response? I'm not sure why the library will implement this, when the purpose of the library is to maintain a list of revoked keys. Can you please elaborate?
Thanks!
The text was updated successfully, but these errors were encountered: