-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #57 from lille-morille/master
Added docs to explain authentication
- Loading branch information
Showing
1 changed file
with
4 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
||
|
@@ -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. |