Skip to content

A dart client library for GoTrue.

License

Notifications You must be signed in to change notification settings

teamtrunk/gotrue-dart

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gotrue-dart

Warning This repository has been moved to the supabase-flutter repo.

Dart client for the GoTrue API.

Using

The usage should be the same as gotrue-js except:

Oauth2:

  • signIn with oauth2 provider only return provider url. Users have to launch that url to continue the auth flow. I recommend to use url_launcher package.
  • After receiving callback uri from oauth2 provider, use getSessionFromUrl to parse session data.

Persist/restore session:

  • No persist storage provided. Users can easily store session as json with any Flutter storage library.
  • Expose recoverSession method. It's used to recover session from a saved json string.

Contributing

  • Fork the repo on GitHub
  • Clone the project to your own machine
  • Commit changes to your own branch
  • Push your work back up to your fork
  • Submit a Pull request so that we can review your changes and merge

License

This repo is licensed under MIT.

Credits

About

A dart client library for GoTrue.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dart 96.0%
  • PLpgSQL 4.0%