Skip to content

Commit

Permalink
Version 4.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Bryant committed Mar 21, 2022
1 parent dc23611 commit 9293380
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 4.0.0

- BREAKING: Remove `clientTokenInterceptor` getter and replace with `getClientTokenInterceptor` method

## 3.0.0

- BREAKING: `isLoggedIn` now returns `Future<bool>` instead of bool
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Easily authenticate using OAuth 2.0 client/password grants.
Install passputter from [pub.dev](https://pub.dev/packages/passputter):

```yaml
passputter: ^3.0.0
passputter: ^4.0.0
```
## ✅ Prerequisites
Expand Down Expand Up @@ -131,7 +131,7 @@ Passputter provides two interceptors which you can add to your Dio instances: `U
You can retrieve them from your `Passputter` instance:

```dart
dio.interceptors.add(passputter.clientTokenInterceptor);
dio.interceptors.add(passputter.getClientTokenInterceptor(clientId: '1', clientSecret: 'secret'));
// or
dio.interceptors.add(passputter.userTokenInterceptor);
```
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: passputter
description: Easily authenticate using OAuth 2.0 client/password grants.
version: 3.0.0
version: 4.0.0
repository: https://github.com/netsells/passputter

environment:
Expand Down

0 comments on commit 9293380

Please sign in to comment.