dependencies Legend  Declarations  Module  Bootstrap  Providers  Exports cluster_HelgolandBasicAuthModule cluster_HelgolandBasicAuthModule_providers BasicAuthService BasicAuthService HelgolandBasicAuthModule HelgolandBasicAuthModule BasicAuthService->HelgolandBasicAuthModule BasicAuthServiceMaintainer BasicAuthServiceMaintainer BasicAuthServiceMaintainer->HelgolandBasicAuthModule

File

libs/auth/src/lib/basic-auth/basic-auth.module.ts

Description

The basic auth module includes the following functionality:

  • handling of connections with basic auth api

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 { }

result-matching ""

    No results matching ""