Skip to content
This repository has been archived by the owner on Jul 5, 2022. It is now read-only.

Latest commit

 

History

History
28 lines (20 loc) · 689 Bytes

README.md

File metadata and controls

28 lines (20 loc) · 689 Bytes

netiam-contrib-oauth

Build Status Dependencies npm version

A OAuth 2.0 plugin for netiam

Example

netiam()
  .oauth.token({
    userModel: User,
    tokenModel: Token,
    clientModel: Client,
    codeModel: Code
  })
  .json()

Attention

Do not use 2.0. Wrong passwords result in an positive match!

License

MIT License