Skip to content

Commit e67a0b4

Browse files
wixysamclaude
andcommitted
docs(sso): expose SSO module in the generated SDK reference
Remove @internal from the SsoModule interface and SsoAccessTokenResponse so the SSO module (getAccessToken and getIdToken) is included when the SDK reference docs are generated. The JSDoc was already complete but hidden, so neither method appeared on the reference site. Also add a leading comment to the getIdToken example so the generator renders the import inside the code block instead of hoisting it into the code-group title. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent ec92f98 commit e67a0b4

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/modules/sso.types.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
/**
22
* Response from SSO access token endpoint.
3-
* @internal
43
*/
54
export interface SsoAccessTokenResponse {
65
access_token: string;
@@ -15,8 +14,6 @@ export interface SsoAccessTokenResponse {
1514
*
1615
* This module is only available to use with a client in service role authentication mode, which means it can only be used in backend environments.
1716
*
18-
* @internal
19-
*
2017
* @example
2118
* ```typescript
2219
* // Access SSO module with service role
@@ -55,6 +52,7 @@ export interface SsoModule {
5552
*
5653
* @example
5754
* ```typescript
55+
* // Get the user's ID token to read identity claims such as email
5856
* import { createClientFromRequest } from 'npm:@base44/sdk';
5957
*
6058
* Deno.serve(async (req) => {

0 commit comments

Comments
 (0)