@@ -377,6 +377,143 @@ firebaseui.auth.FederatedSignInOption.prototype.scopes;
377
377
*/
378
378
firebaseui . auth . FederatedSignInOption . prototype . customParameters ;
379
379
380
+
381
+ /**
382
+ * Defines the sign-in option needed to configure the FirebaseUI SAML
383
+ * sign-in widget.
384
+ *
385
+ * @interface
386
+ * @extends {firebaseui.auth.SignInOption }
387
+ */
388
+ firebaseui . auth . SamlSignInOption = function ( ) { } ;
389
+
390
+ /**
391
+ * The provider name displayed to end users
392
+ * (sign-in button label/linking prompt).
393
+ * Default: provider ID
394
+ *
395
+ * @type {string|undefined }
396
+ */
397
+ firebaseui . auth . SamlSignInOption . prototype . providerName ;
398
+
399
+ /**
400
+ * The color of the sign-in button.
401
+ *
402
+ * @type {string }
403
+ */
404
+ firebaseui . auth . SamlSignInOption . prototype . buttonColor ;
405
+
406
+ /**
407
+ * The URL of the Identity Provider's icon. This will be displayed on the
408
+ * provider's sign-in button, etc.
409
+ *
410
+ * @type {string }
411
+ */
412
+ firebaseui . auth . SamlSignInOption . prototype . iconUrl ;
413
+
414
+
415
+ /**
416
+ * Defines the sign-in option needed to configure the FirebaseUI generic OAuth
417
+ * sign-in widget.
418
+ *
419
+ * @interface
420
+ * @extends {firebaseui.auth.SignInOption }
421
+ */
422
+ firebaseui . auth . OAuthSignInOption = function ( ) { } ;
423
+
424
+ /**
425
+ * The provider name displayed to end users
426
+ * (sign-in button label/linking prompt),
427
+ * eg. "Microsoft". Default: provider ID, eg. "microsoft.com"
428
+ *
429
+ * @type {string|undefined }
430
+ */
431
+ firebaseui . auth . OAuthSignInOption . prototype . providerName ;
432
+
433
+ /**
434
+ * The color of the sign-in button.
435
+ *
436
+ * @type {string }
437
+ */
438
+ firebaseui . auth . OAuthSignInOption . prototype . buttonColor ;
439
+
440
+ /**
441
+ * The URL of the Identity Provider's icon. This will be displayed on the
442
+ * provider's sign-in button, etc.
443
+ *
444
+ * @type {string }
445
+ */
446
+ firebaseui . auth . OAuthSignInOption . prototype . iconUrl ;
447
+
448
+ /**
449
+ * The list of additional OAuth 2.0 scopes beyond basic profile that you want
450
+ * to request from the authentication provider.
451
+ *
452
+ * @type {!Array<string>|undefined }
453
+ */
454
+ firebaseui . auth . OAuthSignInOption . prototype . scopes ;
455
+
456
+ /**
457
+ * The custom OAuth parameters for the selected OAuth provider.
458
+ *
459
+ * @type {!Object|undefined }
460
+ */
461
+ firebaseui . auth . OAuthSignInOption . prototype . customParameters ;
462
+
463
+ /**
464
+ * The key of the custom parameter, with which the login hint can be passed to
465
+ * the provider. This is useful in case a user previously signs up with an IdP
466
+ * like Microsoft and then tries to sign in with email using the same Microsoft
467
+ * email. FirebaseUI can then ask the user to sign in with that email to the
468
+ * already registered account with Microsoft. For Microsoft and Yahoo, this
469
+ * field is `login_hint`.
470
+ *
471
+ * @type {string|undefined }
472
+ */
473
+ firebaseui . auth . OAuthSignInOption . prototype . loginHintKey ;
474
+
475
+
476
+ /**
477
+ * Defines the sign-in option needed to configure the FirebaseUI OIDC
478
+ * sign-in widget.
479
+ *
480
+ * @interface
481
+ * @extends {firebaseui.auth.SignInOption }
482
+ */
483
+ firebaseui . auth . OidcSignInOption = function ( ) { } ;
484
+
485
+ /**
486
+ * The provider name displayed to end users
487
+ * (sign-in button label/linking prompt).
488
+ * Default: provider ID
489
+ *
490
+ * @type {string|undefined }
491
+ */
492
+ firebaseui . auth . OidcSignInOption . prototype . providerName ;
493
+
494
+ /**
495
+ * The color of the sign-in button.
496
+ *
497
+ * @type {string }
498
+ */
499
+ firebaseui . auth . OidcSignInOption . prototype . buttonColor ;
500
+
501
+ /**
502
+ * The URL of the Identity Provider's icon. This will be displayed on the
503
+ * provider's sign-in button, etc.
504
+ *
505
+ * @type {string }
506
+ */
507
+ firebaseui . auth . OidcSignInOption . prototype . iconUrl ;
508
+
509
+ /**
510
+ * The list of additional custom parameters that the OIDC provider supports.
511
+ *
512
+ * @type {!Object|undefined }
513
+ */
514
+ firebaseui . auth . OidcSignInOption . prototype . customParameters ;
515
+
516
+
380
517
/**
381
518
* Defines the sign-in option needed to configure the FirebaseUI email sign-in
382
519
* widget.
0 commit comments