@plitzi/sdk-shared
Advanced tools
+8
-0
| # @plitzi/sdk-shared | ||
| ## 0.32.14 | ||
| ### Patch Changes | ||
| - v0.32.14 | ||
| - Updated dependencies | ||
| - @plitzi/nexus@0.32.14 | ||
| ## 0.32.13 | ||
@@ -4,0 +12,0 @@ |
@@ -415,2 +415,14 @@ import { Environment } from './CommonTypes'; | ||
| }; | ||
| /** A connection a visitor may take WITHOUT signing in, for a server whose public surface needs no identity — the | ||
| * MCP App, the tool and resource listings, the guide. The consent screen offers it as a second button beside the | ||
| * sign-in, and the grant is whatever `target` grants: point it at a target that carries no space, never at one | ||
| * that does, since nobody proved who they are. */ | ||
| export type OAuthGuestConfig = { | ||
| /** Handed straight to {@link OAuthAdapters.issueToken} when a visitor takes the guest connection. */ | ||
| target: OAuthGrantTarget; | ||
| /** Button text. Defaults to 'Continue without an account'. */ | ||
| label?: string; | ||
| /** Who the grant is issued as. Defaults to `{ id: 'guest', label: 'Guest' }`. */ | ||
| user?: OAuthUser; | ||
| }; | ||
| /** What the built-in consent screen shows around the form. Ignored when `renderConsent` replaces the page. */ | ||
@@ -436,2 +448,8 @@ export type OAuthBranding = { | ||
| targets: OAuthGrantTarget[]; | ||
| /** Offered on the 'credentials' step when the deployment allows a guest connection. The form must submit a | ||
| * `guest` field for it (any non-empty value), which is what tells the server to skip authentication. */ | ||
| guest?: { | ||
| label: string; | ||
| description?: string; | ||
| }; | ||
| /** Who logged in, on the 'target' step. */ | ||
@@ -466,2 +484,4 @@ user?: OAuthUser; | ||
| refreshTtlSeconds?: number; | ||
| /** Offer a connection that needs no account — see {@link OAuthGuestConfig}. Omit to require sign-in. */ | ||
| guest?: OAuthGuestConfig; | ||
| branding?: OAuthBranding; | ||
@@ -468,0 +488,0 @@ /** Replaces the built-in consent screen — return a full HTML document for the given step. */ |
Sorry, the diff of this file is too big to display
957089
0.14%13346
0.15%Updated