4.4.24-beta.1 • Published 1 year ago

electrode-ota-server-plus-routes-auth v4.4.24-beta.1

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

electrode-ota-server-plus-routes-auth

This project is part of the electrode-ota-server-plus

It is not meant to be used standalone, use at your own risk.

Install

$ npm install electrode-ota-server-plus-routes-auth

Usage

Defines the links to supported authentication methods on the landing page.

Example:

"electrode-ota-server-plus-routes-auth": {
  "options": {
    "providers": [
      {
        "name": "Basic Auth",
        "auth": "basic",
        "label": "Walmart Basic Auth",
        "icon": {
          "src": "data:image/svg+xml;....",
          "height": 30,
          "width": 100
        }
      }
    ]
  }
}
  • name : Name used in the /auth/*/{name} route and className
  • auth: Authentication strategy to use
  • label: Label for button
  • icon: Icon config for button.