Bump to 2.0.1

This commit is contained in:
Tobe O 2018-09-11 23:16:17 -04:00
parent 3964542e3c
commit 7d86f77ed2
4 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,6 @@
# 2.0.1
* Add generic parameter to `options` on `AuthStrategy.authenticate`.
# 2.0.0+1 # 2.0.0+1
* Meta update to improve Pub score. * Meta update to improve Pub score.

View file

@ -34,4 +34,5 @@ class User {
Future<User> fetchAUserByIdSomehow(id) async { Future<User> fetchAUserByIdSomehow(id) async {
// Fetch a user somehow... // Fetch a user somehow...
throw new UnimplementedError();
} }

View file

@ -6,5 +6,5 @@ import 'options.dart';
abstract class AuthStrategy<User> { abstract class AuthStrategy<User> {
/// Authenticates or rejects an incoming user. /// Authenticates or rejects an incoming user.
FutureOr<User> authenticate(RequestContext req, ResponseContext res, FutureOr<User> authenticate(RequestContext req, ResponseContext res,
[AngelAuthOptions options]); [AngelAuthOptions<User> options]);
} }

View file

@ -1,6 +1,6 @@
name: angel_auth name: angel_auth
description: A complete authentication plugin for Angel. Includes support for stateless JWT tokens, Basic Auth, and more. description: A complete authentication plugin for Angel. Includes support for stateless JWT tokens, Basic Auth, and more.
version: 2.0.0+1 version: 2.0.1
author: Tobe O <thosakwe@gmail.com> author: Tobe O <thosakwe@gmail.com>
homepage: https://github.com/angel-dart/angel_auth homepage: https://github.com/angel-dart/angel_auth
environment: environment: