Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Add Authentication setting per instance rather than Global #180

Closed
gautamsi opened this issue May 8, 2017 · 2 comments
Closed
Assignees
Milestone

Comments

@gautamsi
Copy link
Owner

gautamsi commented May 8, 2017

Authentication API should register Authentication provider, Once registered, new instance of ExchangeService can use them per instance,

This helps in using basic authentication and NTLM authentication in same nodejs project.

@gautamsi gautamsi self-assigned this May 8, 2017
@gautamsi gautamsi added this to the 1.0 milestone May 8, 2017
@gautamsi gautamsi modified the milestones: 0.9.0, 1.0 May 20, 2017
@gautamsi gautamsi added the done label May 20, 2017
@gautamsi
Copy link
Owner Author

gautamsi commented May 20, 2017

You can now use this per instance of ExchangeServiceBase (ExchangeService and AutodiscoverService).

use ConfigurationApi.ConfigureXHR to configure this globally. when want to override modify using

service.XHRApi = new ewsAuth.ntlmAuthXhrApi(credentials.userName, credentials.password)

where service is ExchangeService or AutodiscoverService

@gautamsi
Copy link
Owner Author

gautamsi commented May 20, 2017

0.9 dev7 published, re-open if you face any issue., also closes gautamsi/ews-javascript-api-auth#2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant