I use some authentication-szenarios with basic oder bearer (jwt) authentication.
It would be nice if we can include this into the Request.php file.
My suggestion are the following methods:
- getBasic (returns the basic auth value)
- getBearer (returns the bearer auth value)
- getAuthScheme (return if request is basic or bearer auth is used)
- getAuthValue (Checks if authentication is basic or bearer and return the auth value)
This issue is to discus my needs. If you think we can implement this, i can create a PR for implementation.
Kind regards