This package has been deprecated

Author message:

Use @ackee/antonio instead

ackee-auth-api-agent

2.0.1 • Public • Published

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.*.*.

/ackee-auth-api-agent/

    Package Sidebar

    Install

    npm i ackee-auth-api-agent

    Weekly Downloads

    1

    Version

    2.0.1

    License

    MIT

    Unpacked Size

    10.7 kB

    Total Files

    10

    Last publish

    Collaborators

    • pivl
    • hofp37
    • grissius
    • ackeecz
    • horaklukas
    • borecekbaji
    • davidbilik