@deadair/sdk 0.30.0 → 0.31.0
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/authentication/types/authentication.types.d.ts +1 -1
- package/dist/index.js +10 -0
- package/dist/index.js.map +1 -1
- package/dist/plugins/types/plugins.types.d.ts +36 -24
- package/dist/plugins/types/plugins.types.d.ts.map +1 -1
- package/dist/settings/settings.client.d.ts +6 -1
- package/dist/settings/settings.client.d.ts.map +1 -1
- package/dist/settings/types/settings.types.d.ts +27 -1
- package/dist/settings/types/settings.types.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -20,7 +20,7 @@ export type AuthenticationFactorMethod = 'phone' | 'password' | 'email' | 'authe
|
|
|
20
20
|
*/
|
|
21
21
|
export type AuthenticationFactorKind = 'knowledge' | 'possession' | 'biometric';
|
|
22
22
|
/**
|
|
23
|
-
* The name of an identity provider the station offers, as the operator set it under Settings, Sign-in and
|
|
23
|
+
* The name of an identity provider the station offers, as the operator set it under Settings, Sign-in and security. `GET /auth/login/oidc/providers` lists them
|
|
24
24
|
* generated from [OidcProvider](../../../../../apps/api/data/contracts/authentication/authentication.types.ck#L24)
|
|
25
25
|
*/
|
|
26
26
|
export type OidcProvider = string;
|
package/dist/index.js
CHANGED
|
@@ -3500,6 +3500,16 @@ var SettingsClient = class {
|
|
|
3500
3500
|
});
|
|
3501
3501
|
return await parseJson(result);
|
|
3502
3502
|
}
|
|
3503
|
+
/**
|
|
3504
|
+
* @name Check sign-in providers
|
|
3505
|
+
* @description Asks each identity provider in the sign-in settings for its discovery document, the way a sign-in would, and says which answered
|
|
3506
|
+
*/
|
|
3507
|
+
async checkSignInProviders() {
|
|
3508
|
+
const result = await this.fetch(`/settings/signin/check`, {
|
|
3509
|
+
method: "GET"
|
|
3510
|
+
});
|
|
3511
|
+
return await parseJson(result);
|
|
3512
|
+
}
|
|
3503
3513
|
};
|
|
3504
3514
|
|
|
3505
3515
|
// src/station/types/logs.types.ts
|