Bump to 2.0.1
This commit is contained in:
parent
3964542e3c
commit
7d86f77ed2
4 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,6 @@
|
|||
# 2.0.1
|
||||
* Add generic parameter to `options` on `AuthStrategy.authenticate`.
|
||||
|
||||
# 2.0.0+1
|
||||
* Meta update to improve Pub score.
|
||||
|
||||
|
|
|
@ -34,4 +34,5 @@ class User {
|
|||
|
||||
Future<User> fetchAUserByIdSomehow(id) async {
|
||||
// Fetch a user somehow...
|
||||
throw new UnimplementedError();
|
||||
}
|
||||
|
|
|
@ -6,5 +6,5 @@ import 'options.dart';
|
|||
abstract class AuthStrategy<User> {
|
||||
/// Authenticates or rejects an incoming user.
|
||||
FutureOr<User> authenticate(RequestContext req, ResponseContext res,
|
||||
[AngelAuthOptions options]);
|
||||
[AngelAuthOptions<User> options]);
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
name: angel_auth
|
||||
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>
|
||||
homepage: https://github.com/angel-dart/angel_auth
|
||||
environment:
|
||||
|
|
Loading…
Reference in a new issue