File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed
Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 1+ ## 4.0.0
2+
3+ - BREAKING: Remove ` clientTokenInterceptor ` getter and replace with ` getClientTokenInterceptor ` method
4+
15## 3.0.0
26
37- BREAKING: ` isLoggedIn ` now returns ` Future<bool> ` instead of bool
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ Easily authenticate using OAuth 2.0 client/password grants.
1414Install passputter from [ pub.dev] ( https://pub.dev/packages/passputter ) :
1515
1616``` yaml
17- passputter : ^3 .0.0
17+ passputter : ^4 .0.0
1818` ` `
1919
2020## ✅ Prerequisites
@@ -131,7 +131,7 @@ Passputter provides two interceptors which you can add to your Dio instances: `U
131131You can retrieve them from your `Passputter` instance :
132132
133133` ` ` dart
134- dio.interceptors.add(passputter.clientTokenInterceptor );
134+ dio.interceptors.add(passputter.getClientTokenInterceptor(clientId: '1', clientSecret: 'secret') );
135135// or
136136dio.interceptors.add(passputter.userTokenInterceptor);
137137` ` `
Original file line number Diff line number Diff line change 11name : passputter
22description : Easily authenticate using OAuth 2.0 client/password grants.
3- version : 3 .0.0
3+ version : 4 .0.0
44repository : https://github.com/netsells/passputter
55
66environment :
You can’t perform that action at this time.
0 commit comments