c2f257e221
- Remove unsafe keystore. - Refactor functionality from unsafe keystore into mutable keystore.
16 lines
423 B
TypeScript
16 lines
423 B
TypeScript
import { Component } from '@angular/core';
|
|
import {AuthService} from '@app/_services';
|
|
|
|
@Component({
|
|
selector: 'app-root',
|
|
templateUrl: './app.component.html',
|
|
styleUrls: ['./app.component.scss']
|
|
})
|
|
export class AppComponent {
|
|
title = 'cic-staff-client';
|
|
|
|
constructor(private authService: AuthService) {
|
|
this.authService.mutableKeyStore.loadKeyring().then(r => this.authService.getPublicKeys().then());
|
|
}
|
|
}
|