## Logs user into the system

`client.users.login(UserLoginParamsquery?, RequestOptionsoptions?): UserLoginResponse`

**get** `/user/login`

Logs user into the system

### Parameters

- `query: UserLoginParams`

  - `password?: string`

    The password for login in clear text

  - `username?: string`

    The user name for login

### Returns

- `UserLoginResponse = string`

### Example

```typescript
import RpTestDocs1 from 'rp-test-docs-1';

const client = new RpTestDocs1({
  apiKey: process.env['PETSTORE_API_KEY'], // This is the default and can be omitted
});

const response = await client.users.login();

console.log(response);
```

#### Response

```json
"string"
```
