restReqBasicAuthGet (Function) |
Top Previous Next |
This function will read the basic authentication of a request. To tell the client that it must send basic authentication, use restRespBasicAuthSet and status code 401.
Input: req : SYSHANDLE A handle to the request.
Output: user : STRING The user name. Empty if no user name was provided.
pass : STRING The password. Empty if no password was provided.
Returns: INT
Declaration: FUNCTION restReqBasicAuthGet : INT;
Example: Please see the "Examples - REST Basic Authentication Example"
|