Skip to content
Snippets Groups Projects
Commit 418bb38a authored by Christian ZHENG's avatar Christian ZHENG
Browse files

chore(login): remove useless export

parent ea5ef02e
No related branches found
No related tags found
2 merge requests!16feat: publish extension on marketplace with ci,!15feat(Sprint1): add authentication + directory picking + redirection link
...@@ -156,7 +156,7 @@ export default class KeycloakOAuth2DeviceFlowConnectionTokenProvider { ...@@ -156,7 +156,7 @@ export default class KeycloakOAuth2DeviceFlowConnectionTokenProvider {
* KEEP the SAME case \ * KEEP the SAME case \
* to respect keycloak API return * to respect keycloak API return
*/ */
export interface DeviceAuthorizationRequestResponseData { interface DeviceAuthorizationRequestResponseData {
device_code?: string; device_code?: string;
user_code?: string; user_code?: string;
verification_uri?: string; verification_uri?: string;
...@@ -169,7 +169,7 @@ export interface DeviceAuthorizationRequestResponseData { ...@@ -169,7 +169,7 @@ export interface DeviceAuthorizationRequestResponseData {
* KEEP the SAME case \ * KEEP the SAME case \
* to respect keycloak API return * to respect keycloak API return
*/ */
export interface SuccessfulAuthenticationResponseData { interface SuccessfulAuthenticationResponseData {
access_token?: string; access_token?: string;
expires_in?: number; expires_in?: number;
'not-before-policy'?: number; 'not-before-policy'?: number;
...@@ -180,13 +180,11 @@ export interface SuccessfulAuthenticationResponseData { ...@@ -180,13 +180,11 @@ export interface SuccessfulAuthenticationResponseData {
token_type?: 'Bearer' | string; token_type?: 'Bearer' | string;
} }
export interface FailedAuthenticationReponseData { interface FailedAuthenticationReponseData {
error?: string; error?: string;
error_description?: string; error_description?: string;
} }
export type AuthenticationResponse = SuccessfulAuthenticationResponseData | FailedAuthenticationReponseData;
function sleep(ms: number) { function sleep(ms: number) {
return new Promise((resolve) => setTimeout(resolve, ms)); return new Promise((resolve) => setTimeout(resolve, ms));
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment