-
-
Notifications
You must be signed in to change notification settings - Fork 192
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(gotrue): Add
signInAnonymously()
method (#883)
* align _callRefreshSession * complete fetch rework * Update the methods on gotrue-dart * update the app lifecycle change listener * Complete ticking behavior except tests * minor comment update * update the behavior when the SDK failed to refresh the token when making request * adjust gotrue tests * fix supabase test * fix supabase_flutter tests * Fix supabase-flutter test * stop autorefresh timer within widget test * Update packages/gotrue/lib/src/constants.dart Co-authored-by: Vinzent <[email protected]> * Update packages/gotrue/lib/src/gotrue_client.dart Co-authored-by: Vinzent <[email protected]> * Update packages/gotrue/lib/src/gotrue_client.dart Co-authored-by: Vinzent <[email protected]> * Update packages/gotrue/lib/src/gotrue_client.dart Co-authored-by: Vinzent <[email protected]> * Update packages/gotrue/lib/src/gotrue_client.dart * Update packages/gotrue/lib/src/gotrue_client.dart * minor refactor within _autoRefreshTokenTick * rename errors to exceptions * feat: Add anonymous sign-in * Add the isAnonymous flag to the user object * Add tests * Update sign out code to ignore 403 * remove unnecessary code * remove try catch block from signInAnonymously * add check to see if anonnymous users have isAnonymous set to true --------- Co-authored-by: Vinzent <[email protected]>
- Loading branch information
1 parent
9993168
commit 2e63613
Showing
4 changed files
with
59 additions
and
7 deletions.
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
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
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
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