import { NgModule, ModuleWithProviders } from '@angular/core';

import { AuthenticationProtocolService } from './services/authentication-protocol.service';

const SERVICES = [AuthenticationProtocolService];

@NgModule({
  declarations: [],
  imports: [],
  exports: []
})
export class UCapAuthenticationProtocolModule {
  public static forRoot(): ModuleWithProviders<
    UCapAuthenticationProtocolModule
  > {
    return {
      ngModule: UCapAuthenticationProtocolModule,
      providers: [...SERVICES]
    };
  }
}
