@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.
@@ -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 connections. `GET /auth/login/oidc/providers` lists them
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