@@ -269,7 +269,7 @@ public async Task<FirebaseToken> VerifyIdTokenAsync(
269
269
/// the newly created user account.</returns>
270
270
/// <exception cref="ArgumentNullException">If <paramref name="args"/> is null.</exception>
271
271
/// <exception cref="ArgumentException">If any of the values in <paramref name="args"/> are invalid.</exception>
272
- /// <exception cref="FirebaseException ">If an error occurs while creating the user account.</exception>
272
+ /// <exception cref="FirebaseAuthException ">If an error occurs while creating the user account.</exception>
273
273
public async Task < UserRecord > CreateUserAsync ( UserRecordArgs args )
274
274
{
275
275
return await this . CreateUserAsync ( args , default ( CancellationToken ) )
@@ -286,7 +286,7 @@ public async Task<UserRecord> CreateUserAsync(UserRecordArgs args)
286
286
/// the newly created user account.</returns>
287
287
/// <exception cref="ArgumentNullException">If <paramref name="args"/> is null.</exception>
288
288
/// <exception cref="ArgumentException">If any of the values in <paramref name="args"/> are invalid.</exception>
289
- /// <exception cref="FirebaseException ">If an error occurs while creating the user account.</exception>
289
+ /// <exception cref="FirebaseAuthException ">If an error occurs while creating the user account.</exception>
290
290
public async Task < UserRecord > CreateUserAsync (
291
291
UserRecordArgs args , CancellationToken cancellationToken )
292
292
{
@@ -304,7 +304,7 @@ public async Task<UserRecord> CreateUserAsync(
304
304
/// <returns>A task that completes with a <see cref="UserRecord"/> representing
305
305
/// a user with the specified user ID.</returns>
306
306
/// <exception cref="ArgumentException">If user ID argument is null or empty.</exception>
307
- /// <exception cref="FirebaseException ">If a user cannot be found with the specified user ID.</exception>
307
+ /// <exception cref="FirebaseAuthException ">If a user cannot be found with the specified user ID.</exception>
308
308
public async Task < UserRecord > GetUserAsync ( string uid )
309
309
{
310
310
return await this . GetUserAsync ( uid , default ( CancellationToken ) )
@@ -321,7 +321,7 @@ public async Task<UserRecord> GetUserAsync(string uid)
321
321
/// <returns>A task that completes with a <see cref="UserRecord"/> representing
322
322
/// a user with the specified user ID.</returns>
323
323
/// <exception cref="ArgumentException">If user ID argument is null or empty.</exception>
324
- /// <exception cref="FirebaseException ">If a user cannot be found with the specified user ID.</exception>
324
+ /// <exception cref="FirebaseAuthException ">If a user cannot be found with the specified user ID.</exception>
325
325
public async Task < UserRecord > GetUserAsync (
326
326
string uid , CancellationToken cancellationToken )
327
327
{
@@ -339,7 +339,7 @@ public async Task<UserRecord> GetUserAsync(
339
339
/// <returns>A task that completes with a <see cref="UserRecord"/> representing
340
340
/// a user with the specified email.</returns>
341
341
/// <exception cref="ArgumentException">If the email argument is null or empty.</exception>
342
- /// <exception cref="FirebaseException ">If a user cannot be found with the specified email.</exception>
342
+ /// <exception cref="FirebaseAuthException ">If a user cannot be found with the specified email.</exception>
343
343
public async Task < UserRecord > GetUserByEmailAsync ( string email )
344
344
{
345
345
return await this . GetUserByEmailAsync ( email , default ( CancellationToken ) )
@@ -356,7 +356,7 @@ public async Task<UserRecord> GetUserByEmailAsync(string email)
356
356
/// <returns>A task that completes with a <see cref="UserRecord"/> representing
357
357
/// a user with the specified email.</returns>
358
358
/// <exception cref="ArgumentException">If the email argument is null or empty.</exception>
359
- /// <exception cref="FirebaseException ">If a user cannot be found with the specified email.</exception>
359
+ /// <exception cref="FirebaseAuthException ">If a user cannot be found with the specified email.</exception>
360
360
public async Task < UserRecord > GetUserByEmailAsync (
361
361
string email , CancellationToken cancellationToken )
362
362
{
@@ -374,7 +374,7 @@ public async Task<UserRecord> GetUserByEmailAsync(
374
374
/// <returns>A task that completes with a <see cref="UserRecord"/> representing
375
375
/// a user with the specified phone number.</returns>
376
376
/// <exception cref="ArgumentException">If the phone number argument is null or empty.</exception>
377
- /// <exception cref="FirebaseException ">If a user cannot be found with the specified phone number.</exception>
377
+ /// <exception cref="FirebaseAuthException ">If a user cannot be found with the specified phone number.</exception>
378
378
public async Task < UserRecord > GetUserByPhoneNumberAsync ( string phoneNumber )
379
379
{
380
380
return await this . GetUserByPhoneNumberAsync ( phoneNumber , default ( CancellationToken ) )
@@ -391,7 +391,7 @@ public async Task<UserRecord> GetUserByPhoneNumberAsync(string phoneNumber)
391
391
/// <returns>A task that completes with a <see cref="UserRecord"/> representing
392
392
/// a user with the specified phone number.</returns>
393
393
/// <exception cref="ArgumentException">If the phone number argument is null or empty.</exception>
394
- /// <exception cref="FirebaseException ">If a user cannot be found with the specified phone number.</exception>
394
+ /// <exception cref="FirebaseAuthException ">If a user cannot be found with the specified phone number.</exception>
395
395
public async Task < UserRecord > GetUserByPhoneNumberAsync (
396
396
string phoneNumber , CancellationToken cancellationToken )
397
397
{
@@ -410,7 +410,7 @@ public async Task<UserRecord> GetUserByPhoneNumberAsync(
410
410
/// the updated user account.</returns>
411
411
/// <exception cref="ArgumentNullException">If <paramref name="args"/> is null.</exception>
412
412
/// <exception cref="ArgumentException">If any of the values in <paramref name="args"/> are invalid.</exception>
413
- /// <exception cref="FirebaseException ">If an error occurs while updating the user account.</exception>
413
+ /// <exception cref="FirebaseAuthException ">If an error occurs while updating the user account.</exception>
414
414
public async Task < UserRecord > UpdateUserAsync ( UserRecordArgs args )
415
415
{
416
416
return await this . UpdateUserAsync ( args , default ( CancellationToken ) )
@@ -428,7 +428,7 @@ public async Task<UserRecord> UpdateUserAsync(UserRecordArgs args)
428
428
/// the updated user account.</returns>
429
429
/// <exception cref="ArgumentNullException">If <paramref name="args"/> is null.</exception>
430
430
/// <exception cref="ArgumentException">If any of the values in <paramref name="args"/> are invalid.</exception>
431
- /// <exception cref="FirebaseException ">If an error occurs while updating the user account.</exception>
431
+ /// <exception cref="FirebaseAuthException ">If an error occurs while updating the user account.</exception>
432
432
public async Task < UserRecord > UpdateUserAsync (
433
433
UserRecordArgs args , CancellationToken cancellationToken )
434
434
{
@@ -445,7 +445,7 @@ public async Task<UserRecord> UpdateUserAsync(
445
445
/// <param name="uid">A user ID string.</param>
446
446
/// <returns>A task that completes when the user account has been deleted.</returns>
447
447
/// <exception cref="ArgumentException">If the user ID argument is null or empty.</exception>
448
- /// <exception cref="FirebaseException ">If an error occurs while deleting the user.</exception>
448
+ /// <exception cref="FirebaseAuthException ">If an error occurs while deleting the user.</exception>
449
449
public async Task DeleteUserAsync ( string uid )
450
450
{
451
451
await this . DeleteUserAsync ( uid , default ( CancellationToken ) )
@@ -460,7 +460,7 @@ public async Task DeleteUserAsync(string uid)
460
460
/// operation.</param>
461
461
/// <returns>A task that completes when the user account has been deleted.</returns>
462
462
/// <exception cref="ArgumentException">If the user ID argument is null or empty.</exception>
463
- /// <exception cref="FirebaseException ">If an error occurs while deleting the user.</exception>
463
+ /// <exception cref="FirebaseAuthException ">If an error occurs while deleting the user.</exception>
464
464
public async Task DeleteUserAsync ( string uid , CancellationToken cancellationToken )
465
465
{
466
466
var userManager = this . IfNotDeleted ( ( ) => this . userManager . Value ) ;
@@ -478,6 +478,7 @@ await userManager.DeleteUserAsync(uid, cancellationToken)
478
478
/// <exception cref="ArgumentException">If <paramref name="uid"/> is null, empty or longer
479
479
/// than 128 characters. Or, if the serialized <paramref name="claims"/> is larger than 1000
480
480
/// characters.</exception>
481
+ /// <exception cref="FirebaseAuthException">If an error occurs while setting custom claims.</exception>
481
482
/// <param name="uid">The user ID string for the custom claims will be set. Must not be null
482
483
/// or longer than 128 characters.
483
484
/// </param>
@@ -500,6 +501,7 @@ public async Task SetCustomUserClaimsAsync(
500
501
/// <exception cref="ArgumentException">If <paramref name="uid"/> is null, empty or longer
501
502
/// than 128 characters. Or, if the serialized <paramref name="claims"/> is larger than 1000
502
503
/// characters.</exception>
504
+ /// <exception cref="FirebaseAuthException">If an error occurs while setting custom claims.</exception>
503
505
/// <param name="uid">The user ID string for the custom claims will be set. Must not be null
504
506
/// or longer than 128 characters.
505
507
/// </param>
0 commit comments