@faable/auth-sdk 2.5.71 → 2.5.73
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/types.d.ts +49 -0
- package/package.json +1 -1
- package/spec/openapi.json +50 -1
package/dist/api/types.d.ts
CHANGED
|
@@ -1889,6 +1889,55 @@ export interface paths {
|
|
|
1889
1889
|
patch?: never;
|
|
1890
1890
|
trace?: never;
|
|
1891
1891
|
};
|
|
1892
|
+
"/mfa/step-up": {
|
|
1893
|
+
parameters: {
|
|
1894
|
+
query?: never;
|
|
1895
|
+
header?: never;
|
|
1896
|
+
path?: never;
|
|
1897
|
+
cookie?: never;
|
|
1898
|
+
};
|
|
1899
|
+
get?: never;
|
|
1900
|
+
put?: never;
|
|
1901
|
+
/**
|
|
1902
|
+
* Start a step-up challenge for the current session
|
|
1903
|
+
* @description Parks a challenge for the signed-in user and returns where to send the browser. Answering it seals the session at AAL2 and returns to `redirect_to`. Answers `already_satisfied` when the session is AAL2 already.
|
|
1904
|
+
*/
|
|
1905
|
+
post: {
|
|
1906
|
+
parameters: {
|
|
1907
|
+
query?: never;
|
|
1908
|
+
header?: never;
|
|
1909
|
+
path?: never;
|
|
1910
|
+
cookie?: never;
|
|
1911
|
+
};
|
|
1912
|
+
requestBody: {
|
|
1913
|
+
content: {
|
|
1914
|
+
"application/json": {
|
|
1915
|
+
/** @description Same-origin path to return to once the factor is proven. Off-origin values are dropped. */
|
|
1916
|
+
redirect_to?: string;
|
|
1917
|
+
};
|
|
1918
|
+
};
|
|
1919
|
+
};
|
|
1920
|
+
responses: {
|
|
1921
|
+
/** @description Default Response */
|
|
1922
|
+
200: {
|
|
1923
|
+
headers: {
|
|
1924
|
+
[name: string]: unknown;
|
|
1925
|
+
};
|
|
1926
|
+
content: {
|
|
1927
|
+
"application/json": {
|
|
1928
|
+
redirect_url: string;
|
|
1929
|
+
already_satisfied: boolean;
|
|
1930
|
+
};
|
|
1931
|
+
};
|
|
1932
|
+
};
|
|
1933
|
+
};
|
|
1934
|
+
};
|
|
1935
|
+
delete?: never;
|
|
1936
|
+
options?: never;
|
|
1937
|
+
head?: never;
|
|
1938
|
+
patch?: never;
|
|
1939
|
+
trace?: never;
|
|
1940
|
+
};
|
|
1892
1941
|
"/me": {
|
|
1893
1942
|
parameters: {
|
|
1894
1943
|
query?: never;
|
package/package.json
CHANGED
package/spec/openapi.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"info": {
|
|
4
4
|
"title": "@faablecloud/auth",
|
|
5
5
|
"description": "Auth Platform made by Faable. Manage Users and Roles",
|
|
6
|
-
"version": "2.2.
|
|
6
|
+
"version": "2.2.3",
|
|
7
7
|
"license": {
|
|
8
8
|
"name": "private",
|
|
9
9
|
"url": "https://faable.com/docs/platform/privacy-policy"
|
|
@@ -20866,6 +20866,55 @@
|
|
|
20866
20866
|
}
|
|
20867
20867
|
}
|
|
20868
20868
|
},
|
|
20869
|
+
"/mfa/step-up": {
|
|
20870
|
+
"post": {
|
|
20871
|
+
"summary": "Start a step-up challenge for the current session",
|
|
20872
|
+
"tags": [
|
|
20873
|
+
"mfa"
|
|
20874
|
+
],
|
|
20875
|
+
"description": "Parks a challenge for the signed-in user and returns where to send the browser. Answering it seals the session at AAL2 and returns to `redirect_to`. Answers `already_satisfied` when the session is AAL2 already.",
|
|
20876
|
+
"requestBody": {
|
|
20877
|
+
"required": true,
|
|
20878
|
+
"content": {
|
|
20879
|
+
"application/json": {
|
|
20880
|
+
"schema": {
|
|
20881
|
+
"type": "object",
|
|
20882
|
+
"properties": {
|
|
20883
|
+
"redirect_to": {
|
|
20884
|
+
"type": "string",
|
|
20885
|
+
"description": "Same-origin path to return to once the factor is proven. Off-origin values are dropped."
|
|
20886
|
+
}
|
|
20887
|
+
}
|
|
20888
|
+
}
|
|
20889
|
+
}
|
|
20890
|
+
}
|
|
20891
|
+
},
|
|
20892
|
+
"responses": {
|
|
20893
|
+
"200": {
|
|
20894
|
+
"description": "Default Response",
|
|
20895
|
+
"content": {
|
|
20896
|
+
"application/json": {
|
|
20897
|
+
"schema": {
|
|
20898
|
+
"type": "object",
|
|
20899
|
+
"required": [
|
|
20900
|
+
"redirect_url",
|
|
20901
|
+
"already_satisfied"
|
|
20902
|
+
],
|
|
20903
|
+
"properties": {
|
|
20904
|
+
"redirect_url": {
|
|
20905
|
+
"type": "string"
|
|
20906
|
+
},
|
|
20907
|
+
"already_satisfied": {
|
|
20908
|
+
"type": "boolean"
|
|
20909
|
+
}
|
|
20910
|
+
}
|
|
20911
|
+
}
|
|
20912
|
+
}
|
|
20913
|
+
}
|
|
20914
|
+
}
|
|
20915
|
+
}
|
|
20916
|
+
}
|
|
20917
|
+
},
|
|
20869
20918
|
"/me": {
|
|
20870
20919
|
"get": {
|
|
20871
20920
|
"operationId": "session/me",
|