@@ -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 ,
@@ -184,6 +187,10 @@ public final class AuthClient: Sendable {
184187 }
185188
186189 /// Log in an existing user with an email and password.
190+ /// - Parameters:
191+ /// - email: User's email address.
192+ /// - password: User's password.
193+ /// - captchaToken: Optional captcha token for securing this endpoint.
187194 @discardableResult
188195 public func signIn(
189196 email: String ,
@@ -207,6 +214,10 @@ public final class AuthClient: Sendable {
207214 }
208215
209216 /// Log in an existing user with a phone and password.
217+ /// - Parameters:
218+ /// - email: User's phone number.
219+ /// - password: User's password.
220+ /// - captchaToken: Optional captcha token for securing this endpoint.
210221 @discardableResult
211222 public func signIn(
212223 phone: String ,
@@ -333,8 +344,7 @@ public final class AuthClient: Sendable {
333344 /// - data: User's metadata.
334345 /// - captchaToken: Captcha verification token.
335346 ///
336- /// - Note: You need to configure a WhatsApp sender on Twillo if you are using phone sign in with
337- /// the `whatsapp` channel.
347+ /// - Note: You need to configure a WhatsApp sender on Twillo if you are using phone sign in with the `whatsapp` channel.
338348 public func signInWithOTP(
339349 phone: String ,
340350 channel: MessagingChannel = . sms,
@@ -362,8 +372,7 @@ public final class AuthClient: Sendable {
362372 /// Attempts a single-sign on using an enterprise Identity Provider.
363373 /// - Parameters:
364374 /// - domain: The email domain to use for signing in.
365- /// - redirectTo: The URL to redirect the user to after they sign in with the third-party
366- /// provider.
375+ /// - redirectTo: The URL to redirect the user to after they sign in with the third-party provider.
367376 /// - captchaToken: The captcha token to be used for captcha verification.
368377 /// - Returns: A URL that you can use to initiate the provider's authentication flow.
369378 public func signInWithSSO(
0 commit comments