-
Notifications
You must be signed in to change notification settings - Fork 180
/
silentAuthCallback.ts
47 lines (40 loc) · 1.06 KB
/
silentAuthCallback.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
import { SilentAuthChannel, SilenAuthStatus } from '../enums';
/**
* Represents a callback received for Silent Authentication.
*/
export type SilentAuthCallback = {
/**
* The ID of the Silent Authentication request associated with the callback.
*/
request_id: string;
/**
* The date and time when the Silent Authentication event was triggered
* in ISO 8601 format.
*/
triggerd_at: string; // Typo: Should be 'triggered_at'
/**
* The type of response for the Silent Authentication event.
*/
type: string;
/**
* The communication channel for Silent Authentication (always 'silent_auth').
*/
channel: SilentAuthChannel.SILENT_AUTH;
/**
* The status of the Silent Authentication event.
*/
status: SilenAuthStatus;
/**
* Information about the action in the Silent Authentication event.
*/
action: {
/**
* The type of action, which is 'check' for Silent Authentication.
*/
type: 'check';
/**
* The URL for Silent Authentication Verify workflow completion.
*/
check_url: string;
};
};