chore: export the authentication guard

pull/4995/head
mehmet-erim 5 years ago
parent f1240ef79a
commit ad1107189e

@ -0,0 +1 @@
export * from './authentication-flow.guard';

@ -1,6 +1,7 @@
export * from './lib/account.module';
export * from './lib/components';
export * from './lib/enums';
export * from './lib/tokens';
export * from './lib/guards';
export * from './lib/models';
export * from './lib/services';
export * from './lib/tokens';

@ -25,7 +25,7 @@ export abstract class OAuthStrategy {
this.oAuthConfig = injector.get(CORE_OPTIONS).environment.oAuthConfig;
}
async init(): Promise<OAuthSuccessEvent | void> {
async init(): Promise<any> {
this.oAuthService.configure(this.oAuthConfig);
return this.oAuthService.loadDiscoveryDocument().catch(this.catchError);
}

Loading…
Cancel
Save