You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Readme.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -118,7 +118,7 @@ A model must provide the following methods:
118
118
-`type``String` Token type, one of 'accessToken' or 'refreshToken'
119
119
-`callback``Function` callback(error, token)
120
120
- `error` `Mixed` Truthy to indicate an error
121
-
- `token` `String` The access token
121
+
- `token` `String|Object|Null` String accessToken to indicate success, Object to indicate reissue (i.e. will not be passed on save*Token()) or Null to revert to the default token generator
122
122
123
123
## Extension Grants
124
124
You can support extension/custom grants by implementing the extendedGrant method as outlined above.
@@ -133,4 +133,4 @@ Created by Thom Seddon
133
133
134
134
## License
135
135
136
-
[Apache, Version 2.0](https://github.com/nightworld/node-oauth2-server/blob/master/LICENSE)
136
+
[Apache, Version 2.0](https://github.com/nightworld/node-oauth2-server/blob/master/LICENSE)
0 commit comments