1.2.0 • Published 1 year ago

@labdigital/federated-token-yoga v1.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Federated Token - Yoga Plugin

npm

This packages provides a GraphQL Yoga plugin so that for Yoga can be used as a federated service.

Usage

  • useFederatedToken() - The plugin for federated services that reads the token passed in the x-access-token header and stores it on the context as federatedToken.

When a federated services creates a new token (when non exist) it can also return a refresh token in the x-refresh-token header. The gateway will then encrypt all refresh tokens and encrypt them before passing them to the client as x-refresh-token header.

2.0.0

8 months ago

2.0.0-beta.0

8 months ago

1.7.0

9 months ago

1.6.1

9 months ago

1.6.0

10 months ago

1.6.0-beta.3

10 months ago

1.4.3

12 months ago

1.4.1

1 year ago

1.2.0

1 year ago

1.0.4

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago