Checks if the value of an HTTP Authorization header matches a specific scheme (e.g. Basic, Bearer, etc).
True if the Authorization header uses the specified scheme, false otherwise.
Name of the authorization scheme (case insensitive).
Optional
The value of the Authorization header (may be undefined).
Checks if the value of an HTTP Authorization header matches a specific scheme (e.g. Basic, Bearer, etc).
Returns
True if the Authorization header uses the specified scheme, false otherwise.