Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file removed .DS_Store
Binary file not shown.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -97,3 +97,6 @@ jest-junit.xml
#ide
.idea/
.fleet/

# MacOS
.DS_Store
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
<a href="https://github.com/frontegg-samples/nodejs-proxy-sample">sample proxy project</a>
Expand Down Expand Up @@ -145,7 +145,7 @@ FronteggContext.init(

Frontegg provides various clients for seamless integration with the Frontegg API.

For example, Fronteggs 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

Expand Down Expand Up @@ -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:
Expand Down
6 changes: 6 additions & 0 deletions src/clients/identity/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 & {
Expand Down
Loading