feat: add CIE authentication callback page with polling mechanism for session verification
This commit is contained in:
Vendored
+35
@@ -54,6 +54,41 @@ export interface TokenResponse {
|
||||
expires_in_hours: number;
|
||||
}
|
||||
|
||||
export interface CieStartRequest {
|
||||
frontend_redirect_uri: string;
|
||||
}
|
||||
|
||||
export interface CieStartResponse {
|
||||
ok: boolean;
|
||||
authorization_url: string;
|
||||
state: string;
|
||||
status: string;
|
||||
}
|
||||
|
||||
export interface CieExchangeRequest {
|
||||
state: string;
|
||||
issuer: string;
|
||||
subject: string;
|
||||
fiscal_code: string;
|
||||
first_name?: string;
|
||||
last_name?: string;
|
||||
email?: string;
|
||||
}
|
||||
|
||||
export interface CieSessionAuth {
|
||||
token?: string;
|
||||
token_type?: string;
|
||||
expires_in_hours?: number;
|
||||
[key: string]: any;
|
||||
}
|
||||
|
||||
export interface CieSessionResponse {
|
||||
ok: boolean;
|
||||
status: string;
|
||||
user_id?: number;
|
||||
auth?: CieSessionAuth;
|
||||
}
|
||||
|
||||
/**
|
||||
* REPORTS & MEDIA
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user