Skip to content

Commit 4775830

Browse files
authored
Update docstring for method Client.register (#32)
Added missing documentation for the credentialNickname parameter of the Client.register method.
1 parent 5241c2b commit 4775830

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/passwordless.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ export class Client {
3131
* Register a new credential to a user
3232
*
3333
* @param {string} token Token generated by your backend and the Passwordless API
34+
* @param {string} credentialNickname A nickname for the passkey credential being created
3435
*/
3536
public async register(token: string, credentialNickname: string): PromiseResult<TokenResponse> {
3637
try {

0 commit comments

Comments
 (0)