mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-04 20:42:52 +00:00
@@ -52,6 +52,12 @@ export class DefaultAuthService extends AuthService {
|
|||||||
return Promise.resolve(this.localConfiguration);
|
return Promise.resolve(this.localConfiguration);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public async init() {
|
||||||
|
this.setupConfiguration();
|
||||||
|
this.setupAuthorizationNotifier();
|
||||||
|
await this.loadTokenFromStorage();
|
||||||
|
}
|
||||||
|
|
||||||
setupConfiguration() {
|
setupConfiguration() {
|
||||||
const authConfig = this.configProvider.getAnyValue('auth') as {
|
const authConfig = this.configProvider.getAnyValue('auth') as {
|
||||||
default: SCAuthorizationProvider;
|
default: SCAuthorizationProvider;
|
||||||
|
|||||||
Reference in New Issue
Block a user