Skip to content

Commit 6aae3d6

Browse files
committed
fix(docs): qualify withOAuth links in OAuthClientProvider JSDoc for TypeDoc resolution
1 parent 57c7c85 commit 6aae3d6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/client/src/client/auth.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ export interface OAuthClientProvider {
148148

149149
/**
150150
* If implemented, returns the authorization code obtained after the user completes
151-
* the OAuth authorization flow. This is called by {@linkcode withOAuth} immediately
151+
* the OAuth authorization flow. This is called by {@linkcode index.withOAuth | withOAuth} immediately
152152
* after {@linkcode OAuthClientProvider.redirectToAuthorization | redirectToAuthorization()}
153153
* resolves, allowing the middleware to automatically complete the token exchange without
154154
* requiring manual intervention.
@@ -163,7 +163,7 @@ export interface OAuthClientProvider {
163163
* for example, by starting a local HTTP server that catches the redirect, or by
164164
* fetching the authorization URL directly in a headless environment.
165165
*
166-
* If not implemented, {@linkcode withOAuth} will throw an {@linkcode UnauthorizedError}
166+
* If not implemented, {@linkcode index.withOAuth | withOAuth} will throw an {@linkcode UnauthorizedError}
167167
* when a redirect is required, leaving it to the caller to manage the auth code flow.
168168
*/
169169
getAuthorizationCode?(): string | Promise<string>;

0 commit comments

Comments
 (0)