Skip to content

Commit d811cc2

Browse files
authored
Tighten auth during load sequence (#801)
1 parent 3354bdd commit d811cc2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

client-app/src/core/AuthModel.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {HoistAuthModel, managed, PlainObject, XH} from '@xh/hoist/core';
1+
import {HoistAuthModel, IdentityInfo, managed, PlainObject, XH} from '@xh/hoist/core';
22
import {AuthZeroClient, AuthZeroClientConfig} from '@xh/hoist/security/authzero';
33
import {MsalClient, MsalClientConfig} from '@xh/hoist/security/msal';
44

@@ -13,7 +13,7 @@ export class AuthModel extends HoistAuthModel {
1313
@managed
1414
client: AuthZeroClient | MsalClient;
1515

16-
override async completeAuthAsync(): Promise<boolean> {
16+
override async completeAuthAsync(): Promise<IdentityInfo> {
1717
this.setMaskMsg('Authenticating...');
1818

1919
// Toolbox's server-provided configuration allows for OAuth to be disabled entirely, falling back to a username

0 commit comments

Comments
 (0)