fix formatting; publish 2.1.2

This commit is contained in:
Tobe O 2019-04-11 10:00:34 -04:00
parent 61c11966b7
commit f67fd7b99b
3 changed files with 5 additions and 2 deletions

View file

@ -1,3 +1,6 @@
# 2.1.2
* Change empty cookie string to have double quotes (thanks @korsvanloon).
# 2.1.1 # 2.1.1
* Added `scopes` to `ExternalAuthOptions`. * Added `scopes` to `ExternalAuthOptions`.

View file

@ -29,7 +29,7 @@ class LocalAuthStrategy<User> extends AuthStrategy<User> {
'Please provide a valid username and password.', 'Please provide a valid username and password.',
bool this.allowBasic = true, bool this.allowBasic = true,
bool this.forceBasic = false, bool this.forceBasic = false,
String this.realm = 'Authentication is required.'}) {} String this.realm = 'Authentication is required.'});
@override @override
Future<User> authenticate(RequestContext req, ResponseContext res, Future<User> authenticate(RequestContext req, ResponseContext res,

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.1.1 version: 2.1.2
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: