libs/auth/src/lib/basic-auth/basic-auth.module.ts
The basic auth module includes the following functionality:
import { NgModule } from '@angular/core';
import { HTTP_SERVICE_INTERCEPTORS } from '@helgoland/core';
import { BasicAuthInterceptorService } from './basic-auth-interceptor.service';
import { BasicAuthServiceMaintainer } from './basic-auth-service-maintainer.service';
import { BasicAuthService } from './basic-auth.service';
/**
* The basic auth module includes the following functionality:
* - handling of connections with basic auth api
*/
@NgModule({
providers: [
BasicAuthService,
BasicAuthServiceMaintainer,
{
provide: HTTP_SERVICE_INTERCEPTORS,
useClass: BasicAuthInterceptorService,
multi: true
}
]
})
export class HelgolandBasicAuthModule { }