@@ -45,6 +45,7 @@ type UserEntity = {
4545``` tsx
4646type ApplicationEntity = {
4747 id: string ;
48+ type: ApplicationType ;
4849 name: string ;
4950 description? : string ;
5051};
@@ -203,3 +204,23 @@ type OrganizationScope = {
203204| OrganizationScope.Created | data | OrganizationScope | | The created organization scope entity. |
204205| OrganizationScope.Data.Updated | data | OrganizationScope | | The updated organization scope entity. |
205206| OrganizationScope.Deleted | data | null | / | |
207+
208+ ## Exception hook events request body
209+
210+ Available events: ` Identifier.Lockout `
211+
212+ The request body is a JSON object that contains the standard request body fields and additional fields as below:
213+
214+ | Field | Type | Optional | Notes |
215+ | ---------------- | ------------------- | -------- | ------------------------------------------------------------------ |
216+ | hookId | ` string ` | | The identifier in Logto. |
217+ | event | ` string ` | | Which event that triggers this hook. |
218+ | createdAt | ` string ` | | The create time of payload in ISO format. |
219+ | userAgent | ` string ` | ✅ | The user-agent for the request. |
220+ | ip | ` string ` | ✅ | The IP address for the request. |
221+ | interactionEvent | ` string ` | ✅ | The interaction event that triggers this hook. |
222+ | sessionId | ` string ` | ✅ | The Session ID (not Interaction ID) for this event, if applicable. |
223+ | applicationId | ` string ` | ✅ | The related Application ID for this event, if applicable. |
224+ | application | ` ApplicationEntity ` | ✅ | The related application info for this event, if applicable. |
225+ | type | ` SignInIdentifier ` | | The user's identifier type, e.g., email, phone or username. |
226+ | value | ` string ` | | The user's identifier value that triggered the lockout. |
0 commit comments