mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00
24 lines
700 B
TypeScript
24 lines
700 B
TypeScript
import { Component, } from '@angular/core';
|
|
|
|
import { renderAuthMethodFor } from '../log-in.methods-decorator';
|
|
import { AuthMethodType } from '../../../../core/auth/models/auth.method-type';
|
|
import { LogInExternalProviderComponent } from '../log-in-external-provider.component';
|
|
|
|
@Component({
|
|
selector: 'ds-log-in-shibboleth',
|
|
templateUrl: './log-in-shibboleth.component.html',
|
|
styleUrls: ['./log-in-shibboleth.component.scss'],
|
|
|
|
})
|
|
@renderAuthMethodFor(AuthMethodType.Shibboleth)
|
|
export class LogInShibbolethComponent extends LogInExternalProviderComponent {
|
|
|
|
/**
|
|
* Redirect to shibboleth authentication url
|
|
*/
|
|
redirectToShibboleth() {
|
|
this.redirectToExternalProvider();
|
|
}
|
|
|
|
}
|