
Authenticates the user and obtains authentication token to use in subsequent api calls. If valid X-SDS-AUTH-TOKEN is provided, that will be used instead of creating the new authentication token. Setting the queryParam "using-cookies" to "true" sets the following cookies in the response.
service | Optional query parameter, to specify a URL to redirect to on successful authentication |
This call has no restrictions.
Response
GET https://192.168.0.0:4443/login?using-cookies=true HTTP/1.1 Content-Type: application/xml X-SDS-AUTH-TOKEN: <OPTIONAL_AUTH_TOKEN>
HTTP/1.1 200 OK Content-Type: application/xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <loggedIn> <user>root</user> </loggedIn>