GET api/Auth/User
Authenticates a user based on the provided HTTP Basic Authorization header and returns a user token if authentication is successful.
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
An containing the authenticated user token if credentials are valid; otherwise, a Bad Request response with an error message.
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.