2019-01-18 18:03:45 +01:00
|
|
|
import { NgModule } from '@angular/core';
|
2019-12-11 15:51:03 +01:00
|
|
|
import { B2AccessLoginComponent } from '@app/ui/auth/login/b2access/b2access-login.component';
|
|
|
|
import { ConfigurableLoginComponent } from '@app/ui/auth/login/configurable-login/configurable-login.component';
|
|
|
|
import { EmailConfirmation } from '@app/ui/auth/login/email-confirmation/email-confirmation.component';
|
|
|
|
import { LinkedInLoginComponent } from '@app/ui/auth/login/linkedin-login/linkedin-login.component';
|
|
|
|
import { LoginComponent } from '@app/ui/auth/login/login.component';
|
|
|
|
import { LoginRoutingModule } from '@app/ui/auth/login/login.routing';
|
|
|
|
import { OpenAireLoginComponent } from '@app/ui/auth/login/openaire-login/openaire-login.component';
|
|
|
|
import { OrcidLoginComponent } from '@app/ui/auth/login/orcid-login/orcid-login.component';
|
|
|
|
import { TwitterLoginComponent } from '@app/ui/auth/login/twitter-login/twitter-login.component';
|
|
|
|
import { ConfigurableProvidersService } from '@app/ui/auth/login/utilities/configurableProviders.service';
|
|
|
|
import { LoginService } from '@app/ui/auth/login/utilities/login.service';
|
2020-10-27 11:04:57 +01:00
|
|
|
import { Oauth2DialogModule } from '@app/ui/misc/oauth2-dialog/oauth2-dialog.module';
|
2019-12-11 15:51:03 +01:00
|
|
|
import { CommonFormsModule } from '@common/forms/common-forms.module';
|
|
|
|
import { CommonUiModule } from '@common/ui/common-ui.module';
|
2020-10-27 17:06:58 +01:00
|
|
|
import { MergeEmailConfirmation } from './merge-email-confirmation/merge-email-confirmation.component';
|
2020-10-26 17:18:26 +01:00
|
|
|
import { MergeLoginService } from './utilities/merge-login.service';
|
2020-04-03 17:40:03 +02:00
|
|
|
import { ZenodoLoginComponent } from './zenodo-login/zenodo-login.component';
|
2019-01-18 18:03:45 +01:00
|
|
|
|
|
|
|
@NgModule({
|
|
|
|
imports: [
|
|
|
|
CommonUiModule,
|
|
|
|
CommonFormsModule,
|
2020-10-27 11:04:57 +01:00
|
|
|
LoginRoutingModule,
|
|
|
|
Oauth2DialogModule
|
2019-01-18 18:03:45 +01:00
|
|
|
],
|
|
|
|
declarations: [
|
|
|
|
LoginComponent,
|
|
|
|
LinkedInLoginComponent,
|
|
|
|
TwitterLoginComponent,
|
2019-07-12 16:22:57 +02:00
|
|
|
B2AccessLoginComponent,
|
|
|
|
OrcidLoginComponent,
|
2019-10-23 12:38:27 +02:00
|
|
|
EmailConfirmation,
|
2019-11-13 16:32:55 +01:00
|
|
|
OpenAireLoginComponent,
|
2020-04-03 17:40:03 +02:00
|
|
|
ConfigurableLoginComponent,
|
2020-10-27 17:06:58 +01:00
|
|
|
ZenodoLoginComponent,
|
|
|
|
MergeEmailConfirmation
|
2019-01-18 18:03:45 +01:00
|
|
|
],
|
2020-10-26 12:24:39 +01:00
|
|
|
exports: [
|
|
|
|
LoginComponent
|
|
|
|
],
|
2020-10-26 17:18:26 +01:00
|
|
|
providers: [LoginService, MergeLoginService, ConfigurableProvidersService]
|
2019-01-18 18:03:45 +01:00
|
|
|
})
|
|
|
|
export class LoginModule { }
|