Uploaded image for project: 'Nuxeo JS Client'
  1. Nuxeo JS Client
  2. NXJS-82

Improve authenticator registration

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1.0, 2.1.0
    • Component/s: Browser, Node.js

      Description

      Follow what have been done for the unmarshallers registration: have something more simple:

      Nuxeo.registerAuthenticator('basic', basicAuthenticator);
      ...
      

      Allow user to easily register new authenticator without creating an object / class

      Nuxeo.registerAuthenticator('custom', (auth, headers) => {
      ...
      return headers;
      });
      ...
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: