@@ -106,7 +106,9 @@ public final class AuthClient: Sendable {
106106 /// - Parameters:
107107 /// - email: User's email address.
108108 /// - password: Password for the user.
109- /// - data: User's metadata.
109+ /// - data: Custom data object to store additional user metadata.
110+ /// - redirectTo: The redirect URL embedded in the email link, defaults to ``Configuration/redirectToURL`` if not provided.
111+ /// - captchaToken: Optional captcha token for securing this endpoint.
110112 @discardableResult
111113 public func signUp(
112114 email: String ,
@@ -145,7 +147,8 @@ public final class AuthClient: Sendable {
145147 /// - Parameters:
146148 /// - phone: User's phone number with international prefix.
147149 /// - password: Password for the user.
148- /// - data: User's metadata.
150+ /// - data: Custom data object to store additional user metadata.
151+ /// - captchaToken: Optional captcha token for securing this endpoint.
149152 @discardableResult
150153 public func signUp(
151154 phone: String ,
@@ -186,6 +189,10 @@ public final class AuthClient: Sendable {
186189 }
187190
188191 /// Log in an existing user with an email and password.
192+ /// - Parameters:
193+ /// - email: User's email address.
194+ /// - password: User's password.
195+ /// - captchaToken: Optional captcha token for securing this endpoint.
189196 @discardableResult
190197 public func signIn(
191198 email: String ,
@@ -209,6 +216,10 @@ public final class AuthClient: Sendable {
209216 }
210217
211218 /// Log in an existing user with a phone and password.
219+ /// - Parameters:
220+ /// - email: User's phone number.
221+ /// - password: User's password.
222+ /// - captchaToken: Optional captcha token for securing this endpoint.
212223 @discardableResult
213224 public func signIn(
214225 phone: String ,
@@ -339,8 +350,7 @@ public final class AuthClient: Sendable {
339350 /// - data: User's metadata.
340351 /// - captchaToken: Captcha verification token.
341352 ///
342- /// - Note: You need to configure a WhatsApp sender on Twillo if you are using phone sign in with
343- /// the `whatsapp` channel.
353+ /// - Note: You need to configure a WhatsApp sender on Twillo if you are using phone sign in with the `whatsapp` channel.
344354 public func signInWithOTP(
345355 phone: String ,
346356 channel: MessagingChannel = . sms,
@@ -369,8 +379,7 @@ public final class AuthClient: Sendable {
369379 /// Attempts a single-sign on using an enterprise Identity Provider.
370380 /// - Parameters:
371381 /// - domain: The email domain to use for signing in.
372- /// - redirectTo: The URL to redirect the user to after they sign in with the third-party
373- /// provider.
382+ /// - redirectTo: The URL to redirect the user to after they sign in with the third-party provider.
374383 /// - captchaToken: The captcha token to be used for captcha verification.
375384 /// - Returns: A URL that you can use to initiate the provider's authentication flow.
376385 public func signInWithSSO(
0 commit comments