Skip to content

Commit f8a2559

Browse files
authored
chore(next): add jsdoc to searchParamsOrUrl (#889)
1 parent 3223dbb commit f8a2559

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/next/server-actions/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ export function handleSignIn(config: LogtoNextConfig, url: URL): Promise<void>;
4848

4949
/**
5050
* Handle sign in callback from search params or full redirect URL, save tokens to session
51+
* @param config The Logto configuration object
52+
* @param searchParamsOrUrl Either URLSearchParams from the callback URL or the complete URL object
5153
*/
5254
export async function handleSignIn(
5355
config: LogtoNextConfig,

0 commit comments

Comments
 (0)