1
0

Basic implmentation of the dynamic rendering of Authentication Methods

This commit is contained in:
Julius Gruber
2019-09-04 16:19:59 +02:00
parent c428b1deef
commit 6167012e32
5 changed files with 18 additions and 17 deletions

View File

@@ -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());
}
}