@microsoft/rayfin-auth-provider-fabric 1.33.1 → 1.33.2

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.
@@ -1,5 +1,7 @@
1
1
  /**
2
2
  * Handoff result returned by the host extension's `AuthPlugin`.
3
+ *
4
+ * @internal Low-level transport detail consumed by `embeddedFabricLogin`.
3
5
  */
4
6
  export interface PostMessageHandoffResult {
5
7
  /** Single-use handoff code to exchange for tokens. */
@@ -24,6 +26,8 @@ export interface PostMessageHandoffResult {
24
26
  * - `timeoutMs`: Response timeout in milliseconds (default 30 000).
25
27
  * @returns Promise resolving with the handoff code and state.
26
28
  * @throws `AuthError` - On timeout, error response, or missing parent.
29
+ * @internal Low-level transport helper used by `embeddedFabricLogin`; not a
30
+ * supported public API.
27
31
  */
28
32
  export declare function requestHandoff(params: {
29
33
  callbackUrl: string;
@@ -17,6 +17,8 @@ import { AuthError } from '@microsoft/rayfin-lib';
17
17
  * - `timeoutMs`: Response timeout in milliseconds (default 30 000).
18
18
  * @returns Promise resolving with the handoff code and state.
19
19
  * @throws `AuthError` - On timeout, error response, or missing parent.
20
+ * @internal Low-level transport helper used by `embeddedFabricLogin`; not a
21
+ * supported public API.
20
22
  */
21
23
  export function requestHandoff(params) {
22
24
  const { callbackUrl, codeChallenge, codeChallengeMethod, state, timeoutMs } = params;
@@ -7,7 +7,7 @@ import type { FabricAuthOptions } from './types.js';
7
7
  * 1. Clears any prior Rayfin session in this iframe (`auth.signOut()`)
8
8
  * so a stale session from a previous Fabric user cannot be reused.
9
9
  * 2. Generates PKCE parameters in local variables (no `localStorage`).
10
- * 3. Sends `auth.requestHandoff` to the parent via {@link requestHandoff}.
10
+ * 3. Sends `auth.requestHandoff` to the parent via `requestHandoff`.
11
11
  * 4. Receives the handoff code from the host's `AuthPlugin`.
12
12
  * 5. Exchanges the handoff code for tokens via `exchangeVerificationCode`.
13
13
  * 6. Creates a session via `createSessionFromTokenResponse` and marks
@@ -9,7 +9,7 @@ import { markEmbeddedHandoffCompleted } from './fabricAuthHelpers.js';
9
9
  * 1. Clears any prior Rayfin session in this iframe (`auth.signOut()`)
10
10
  * so a stale session from a previous Fabric user cannot be reused.
11
11
  * 2. Generates PKCE parameters in local variables (no `localStorage`).
12
- * 3. Sends `auth.requestHandoff` to the parent via {@link requestHandoff}.
12
+ * 3. Sends `auth.requestHandoff` to the parent via `requestHandoff`.
13
13
  * 4. Receives the handoff code from the host's `AuthPlugin`.
14
14
  * 5. Exchanges the handoff code for tokens via `exchangeVerificationCode`.
15
15
  * 6. Creates a session via `createSessionFromTokenResponse` and marks
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@microsoft/rayfin-auth-provider-fabric",
3
- "version": "1.33.1",
3
+ "version": "1.33.2",
4
4
  "description": "Fabric brokered authentication provider for Rayfin SDK",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -13,9 +13,9 @@
13
13
  ],
14
14
  "type": "module",
15
15
  "dependencies": {
16
- "@microsoft/fabric-embedded-host": "1.33.1",
17
- "@microsoft/rayfin-auth": "1.33.1",
18
- "@microsoft/rayfin-lib": "1.33.1"
16
+ "@microsoft/rayfin-auth": "1.33.2",
17
+ "@microsoft/fabric-embedded-host": "1.33.2",
18
+ "@microsoft/rayfin-lib": "1.33.2"
19
19
  },
20
20
  "devDependencies": {
21
21
  "typescript": "^5.8.3",