Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
TeraNovaLP committed Mar 9, 2021
1 parent 19a1f71 commit b855c66
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,9 @@ Requests the access and the refresh token from the configured token URL and save
```ts
import { UserSessionManager } from "kogitte";

new UserSessionManager().login("username", "password");
new UserSessionManager().login("username", "password", "optional captcha response");
```
Optionally a captcha response can be provided as follows:

```ts
new UserSessionManager().login("username", "password", "captchaResponse");
```
This data is sent with the login in the `captcha` parameter.
Optionally a captcha response can be provided. This data is sent with the login in the `captcha` parameter.

**Logout:**

Expand Down

0 comments on commit b855c66

Please sign in to comment.