22 lines
518 B
TypeScript
22 lines
518 B
TypeScript
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]
|
|
};
|
|
}
|
|
}
|