@olympeio/runtime-node 8.6.3 → 8.6.4
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/import/olympe.dm/datamodel/05_permission_schema.updateInst.json +1 -1
- package/import/olympe.dm/datamodel/06_structure.newInst.json +1 -1
- package/import/olympe.sc/datamodel/01_language.newInst.json +1 -1
- package/import/olympe.sc/datamodel/01_language.newRel.json +1 -1
- package/index.d.ts +10 -3
- package/index.js +171 -171
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -586,6 +586,7 @@ export class Auth {
|
|
|
586
586
|
* Try to login using SRP protocol with the specified username and password.
|
|
587
587
|
* Returns a promise resolved when logged in or that catches an error if refused.
|
|
588
588
|
*
|
|
589
|
+
* @throws {Error} If the provider's configuration is incorrect.
|
|
589
590
|
* @param username the username
|
|
590
591
|
* @param password the password
|
|
591
592
|
*/
|
|
@@ -595,10 +596,9 @@ export class Auth {
|
|
|
595
596
|
* Try to login using SAML protocol with the specified username and password.
|
|
596
597
|
* Returns a promise resolved when logged in or that catches an error if refused.
|
|
597
598
|
*
|
|
598
|
-
* @
|
|
599
|
-
* @param password the password
|
|
599
|
+
* @throws {Error} If the provider's configuration is incorrect.
|
|
600
600
|
*/
|
|
601
|
-
static loginSAML(
|
|
601
|
+
static loginSAML(): Promise<void>;
|
|
602
602
|
|
|
603
603
|
/**
|
|
604
604
|
* Try to login using the specified token for the user.
|
|
@@ -609,6 +609,13 @@ export class Auth {
|
|
|
609
609
|
*/
|
|
610
610
|
static loginToken(username: string, token: string): Promise<void>;
|
|
611
611
|
|
|
612
|
+
/**
|
|
613
|
+
* Try to login using the configured OpenID Provider.
|
|
614
|
+
* Returns a promise resolved when logged in or that catches an error if the login is not valid.
|
|
615
|
+
* @throws {Error} If the provider's configuration is incorrect.
|
|
616
|
+
*/
|
|
617
|
+
static loginOpenID(): Promise<void>;
|
|
618
|
+
|
|
612
619
|
/**
|
|
613
620
|
* Log out the current user and invalidate its session token.
|
|
614
621
|
* It returns a promise resolved when the operation is done.
|