Skip to content
This repository has been archived by the owner on Aug 7, 2021. It is now read-only.

add type definitions #175

Closed
wants to merge 7 commits into from
Closed

add type definitions #175

wants to merge 7 commits into from

Conversation

amarzavery
Copy link
Contributor

@amarzavery amarzavery commented Oct 31, 2017

This is what the adal-node module looks like in javascript. This PR ensures that it has all the type definitions in sync with js definition exported on require("adal-node").

> var adal = require("adal-node")
undefined
> adal
{ Logging:
   { LOGGING_LEVEL: { ERROR: 0, WARN: 1, INFO: 2, VERBOSE: 3 },
     setLoggingOptions: [Function: setLoggingOptions],
     getLoggingOptions: [Function: getLoggingOptions],
     LogOptions: { log: [Function: log], level: 0 } },
  AuthenticationContext: [Function: AuthenticationContext],
  setGlobalADALOptions: [Function: setGlobalADALOptions],
  getGlobalADALOptions: [Function: getGlobalADALOptions],
  MemoryCache: [Function: MemoryCache],
  AuthenticationParameters: [Function: AuthenticationParameters],
  createAuthenticationParametersFromHeader: [Function],
  createAuthenticationParametersFromResponse: [Function],
  createAuthenticationParametersFromUrl: [Function],
  createAuthenticationContext: [Function] }

Thanks to @mmaitre314. I have taken the initial version from the link he specified in #142 and modified it further.

@amarzavery
Copy link
Contributor Author

closing in favor of #176

@amarzavery amarzavery closed this Nov 2, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants