@shoutem/fetch-token-intercept
Advanced tools
Comparing version 0.0.1-alpha.5 to 0.1.0
{ | ||
"name": "@shoutem/fetch-token-intercept", | ||
"version": "0.0.1-alpha.5", | ||
"version": "0.1.0", | ||
"description": "Fetch interceptor for managing refresh token flow.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -94,21 +94,22 @@ # fetch-token-intercept | ||
### Exports | ||
`configure` | ||
`configure(configuration)` | ||
Configures fetch token interceptor with provided configuration object. | ||
`authorize` | ||
`authorize(refreshToken, accessToken)` | ||
Authorizes fetch token interceptor with provided tokens. | ||
`clear` | ||
`clear()` | ||
Clears all tokens from interceptor. | ||
## Tests | ||
## Tests | ||
``` | ||
$ npm install && npm run test | ||
``` | ||
## License | ||
``` | ||
$ npm install && npm run test | ||
``` | ||
## License | ||
BSD | ||
BSD |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
46003
115