Skip to content

Commit

Permalink
Merge pull request #57 from lille-morille/master
Browse files Browse the repository at this point in the history
Added docs to explain authentication
  • Loading branch information
rishabhpoddar authored May 2, 2024
2 parents f4d77f4 + 50ebe54 commit ce913f1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Future<void> makeRequest() {
}
```

The SuperTokens SDK will handle session expiry and automatic refreshing for you.
The SuperTokens SDK will handle session expiry and automatic refreshing for you. When calling authentication APIs such as signin or signup, the SDK automatically captures the access- and refresh tokens from the headers and saves them for you.

#### Using a custom `http` Client

Expand Down Expand Up @@ -143,10 +143,13 @@ Future<void> manualRefresh() async {
```

## Contributing

Please refer to the [CONTRIBUTING.md](https://github.com/supertokens/supertokens-flutter/blob/master/CONTRIBUTING.md) file in this repo.

## Contact us

For any queries, or support requests, please email us at [email protected], or join our [Discord](supertokens.com/discord) server.

## Authors

Created with :heart: by the folks at SuperTokens.com.

0 comments on commit ce913f1

Please sign in to comment.