axios-easy-auth
Advanced tools
Comparing version 1.0.7 to 1.0.8
{ | ||
"name": "axios-easy-auth", | ||
"version": "1.0.7", | ||
"version": "1.0.8", | ||
"description": "Modified axios with a simple addition of headers", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
<h1>Were there any problems adding headers to the request?</h1> | ||
<h3>This library makes it easy.</h3> | ||
<br /> | ||
<pre>const auth = new EasyAuth('https://jsonplaceholder.typicode.com', 'Bearer ‹token›')</pre> | ||
<pre>const auth = new EasyAuth('https://site.com', 'Bearer token')</pre> | ||
<p> | ||
@@ -32,3 +32,3 @@ First we need to create the EasyAuth class. Parameters accept site url, access token. | ||
<br /> | ||
<pre>const auth = new EasyAuth('https://jsonplaceholder.typicode.com', 'Bearer ‹token›')</pre> | ||
<pre>const auth = new EasyAuth('https://site.com', 'Bearer token')</pre> | ||
<p> | ||
@@ -35,0 +35,0 @@ Для начала нужно создать класс EasyAuth. Параметрами принимает url сайта, access токен. |
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
3762