diff --git a/.DS_Store b/.DS_Store deleted file mode 100644 index 87108b0..0000000 Binary files a/.DS_Store and /dev/null differ diff --git a/.gitignore b/.gitignore index fda812a..6fa34e5 100644 --- a/.gitignore +++ b/.gitignore @@ -97,3 +97,6 @@ jest-junit.xml #ide .idea/ .fleet/ + +# MacOS +.DS_Store diff --git a/README.md b/README.md index 9905184..c5517d6 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ ## Breaking Changes * ### As of version 3.0.0 and 4.0.0, we will no longer provide proxy middlewares -* ### As of version 5.0.0, node 12 is no loner supported. +* ### As of version 5.0.0, node 12 is no longer supported. To see an example implementation, head over to our sample proxy project @@ -145,7 +145,7 @@ FronteggContext.init( Frontegg provides various clients for seamless integration with the Frontegg API. -For example, Frontegg’s Managed Audit Logs feature allows a SaaS company to embed an end-to-end working feature in just 5 lines of code +For example, Frontegg's Managed Audit Logs feature allows a SaaS company to embed an end-to-end working feature in just 5 lines of code #### Create a new Audits client @@ -258,10 +258,10 @@ The result of those queries has the following structure: ```typescript type IsEntitledResult = { result: boolean, - justficiation?: string + justification?: string } ``` -When `result: true`, then `justficiation` is not given. +When `result: true`, then `justification` is not given. #### Closing the client To gracefully close the client: diff --git a/src/clients/identity/types.ts b/src/clients/identity/types.ts index e6317ae..5ac0b60 100644 --- a/src/clients/identity/types.ts +++ b/src/clients/identity/types.ts @@ -63,6 +63,12 @@ export type IUser = IEntityWithRoles & { amr?: string[]; acr?: string; auth_time?: number; + exp?: number; + sid?: string; + applicationId?: string; + aud?: string; + iss?: string; + iat?: number; }; export type IApiToken = IEntityWithRoles & {