react-relay-auth-iam
v0.0.2
Published
React Relay Middleware Authentication AWS IAM
Downloads
13
Maintainers
Readme
React Relay Authentication AWS IAM
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.