Socket
Book a DemoInstallSign in
Socket

ackee-auth-api-agent

Package Overview
Dependencies
Maintainers
6
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ackee-auth-api-agent

AuthApiAgent extends our ApiAgent and injects access token into requests. Its meant to be used with Redux, Redux-saga and Redux-token-auth packages.

2.0.1
latest
npmnpm
Version published
Maintainers
6
Created
Source

Renamed (and reimplemented) to @ackee/antonio

Ackee Auth Api Agent

How to use

  • The usage is the same as with ApiAgent so take a look at that package.
  • Instead of returning a Promise, every request returns a Generator function to be used with redux, executed with redux-saga and mainly with ackee-redux-token-auth.
  • AuthApiAgent just extends ApiAgent and wraps its .request method into ackee-redux-token-auths's authorizedFn that gives us credentials as a parameter.

Dependencies

Wider dependecies

Migration guide

From 1.*.* to 2.*.*

  • Just be sure you're using ackee-redux-token-auth@1.*.* in an app where you're using ackee-auth-api-agent@2.*.*.

FAQs

Package last updated on 21 Apr 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.