gotrue 0.0.1-dev.5 copy "gotrue: ^0.0.1-dev.5" to clipboard
gotrue: ^0.0.1-dev.5 copied to clipboard

outdated

A dart client library for the GoTrue API.

gotrue-dart #

Dart client for the GoTrue API.

pub package pub test

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 liscenced under MIT.

Credits #

12
likes
0
pub points
98%
popularity

Publisher

verified publishersupabase.io

A dart client library for the GoTrue API.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

http

More

Packages that depend on gotrue