react-relay-auth-iam
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

Middleware for Relay Modern Network Layer for authentication to AWS IAM

Installation

Install react-relay-auth-iam using yarn or npm:

yarn add react-relay-auth-iam

Usage

How to create the RelayNetworkLayer

import {authIAMMiddleware} from 'react-relay-auth-iam';
const network = new RelayNetworkLayer(
  [
    urlMiddleware(...),
    authIAMMiddleware({credentials: iamCredentials, region: region}),
  ],
  {}
);

License

React Relay Authentication AWS IAM is MIT licensed.

Package Sidebar

Install

npm i react-relay-auth-iam

Weekly Downloads

3

Version

0.0.2

License

MIT

Unpacked Size

16.6 kB

Total Files

9

Last publish

Collaborators

  • morrys