1.0.2 • Published 3 years ago

@femto-apps/authentication-consumer v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Authentication Consumer Middleware Library

Description

Library code for an authentication consumer. This library is to be imported in to an euthentication consumer program.

Usage

This library is designed to be incorported in to an authentication consumer. A usage example is given below.

app.use(authenticationConsumer({ options }))

options is an object with three parts:

  • tokenService: { endpoint } - The hostname of the token service to use.
  • authenticationProvider: { endpoint, consumerId } - The hostname of the provider to use and the consumer uuid used by the provider to identify the consumer.
  • authenticationConsumer: { endpoint } - The hostname of the consumer.
1.0.2

3 years ago

1.0.1

5 years ago

1.0.0

5 years ago