Method to return basic authentication username and password #90
designer-systems-ltd
started this conversation in
General
Replies: 1 comment
-
No there is none. But the header should be available in the request object and you should be able to access it by querying the request headers. Overall, what you want to do is a really non standard and unsecured way of doing things so depending, you might have to create your own middleware maybe, or override the existing ones. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello
I am looking for a stanadrd method to return the basic authentication username and password so that I can log failed authentication attempts.
I can see _authorization string is used in WebRequest.cpp to store the parsed results from the header but this string is not made public by the class so cannot be read. Is there a standard method to return this string, or even better the Base64 decoded version ?
Beta Was this translation helpful? Give feedback.
All reactions