angel_auth 1.0.4+1 copy "angel_auth: ^1.0.4+1" to clipboard
angel_auth: ^1.0.4+1 copied to clipboard

outdated

A complete authentication plugin for Angel.

angel_auth #

version 1.0.4+1 build status

A complete authentication plugin for Angel. Inspired by Passport.

Documentation #

Click here.

Supported Strategies #

  • Local (with and without Basic Auth)

Default Authentication Callback #

A frequent use case within SPA's is opening OAuth login endpoints in a separate window. angel_client provides a facility for this, which works perfectly with the default callback provided in this package.

auth.authenticate('facebook', new AngelAuthOptions(callback: confirmPopupAuthentication()));

This renders a simple HTML page that fires the user's JWT as a token event in window.opener. angel_client exposes this as a Stream:

app.authenticateViaPopup('/auth/google').listen((jwt) {
  // Do something with the JWT
});
1
likes
0
pub points
4%
popularity

Publisher

verified publisherangel-dart.dev

A complete authentication plugin for Angel.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

angel_framework, crypto

More

Packages that depend on angel_auth