lehh / nestjs-soap

Nestjs module wrapper for soap npm package
MIT License
21 stars 15 forks source link

Adds NTLM auth support #37

Open lehh opened 1 year ago

lehh commented 1 year ago

Added NTLM auth support. Example use:


...
useFactory: async (
  configService: ConfigService,
): Promise<SoapModuleOptions> => ({
  uri: configService.get<string>('soap.uri'),
  auth: {
    type: 'ntlm',
    username: configService.get<string>('soap.username'),
    password: configService.get<string>('soap.password'),
    options: {
      domain: 'domain',
      workspace: 'workspace'
    }
  },
}), 
`