axios-easy-auth
Advanced tools
Comparing version 1.0.1 to 1.0.2
{ | ||
"name": "axios-easy-auth", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Modified axios with a simple addition of headers", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -27,2 +27,4 @@ <h1>Were there any problems adding headers to the request?</h1> | ||
<p> | ||
`const auth = new EasyAuth('http://site.com', 'Bearer ey251txcfhjguuy45tyhjafduv7ucshnfd')` | ||
<code>const auth = new EasyAuth('http://site.com', 'Bearer ey251txcfhjguuy45tyhjafduv7ucshnfd')</code> | ||
Для начала нужно создать класс EasyAuth. Параметрами принимает url сайта, access токен. | ||
@@ -29,0 +31,0 @@ </p> |
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
3667
40