File tree Expand file tree Collapse file tree
packages/client/src/client Expand file tree Collapse file tree Original file line number Diff line number Diff 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 > ;
You can’t perform that action at this time.
0 commit comments