forked from hazza/dspace-angular
Basic implmentation of the dynamic rendering of Authentication Methods
This commit is contained in:
@@ -1,13 +1,8 @@
|
||||
import { Component, ContentChild, Injector, Input, OnInit, ViewChild, ViewChildren } from '@angular/core';
|
||||
import { rendersAuthMethodType } from '../authMethods-decorator';
|
||||
import { AuthMethodModel } from '../../../core/auth/models/auth-method.model';
|
||||
import { getAuthenticationMethods, isAuthenticated, isAuthenticationLoading } from '../../../core/auth/selectors';
|
||||
import { select, Store } from '@ngrx/store';
|
||||
import { AppState } from '../../../app.reducer';
|
||||
import { Observable } from 'rxjs';
|
||||
import { AuthMethodType } from '../authMethods-type';
|
||||
import { CoreState } from '../../../core/core.reducers';
|
||||
import { ShibbolethComponent } from '../../../+login-page/shibbolethTargetPage/shibboleth.component';
|
||||
|
||||
/**
|
||||
* This component represents a section that contains the submission license form.
|
||||
@@ -45,9 +40,6 @@ export class LoginContainerComponent implements OnInit {
|
||||
],
|
||||
parent: this.injector
|
||||
});
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -57,9 +49,4 @@ export class LoginContainerComponent implements OnInit {
|
||||
return rendersAuthMethodType(this.authMethodModel.authMethodType)
|
||||
}
|
||||
|
||||
startShibbolethAuthentication($event) {
|
||||
console.log('startShibbolethAuthentication() was called with event: ', $event);
|
||||
// this.store.dispatch(new ShibbolethAuthenticateAction());
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user