@vertigis/viewer-spec 61.21.0 → 61.22.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.
|
@@ -136,6 +136,13 @@ export declare class AuthOperations extends OperationRegistry {
|
|
|
136
136
|
* @mobileOnly
|
|
137
137
|
*/
|
|
138
138
|
get getExistingCredential(): Operation<CredentialRequestInfo, Credential>;
|
|
139
|
+
/**
|
|
140
|
+
* Gets a credential. Returns an existing credential if one exists. Prompts
|
|
141
|
+
* the user for sign in if one cannot be found. Mobile only.
|
|
142
|
+
*
|
|
143
|
+
* @mobileOnly
|
|
144
|
+
*/
|
|
145
|
+
get getCredential(): Operation<CredentialRequestInfo, Credential>;
|
|
139
146
|
/**
|
|
140
147
|
* Check if sign-in is currently supported by the authentication manager.
|
|
141
148
|
* Web only.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{CommandRegistry as e}from"../CommandRegistry.js";import{EventRegistry as t}from"../EventRegistry.js";import{OperationRegistry as n}from"../OperationRegistry.js";export class AuthCommands extends e{_prefix="auth";get signIn(){return this._get("sign-in")}get signOut(){return this._get("sign-out")}}export class AuthOperations extends n{_prefix="auth";get getCurrentUser(){return this._get("get-current-user")}get getExistingCredential(){return this._get("get-existing-credential")}get isSignInAvailable(){return this._get("is-sign-in-available")}}export class AuthEvents extends t{_prefix="auth";get signInCancelled(){return this._get("sign-in-cancelled")}get signInCompleted(){return this._get("sign-in-completed")}get portalSignInCompleted(){return this._get("portal-sign-in-completed")}get signInFailed(){return this._get("sign-in-failed")}get signInRequested(){return this._get("sign-in-requested")}get signOutCompleted(){return this._get("sign-out-completed")}get signOutRequested(){return this._get("sign-out-requested")}get tokenRefreshed(){return this._get("token-refreshed")}}
|
|
1
|
+
import{CommandRegistry as e}from"../CommandRegistry.js";import{EventRegistry as t}from"../EventRegistry.js";import{OperationRegistry as n}from"../OperationRegistry.js";export class AuthCommands extends e{_prefix="auth";get signIn(){return this._get("sign-in")}get signOut(){return this._get("sign-out")}}export class AuthOperations extends n{_prefix="auth";get getCurrentUser(){return this._get("get-current-user")}get getExistingCredential(){return this._get("get-existing-credential")}get getCredential(){return this._get("get-credential")}get isSignInAvailable(){return this._get("is-sign-in-available")}}export class AuthEvents extends t{_prefix="auth";get signInCancelled(){return this._get("sign-in-cancelled")}get signInCompleted(){return this._get("sign-in-completed")}get portalSignInCompleted(){return this._get("portal-sign-in-completed")}get signInFailed(){return this._get("sign-in-failed")}get signInRequested(){return this._get("sign-in-requested")}get signOutCompleted(){return this._get("sign-out-completed")}get signOutRequested(){return this._get("sign-out-requested")}get tokenRefreshed(){return this._get("token-refreshed")}}
|