22 lines
800 B
Markdown
22 lines
800 B
Markdown
# angel_auth
|
|
|
|
[](https://pub.dartlang.org/packages/angel_auth)
|
|

|
|
|
|
A complete authentication plugin for Angel. Inspired by Passport.
|
|
|
|
# Documentation
|
|
[Click here](https://github.com/angel-dart/auth/wiki).
|
|
|
|
# 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`](https://github.com/angel-dart/client)
|
|
provides a facility for this, which works perfectly with the default callback provided
|
|
in this package.
|
|
|
|
```dart
|
|
app.authenticate('facebook', new AngelAuthOptions(callback: confirmPopupAuthentication()));
|
|
```
|