Skip to content

Commit

Permalink
idva2-806-update-with-scope-and-extra-functions
Browse files Browse the repository at this point in the history
* update IUserProfile to support null TokenPermissions
  • Loading branch information
pshdev0 committed Aug 13, 2024
1 parent 0ad2487 commit 2eb1ab0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/session/model/SessionInterfaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export type ISession = {

export type ISignInInfo = {
[SignInInfoKeys.AccessToken]?: IAccessToken,
[SignInInfoKeys.AdditionalScope]?: string;
[SignInInfoKeys.AdditionalScope]?: string,
[SignInInfoKeys.AdminPermissions]?: string,
[SignInInfoKeys.CompanyNumber]?: string,
[SignInInfoKeys.SignedIn]?: number,
Expand All @@ -39,8 +39,8 @@ export type IUserProfile = {
[Key: string]: any;
},
[UserProfileKeys.TokenPermissions]?: {
[Key: string]: string;
}
[Key: string]: string
} | null,
};

export type IAccessToken = {
Expand Down

0 comments on commit 2eb1ab0

Please sign in to comment.