1// Jest Snapshot v1, https://goo.gl/fbAQLP 2 3exports[`APISection expo-apple-authentication 1`] = ` 4<div> 5 <h2 6 class="css-1v5aebx-h2-h2-STYLES_H2" 7 data-heading="true" 8 > 9 <div 10 class="css-1rh3o5q-STYLES_PERMALINK" 11 > 12 <span 13 class="css-zonpcr-STYLES_PERMALINK_TARGET" 14 id="components" 15 /> 16 <a 17 class="css-15lh5hg-STYLES_PERMALINK_LINK" 18 href="#components" 19 > 20 <span 21 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 22 > 23 Components 24 </span> 25 <span 26 class="css-10vdcw8-STYLES_PERMALINK_ICON" 27 > 28 <svg 29 aria-label="permalink" 30 class="anchor-icon" 31 fill="none" 32 height="24" 33 viewBox="0 0 24 24" 34 width="24" 35 xmlns="http://www.w3.org/2000/svg" 36 > 37 <path 38 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 39 stroke="#9B9B9B" 40 stroke-linecap="round" 41 stroke-linejoin="round" 42 stroke-width="2" 43 /> 44 <path 45 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 46 stroke="#9B9B9B" 47 stroke-linecap="round" 48 stroke-linejoin="round" 49 stroke-width="2" 50 /> 51 </svg> 52 </span> 53 </a> 54 </div> 55 </h2> 56 <div> 57 <h3 58 class="css-icxoph-h3-h3-STYLES_H3" 59 data-heading="true" 60 > 61 <div 62 class="css-1rh3o5q-STYLES_PERMALINK" 63 > 64 <span 65 class="css-zonpcr-STYLES_PERMALINK_TARGET" 66 id="appleauthenticationbutton" 67 /> 68 <a 69 class="css-15lh5hg-STYLES_PERMALINK_LINK" 70 href="#appleauthenticationbutton" 71 > 72 <span 73 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 74 > 75 <code 76 class="inline css-nuv12a-STYLES_INLINE_CODE" 77 > 78 AppleAuthenticationButton 79 </code> 80 </span> 81 <span 82 class="css-10vdcw8-STYLES_PERMALINK_ICON" 83 > 84 <svg 85 aria-label="permalink" 86 class="anchor-icon" 87 fill="none" 88 height="24" 89 viewBox="0 0 24 24" 90 width="24" 91 xmlns="http://www.w3.org/2000/svg" 92 > 93 <path 94 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 95 stroke="#9B9B9B" 96 stroke-linecap="round" 97 stroke-linejoin="round" 98 stroke-width="2" 99 /> 100 <path 101 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 102 stroke="#9B9B9B" 103 stroke-linecap="round" 104 stroke-linejoin="round" 105 stroke-width="2" 106 /> 107 </svg> 108 </span> 109 </a> 110 </div> 111 </h3> 112 <p 113 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 114 data-text="true" 115 > 116 <strong 117 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 118 > 119 Type: 120 </strong> 121 122 <code 123 class="inline css-nuv12a-STYLES_INLINE_CODE" 124 > 125 React.FC 126 < 127 <span> 128 <a 129 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 130 href="/#appleauthenticationbuttonprops" 131 > 132 AppleAuthenticationButtonProps 133 </a> 134 </span> 135 > 136 </code> 137 </p> 138 <p 139 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 140 data-text="true" 141 > 142 <span> 143 This component displays the proprietary "Sign In with Apple" / "Continue with Apple" button on 144your screen. The App Store Guidelines require you to use this component to start the 145authentication process instead of a custom button. Limited customization of the button is 146available via the provided properties. 147 </span> 148 </p> 149 <p 150 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 151 data-text="true" 152 > 153 <span> 154 You should only attempt to render this if 155 </span> 156 <a 157 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 158 href="/#isavailableasync" 159 > 160 <code 161 class="inline css-nuv12a-STYLES_INLINE_CODE" 162 > 163 AppleAuthentication.isAvailableAsync() 164 </code> 165 </a> 166 <span> 167 168resolves to 169 </span> 170 <code 171 class="inline css-nuv12a-STYLES_INLINE_CODE" 172 > 173 true 174 </code> 175 <span> 176 . This component will render nothing if it is not available, and you will get 177a warning in development mode ( 178 </span> 179 <code 180 class="inline css-nuv12a-STYLES_INLINE_CODE" 181 > 182 __DEV__ === true 183 </code> 184 <span> 185 ). 186 </span> 187 </p> 188 <p 189 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 190 data-text="true" 191 > 192 <span> 193 The properties of this component extend from 194 </span> 195 <code 196 class="inline css-nuv12a-STYLES_INLINE_CODE" 197 > 198 View 199 </code> 200 <span> 201 ; however, you should not attempt to set 202 203 </span> 204 <code 205 class="inline css-nuv12a-STYLES_INLINE_CODE" 206 > 207 backgroundColor 208 </code> 209 <span> 210 or 211 </span> 212 <code 213 class="inline css-nuv12a-STYLES_INLINE_CODE" 214 > 215 borderRadius 216 </code> 217 <span> 218 with the 219 </span> 220 <code 221 class="inline css-nuv12a-STYLES_INLINE_CODE" 222 > 223 style 224 </code> 225 <span> 226 property. This will not work and is against 227the App Store Guidelines. Instead, you should use the 228 </span> 229 <code 230 class="inline css-nuv12a-STYLES_INLINE_CODE" 231 > 232 buttonStyle 233 </code> 234 <span> 235 property to choose one of the 236predefined color styles and the 237 </span> 238 <code 239 class="inline css-nuv12a-STYLES_INLINE_CODE" 240 > 241 cornerRadius 242 </code> 243 <span> 244 property to change the border radius of the 245button. 246 </span> 247 </p> 248 <p 249 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 250 data-text="true" 251 > 252 <span> 253 Make sure to attach height and width via the style props as without these styles, the button will 254not appear on the screen. 255 </span> 256 </p> 257 <h3 258 class="css-icxoph-h3-h3-STYLES_H3" 259 data-heading="true" 260 > 261 <div 262 class="css-1rh3o5q-STYLES_PERMALINK" 263 > 264 <span 265 class="css-zonpcr-STYLES_PERMALINK_TARGET" 266 id="appleauthenticationbuttonprops" 267 /> 268 <a 269 class="css-15lh5hg-STYLES_PERMALINK_LINK" 270 href="#appleauthenticationbuttonprops" 271 > 272 <span 273 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 274 > 275 <code 276 class="inline css-nuv12a-STYLES_INLINE_CODE" 277 > 278 AppleAuthenticationButtonProps 279 </code> 280 </span> 281 <span 282 class="css-10vdcw8-STYLES_PERMALINK_ICON" 283 > 284 <svg 285 aria-label="permalink" 286 class="anchor-icon" 287 fill="none" 288 height="24" 289 viewBox="0 0 24 24" 290 width="24" 291 xmlns="http://www.w3.org/2000/svg" 292 > 293 <path 294 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 295 stroke="#9B9B9B" 296 stroke-linecap="round" 297 stroke-linejoin="round" 298 stroke-width="2" 299 /> 300 <path 301 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 302 stroke="#9B9B9B" 303 stroke-linecap="round" 304 stroke-linejoin="round" 305 stroke-width="2" 306 /> 307 </svg> 308 </span> 309 </a> 310 </div> 311 </h3> 312 <br /> 313 <div> 314 <ul 315 class="css-1a9yu92-paragraph-STYLES_UNORDERED_LIST-UL" 316 data-text="true" 317 > 318 <li 319 class="docs-list-item css-aulog8-STYLES_LIST_ITEM-LI" 320 > 321 <h4 322 class="css-1j2s5xo-h4-h4-STYLES_H4" 323 data-heading="true" 324 > 325 buttonStyle 326 </h4> 327 <p 328 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 329 data-text="true" 330 > 331 <span 332 class="css-t865as-STYLES_SECONDARY" 333 > 334 Type: 335 </span> 336 337 <code 338 class="inline css-nuv12a-STYLES_INLINE_CODE" 339 > 340 <a 341 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 342 href="/#appleauthenticationbuttonstyle" 343 > 344 AppleAuthenticationButtonStyle 345 </a> 346 </code> 347 </p> 348 <p 349 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 350 data-text="true" 351 > 352 <span> 353 The Apple-defined color scheme to use to display the button. 354 </span> 355 </p> 356 </li> 357 <li 358 class="docs-list-item css-aulog8-STYLES_LIST_ITEM-LI" 359 > 360 <h4 361 class="css-1j2s5xo-h4-h4-STYLES_H4" 362 data-heading="true" 363 > 364 buttonType 365 </h4> 366 <p 367 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 368 data-text="true" 369 > 370 <span 371 class="css-t865as-STYLES_SECONDARY" 372 > 373 Type: 374 </span> 375 376 <code 377 class="inline css-nuv12a-STYLES_INLINE_CODE" 378 > 379 <a 380 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 381 href="/#appleauthenticationbuttontype" 382 > 383 AppleAuthenticationButtonType 384 </a> 385 </code> 386 </p> 387 <p 388 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 389 data-text="true" 390 > 391 <span> 392 The type of button text to display ("Sign In with Apple" vs. "Continue with Apple"). 393 </span> 394 </p> 395 </li> 396 <li 397 class="docs-list-item css-aulog8-STYLES_LIST_ITEM-LI" 398 > 399 <h4 400 class="css-1j2s5xo-h4-h4-STYLES_H4" 401 data-heading="true" 402 > 403 cornerRadius 404 </h4> 405 <p 406 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 407 data-text="true" 408 > 409 <span 410 class="css-t865as-STYLES_SECONDARY" 411 > 412 Optional • 413 </span> 414 <span 415 class="css-t865as-STYLES_SECONDARY" 416 > 417 Type: 418 </span> 419 420 <code 421 class="inline css-nuv12a-STYLES_INLINE_CODE" 422 > 423 number 424 </code> 425 </p> 426 <p 427 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 428 data-text="true" 429 > 430 <span> 431 The border radius to use when rendering the button. This works similarly to 432 433 </span> 434 <code 435 class="inline css-nuv12a-STYLES_INLINE_CODE" 436 > 437 style.borderRadius 438 </code> 439 <span> 440 in other Views. 441 </span> 442 </p> 443 </li> 444 <li 445 class="docs-list-item css-aulog8-STYLES_LIST_ITEM-LI" 446 > 447 <h4 448 class="css-1j2s5xo-h4-h4-STYLES_H4" 449 data-heading="true" 450 > 451 onPress 452 </h4> 453 <p 454 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 455 data-text="true" 456 > 457 <span 458 class="css-t865as-STYLES_SECONDARY" 459 > 460 Type: 461 </span> 462 463 <code 464 class="inline css-nuv12a-STYLES_INLINE_CODE" 465 > 466 () => 467 468 void 469 </code> 470 </p> 471 <p 472 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 473 data-text="true" 474 > 475 <span> 476 The method to call when the user presses the button. You should call 477 </span> 478 <a 479 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 480 href="/#isavailableasync" 481 > 482 <code 483 class="inline css-nuv12a-STYLES_INLINE_CODE" 484 > 485 AppleAuthentication.signInAsync 486 </code> 487 </a> 488 <span> 489 490in here. 491 </span> 492 </p> 493 </li> 494 <li 495 class="docs-list-item css-aulog8-STYLES_LIST_ITEM-LI" 496 > 497 <h4 498 class="css-1j2s5xo-h4-h4-STYLES_H4" 499 data-heading="true" 500 > 501 style 502 </h4> 503 <p 504 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 505 data-text="true" 506 > 507 <span 508 class="css-t865as-STYLES_SECONDARY" 509 > 510 Optional • 511 </span> 512 <span 513 class="css-t865as-STYLES_SECONDARY" 514 > 515 Type: 516 </span> 517 518 <code 519 class="inline css-nuv12a-STYLES_INLINE_CODE" 520 > 521 StyleProp 522 < 523 <span> 524 Omit 525 < 526 <span> 527 <a 528 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 529 href="/react-native/view-style-props" 530 > 531 ViewStyle 532 </a> 533 , 534 </span> 535 <span> 536 <span> 537 'backgroundColor' 538 | 539 </span> 540 <span> 541 'borderRadius' 542 </span> 543 </span> 544 > 545 </span> 546 > 547 </code> 548 </p> 549 <p 550 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 551 data-text="true" 552 > 553 <span> 554 The custom style to apply to the button. Should not include 555 </span> 556 <code 557 class="inline css-nuv12a-STYLES_INLINE_CODE" 558 > 559 backgroundColor 560 </code> 561 <span> 562 or 563 </span> 564 <code 565 class="inline css-nuv12a-STYLES_INLINE_CODE" 566 > 567 borderRadius 568 </code> 569 <span> 570 571properties. 572 </span> 573 </p> 574 </li> 575 </ul> 576 <h4 577 class="css-1j2s5xo-h4-h4-STYLES_H4" 578 data-heading="true" 579 > 580 Inherited Props 581 </h4> 582 <ul 583 class="css-1a9yu92-paragraph-STYLES_UNORDERED_LIST-UL" 584 data-text="true" 585 > 586 <li 587 class="docs-list-item css-aulog8-STYLES_LIST_ITEM-LI" 588 > 589 <code 590 class="inline css-nuv12a-STYLES_INLINE_CODE" 591 > 592 <a 593 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 594 href="/react-native/view#props" 595 > 596 ViewProps 597 </a> 598 </code> 599 </li> 600 </ul> 601 </div> 602 </div> 603 <h2 604 class="css-1v5aebx-h2-h2-STYLES_H2" 605 data-heading="true" 606 > 607 <div 608 class="css-1rh3o5q-STYLES_PERMALINK" 609 > 610 <span 611 class="css-zonpcr-STYLES_PERMALINK_TARGET" 612 id="methods" 613 /> 614 <a 615 class="css-15lh5hg-STYLES_PERMALINK_LINK" 616 href="#methods" 617 > 618 <span 619 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 620 > 621 Methods 622 </span> 623 <span 624 class="css-10vdcw8-STYLES_PERMALINK_ICON" 625 > 626 <svg 627 aria-label="permalink" 628 class="anchor-icon" 629 fill="none" 630 height="24" 631 viewBox="0 0 24 24" 632 width="24" 633 xmlns="http://www.w3.org/2000/svg" 634 > 635 <path 636 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 637 stroke="#9B9B9B" 638 stroke-linecap="round" 639 stroke-linejoin="round" 640 stroke-width="2" 641 /> 642 <path 643 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 644 stroke="#9B9B9B" 645 stroke-linecap="round" 646 stroke-linejoin="round" 647 stroke-width="2" 648 /> 649 </svg> 650 </span> 651 </a> 652 </div> 653 </h2> 654 <div> 655 <h3 656 class="css-icxoph-h3-h3-STYLES_H3" 657 data-heading="true" 658 > 659 <div 660 class="css-1rh3o5q-STYLES_PERMALINK" 661 > 662 <span 663 class="css-zonpcr-STYLES_PERMALINK_TARGET" 664 id="getcredentialstateasyncuser" 665 /> 666 <a 667 class="css-15lh5hg-STYLES_PERMALINK_LINK" 668 href="#getcredentialstateasyncuser" 669 > 670 <span 671 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 672 > 673 <code 674 class="inline css-nuv12a-STYLES_INLINE_CODE" 675 > 676 677 getCredentialStateAsync(user) 678 </code> 679 </span> 680 <span 681 class="css-10vdcw8-STYLES_PERMALINK_ICON" 682 > 683 <svg 684 aria-label="permalink" 685 class="anchor-icon" 686 fill="none" 687 height="24" 688 viewBox="0 0 24 24" 689 width="24" 690 xmlns="http://www.w3.org/2000/svg" 691 > 692 <path 693 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 694 stroke="#9B9B9B" 695 stroke-linecap="round" 696 stroke-linejoin="round" 697 stroke-width="2" 698 /> 699 <path 700 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 701 stroke="#9B9B9B" 702 stroke-linecap="round" 703 stroke-linejoin="round" 704 stroke-width="2" 705 /> 706 </svg> 707 </span> 708 </a> 709 </div> 710 </h3> 711 <h4 712 class=" css-1j2s5xo-h4-h4-STYLES_H4" 713 data-components-heading="true" 714 data-heading="true" 715 > 716 <div 717 class="css-1rh3o5q-STYLES_PERMALINK" 718 > 719 <span 720 class="css-zonpcr-STYLES_PERMALINK_TARGET" 721 id="arguments" 722 /> 723 <a 724 class="css-15lh5hg-STYLES_PERMALINK_LINK" 725 href="#arguments" 726 > 727 <span 728 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 729 > 730 Arguments 731 </span> 732 <span 733 class="css-10vdcw8-STYLES_PERMALINK_ICON" 734 > 735 <svg 736 aria-label="permalink" 737 class="anchor-icon" 738 fill="none" 739 height="24" 740 viewBox="0 0 24 24" 741 width="24" 742 xmlns="http://www.w3.org/2000/svg" 743 > 744 <path 745 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 746 stroke="#9B9B9B" 747 stroke-linecap="round" 748 stroke-linejoin="round" 749 stroke-width="2" 750 /> 751 <path 752 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 753 stroke="#9B9B9B" 754 stroke-linecap="round" 755 stroke-linejoin="round" 756 stroke-width="2" 757 /> 758 </svg> 759 </span> 760 </a> 761 </div> 762 </h4> 763 <ul 764 class="css-1a9yu92-paragraph-STYLES_UNORDERED_LIST-UL" 765 data-text="true" 766 > 767 <li 768 class="docs-list-item css-aulog8-STYLES_LIST_ITEM-LI" 769 > 770 <strong 771 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 772 > 773 user 774 ( 775 <code 776 class="inline css-nuv12a-STYLES_INLINE_CODE" 777 > 778 string 779 </code> 780 ) 781 </strong> 782 - 783 <span> 784 <span> 785 The unique identifier for the user whose credential state you'd like to check. 786This should come from the user field of an 787 </span> 788 <a 789 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 790 href="/#appleauthenticationcredentialstate" 791 > 792 <code 793 class="inline css-nuv12a-STYLES_INLINE_CODE" 794 > 795 AppleAuthenticationCredential 796 </code> 797 </a> 798 <span> 799 object. 800 </span> 801 </span> 802 </li> 803 </ul> 804 <p 805 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 806 data-text="true" 807 > 808 <span> 809 Queries the current state of a user credential, to determine if it is still valid or if it has been revoked. 810 </span> 811 </p> 812 <blockquote 813 class="css-e76wiv-paragraph-STYLES_BLOCKQUOTE" 814 data-text="true" 815 > 816 <div> 817 <div 818 style="margin-top: 2px;" 819 > 820 <svg 821 aria-label="check" 822 fill="none" 823 height="16" 824 viewBox="0 0 24 24" 825 width="16" 826 xmlns="http://www.w3.org/2000/svg" 827 > 828 <path 829 d="M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12c6.628 0 12-5.373 12-12S18.628 0 12 0zm-.015 5.419c.269-.292.596-.44.973-.44.306 0 .575.11.776.317.203.207.306.472.306.786 0 .394-.137.745-.409 1.042-.279.306-.605.462-.968.462-.3 0-.566-.113-.768-.326-.201-.208-.304-.48-.304-.809 0-.401.133-.749.394-1.032zm1.999 11.305c-.995.936-1.705 1.52-2.17 1.784-.496.284-.905.423-1.25.423-.342 0-.621-.114-.83-.338-.202-.218-.305-.51-.305-.87 0-.92.521-3.058 1.595-6.534a1.47 1.47 0 00.042-.166c-.04.017-.087.041-.14.075-.088.055-.356.265-1.14 1.03a.334.334 0 01-.438.025l-.463-.358a.334.334 0 01-.043-.49c.722-.794 1.395-1.371 2.002-1.714.636-.358 1.173-.533 1.643-.533.303 0 .548.076.729.225.196.164.3.391.3.658 0 .175-.084.63-.697 2.686-.875 2.937-1.084 4.003-1.099 4.372.166-.098.558-.376 1.395-1.162a.334.334 0 01.462.003l.411.4a.334.334 0 01-.004.484z" 830 fill="var(--expo-theme-icon-default)" 831 /> 832 </svg> 833 </div> 834 </div> 835 <div> 836 <strong 837 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 838 > 839 <span> 840 Note: 841 </span> 842 </strong> 843 <span> 844 This method must be tested on a real device. On the iOS simulator it always throws an error. 845 </span> 846 </div> 847 </blockquote> 848 <div> 849 <h4 850 class=" css-1j2s5xo-h4-h4-STYLES_H4" 851 data-components-heading="true" 852 data-heading="true" 853 > 854 <div 855 class="css-1rh3o5q-STYLES_PERMALINK" 856 > 857 <span 858 class="css-zonpcr-STYLES_PERMALINK_TARGET" 859 id="returns" 860 /> 861 <a 862 class="css-15lh5hg-STYLES_PERMALINK_LINK" 863 href="#returns" 864 > 865 <span 866 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 867 > 868 Returns 869 </span> 870 <span 871 class="css-10vdcw8-STYLES_PERMALINK_ICON" 872 > 873 <svg 874 aria-label="permalink" 875 class="anchor-icon" 876 fill="none" 877 height="24" 878 viewBox="0 0 24 24" 879 width="24" 880 xmlns="http://www.w3.org/2000/svg" 881 > 882 <path 883 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 884 stroke="#9B9B9B" 885 stroke-linecap="round" 886 stroke-linejoin="round" 887 stroke-width="2" 888 /> 889 <path 890 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 891 stroke="#9B9B9B" 892 stroke-linecap="round" 893 stroke-linejoin="round" 894 stroke-width="2" 895 /> 896 </svg> 897 </span> 898 </a> 899 </div> 900 </h4> 901 <ul 902 class="css-1a9yu92-paragraph-STYLES_UNORDERED_LIST-UL" 903 data-text="true" 904 > 905 <li 906 class="docs-list-item css-npeppb-STYLES_LIST_ITEM-STYLE_RETURN_LIST-LI" 907 > 908 <code 909 class="inline css-nuv12a-STYLES_INLINE_CODE" 910 > 911 <a 912 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 913 href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" 914 rel="noopener noreferrer" 915 > 916 Promise 917 </a> 918 < 919 <span> 920 <a 921 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 922 href="/#appleauthenticationcredentialstate" 923 > 924 AppleAuthenticationCredentialState 925 </a> 926 </span> 927 > 928 </code> 929 </li> 930 </ul> 931 <p 932 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 933 data-text="true" 934 > 935 <span> 936 A promise that fulfills with an 937 </span> 938 <a 939 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 940 href="/#appleauthenticationcredentialstate" 941 > 942 <code 943 class="inline css-nuv12a-STYLES_INLINE_CODE" 944 > 945 AppleAuthenticationCredentialState 946 </code> 947 </a> 948 <span> 949 950value depending on the state of the credential. 951 </span> 952 </p> 953 </div> 954 <hr /> 955 </div> 956 <div> 957 <h3 958 class="css-icxoph-h3-h3-STYLES_H3" 959 data-heading="true" 960 > 961 <div 962 class="css-1rh3o5q-STYLES_PERMALINK" 963 > 964 <span 965 class="css-zonpcr-STYLES_PERMALINK_TARGET" 966 id="isavailableasync" 967 /> 968 <a 969 class="css-15lh5hg-STYLES_PERMALINK_LINK" 970 href="#isavailableasync" 971 > 972 <span 973 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 974 > 975 <code 976 class="inline css-nuv12a-STYLES_INLINE_CODE" 977 > 978 979 isAvailableAsync() 980 </code> 981 </span> 982 <span 983 class="css-10vdcw8-STYLES_PERMALINK_ICON" 984 > 985 <svg 986 aria-label="permalink" 987 class="anchor-icon" 988 fill="none" 989 height="24" 990 viewBox="0 0 24 24" 991 width="24" 992 xmlns="http://www.w3.org/2000/svg" 993 > 994 <path 995 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 996 stroke="#9B9B9B" 997 stroke-linecap="round" 998 stroke-linejoin="round" 999 stroke-width="2" 1000 /> 1001 <path 1002 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 1003 stroke="#9B9B9B" 1004 stroke-linecap="round" 1005 stroke-linejoin="round" 1006 stroke-width="2" 1007 /> 1008 </svg> 1009 </span> 1010 </a> 1011 </div> 1012 </h3> 1013 <p 1014 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 1015 data-text="true" 1016 > 1017 <span> 1018 Determine if the current device's operating system supports Apple authentication. 1019 </span> 1020 </p> 1021 <div> 1022 <h4 1023 class=" css-1j2s5xo-h4-h4-STYLES_H4" 1024 data-components-heading="true" 1025 data-heading="true" 1026 > 1027 <div 1028 class="css-1rh3o5q-STYLES_PERMALINK" 1029 > 1030 <span 1031 class="css-zonpcr-STYLES_PERMALINK_TARGET" 1032 id="returns-1" 1033 /> 1034 <a 1035 class="css-15lh5hg-STYLES_PERMALINK_LINK" 1036 href="#returns-1" 1037 > 1038 <span 1039 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 1040 > 1041 Returns 1042 </span> 1043 <span 1044 class="css-10vdcw8-STYLES_PERMALINK_ICON" 1045 > 1046 <svg 1047 aria-label="permalink" 1048 class="anchor-icon" 1049 fill="none" 1050 height="24" 1051 viewBox="0 0 24 24" 1052 width="24" 1053 xmlns="http://www.w3.org/2000/svg" 1054 > 1055 <path 1056 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 1057 stroke="#9B9B9B" 1058 stroke-linecap="round" 1059 stroke-linejoin="round" 1060 stroke-width="2" 1061 /> 1062 <path 1063 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 1064 stroke="#9B9B9B" 1065 stroke-linecap="round" 1066 stroke-linejoin="round" 1067 stroke-width="2" 1068 /> 1069 </svg> 1070 </span> 1071 </a> 1072 </div> 1073 </h4> 1074 <ul 1075 class="css-1a9yu92-paragraph-STYLES_UNORDERED_LIST-UL" 1076 data-text="true" 1077 > 1078 <li 1079 class="docs-list-item css-npeppb-STYLES_LIST_ITEM-STYLE_RETURN_LIST-LI" 1080 > 1081 <code 1082 class="inline css-nuv12a-STYLES_INLINE_CODE" 1083 > 1084 <a 1085 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 1086 href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" 1087 rel="noopener noreferrer" 1088 > 1089 Promise 1090 </a> 1091 < 1092 <span> 1093 boolean 1094 </span> 1095 > 1096 </code> 1097 </li> 1098 </ul> 1099 <p 1100 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 1101 data-text="true" 1102 > 1103 <span> 1104 A promise that fulfills with 1105 </span> 1106 <code 1107 class="inline css-nuv12a-STYLES_INLINE_CODE" 1108 > 1109 true 1110 </code> 1111 <span> 1112 if the system supports Apple authentication, and 1113 </span> 1114 <code 1115 class="inline css-nuv12a-STYLES_INLINE_CODE" 1116 > 1117 false 1118 </code> 1119 <span> 1120 otherwise. 1121 </span> 1122 </p> 1123 </div> 1124 <hr /> 1125 </div> 1126 <div> 1127 <h3 1128 class="css-icxoph-h3-h3-STYLES_H3" 1129 data-heading="true" 1130 > 1131 <div 1132 class="css-1rh3o5q-STYLES_PERMALINK" 1133 > 1134 <span 1135 class="css-zonpcr-STYLES_PERMALINK_TARGET" 1136 id="refreshasyncoptions" 1137 /> 1138 <a 1139 class="css-15lh5hg-STYLES_PERMALINK_LINK" 1140 href="#refreshasyncoptions" 1141 > 1142 <span 1143 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 1144 > 1145 <code 1146 class="inline css-nuv12a-STYLES_INLINE_CODE" 1147 > 1148 1149 refreshAsync(options) 1150 </code> 1151 </span> 1152 <span 1153 class="css-10vdcw8-STYLES_PERMALINK_ICON" 1154 > 1155 <svg 1156 aria-label="permalink" 1157 class="anchor-icon" 1158 fill="none" 1159 height="24" 1160 viewBox="0 0 24 24" 1161 width="24" 1162 xmlns="http://www.w3.org/2000/svg" 1163 > 1164 <path 1165 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 1166 stroke="#9B9B9B" 1167 stroke-linecap="round" 1168 stroke-linejoin="round" 1169 stroke-width="2" 1170 /> 1171 <path 1172 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 1173 stroke="#9B9B9B" 1174 stroke-linecap="round" 1175 stroke-linejoin="round" 1176 stroke-width="2" 1177 /> 1178 </svg> 1179 </span> 1180 </a> 1181 </div> 1182 </h3> 1183 <h4 1184 class=" css-1j2s5xo-h4-h4-STYLES_H4" 1185 data-components-heading="true" 1186 data-heading="true" 1187 > 1188 <div 1189 class="css-1rh3o5q-STYLES_PERMALINK" 1190 > 1191 <span 1192 class="css-zonpcr-STYLES_PERMALINK_TARGET" 1193 id="arguments-1" 1194 /> 1195 <a 1196 class="css-15lh5hg-STYLES_PERMALINK_LINK" 1197 href="#arguments-1" 1198 > 1199 <span 1200 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 1201 > 1202 Arguments 1203 </span> 1204 <span 1205 class="css-10vdcw8-STYLES_PERMALINK_ICON" 1206 > 1207 <svg 1208 aria-label="permalink" 1209 class="anchor-icon" 1210 fill="none" 1211 height="24" 1212 viewBox="0 0 24 24" 1213 width="24" 1214 xmlns="http://www.w3.org/2000/svg" 1215 > 1216 <path 1217 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 1218 stroke="#9B9B9B" 1219 stroke-linecap="round" 1220 stroke-linejoin="round" 1221 stroke-width="2" 1222 /> 1223 <path 1224 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 1225 stroke="#9B9B9B" 1226 stroke-linecap="round" 1227 stroke-linejoin="round" 1228 stroke-width="2" 1229 /> 1230 </svg> 1231 </span> 1232 </a> 1233 </div> 1234 </h4> 1235 <ul 1236 class="css-1a9yu92-paragraph-STYLES_UNORDERED_LIST-UL" 1237 data-text="true" 1238 > 1239 <li 1240 class="docs-list-item css-aulog8-STYLES_LIST_ITEM-LI" 1241 > 1242 <strong 1243 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 1244 > 1245 options 1246 ( 1247 <code 1248 class="inline css-nuv12a-STYLES_INLINE_CODE" 1249 > 1250 <a 1251 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 1252 href="/#appleauthenticationrefreshoptions" 1253 > 1254 AppleAuthenticationRefreshOptions 1255 </a> 1256 </code> 1257 ) 1258 </strong> 1259 </li> 1260 </ul> 1261 <div> 1262 <h4 1263 class=" css-1j2s5xo-h4-h4-STYLES_H4" 1264 data-components-heading="true" 1265 data-heading="true" 1266 > 1267 <div 1268 class="css-1rh3o5q-STYLES_PERMALINK" 1269 > 1270 <span 1271 class="css-zonpcr-STYLES_PERMALINK_TARGET" 1272 id="returns-2" 1273 /> 1274 <a 1275 class="css-15lh5hg-STYLES_PERMALINK_LINK" 1276 href="#returns-2" 1277 > 1278 <span 1279 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 1280 > 1281 Returns 1282 </span> 1283 <span 1284 class="css-10vdcw8-STYLES_PERMALINK_ICON" 1285 > 1286 <svg 1287 aria-label="permalink" 1288 class="anchor-icon" 1289 fill="none" 1290 height="24" 1291 viewBox="0 0 24 24" 1292 width="24" 1293 xmlns="http://www.w3.org/2000/svg" 1294 > 1295 <path 1296 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 1297 stroke="#9B9B9B" 1298 stroke-linecap="round" 1299 stroke-linejoin="round" 1300 stroke-width="2" 1301 /> 1302 <path 1303 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 1304 stroke="#9B9B9B" 1305 stroke-linecap="round" 1306 stroke-linejoin="round" 1307 stroke-width="2" 1308 /> 1309 </svg> 1310 </span> 1311 </a> 1312 </div> 1313 </h4> 1314 <ul 1315 class="css-1a9yu92-paragraph-STYLES_UNORDERED_LIST-UL" 1316 data-text="true" 1317 > 1318 <li 1319 class="docs-list-item css-npeppb-STYLES_LIST_ITEM-STYLE_RETURN_LIST-LI" 1320 > 1321 <code 1322 class="inline css-nuv12a-STYLES_INLINE_CODE" 1323 > 1324 <a 1325 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 1326 href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" 1327 rel="noopener noreferrer" 1328 > 1329 Promise 1330 </a> 1331 < 1332 <span> 1333 <a 1334 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 1335 href="/#appleauthenticationcredential" 1336 > 1337 AppleAuthenticationCredential 1338 </a> 1339 </span> 1340 > 1341 </code> 1342 </li> 1343 </ul> 1344 </div> 1345 <hr /> 1346 </div> 1347 <div> 1348 <h3 1349 class="css-icxoph-h3-h3-STYLES_H3" 1350 data-heading="true" 1351 > 1352 <div 1353 class="css-1rh3o5q-STYLES_PERMALINK" 1354 > 1355 <span 1356 class="css-zonpcr-STYLES_PERMALINK_TARGET" 1357 id="signinasyncoptions" 1358 /> 1359 <a 1360 class="css-15lh5hg-STYLES_PERMALINK_LINK" 1361 href="#signinasyncoptions" 1362 > 1363 <span 1364 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 1365 > 1366 <code 1367 class="inline css-nuv12a-STYLES_INLINE_CODE" 1368 > 1369 1370 signInAsync(options) 1371 </code> 1372 </span> 1373 <span 1374 class="css-10vdcw8-STYLES_PERMALINK_ICON" 1375 > 1376 <svg 1377 aria-label="permalink" 1378 class="anchor-icon" 1379 fill="none" 1380 height="24" 1381 viewBox="0 0 24 24" 1382 width="24" 1383 xmlns="http://www.w3.org/2000/svg" 1384 > 1385 <path 1386 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 1387 stroke="#9B9B9B" 1388 stroke-linecap="round" 1389 stroke-linejoin="round" 1390 stroke-width="2" 1391 /> 1392 <path 1393 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 1394 stroke="#9B9B9B" 1395 stroke-linecap="round" 1396 stroke-linejoin="round" 1397 stroke-width="2" 1398 /> 1399 </svg> 1400 </span> 1401 </a> 1402 </div> 1403 </h3> 1404 <h4 1405 class=" css-1j2s5xo-h4-h4-STYLES_H4" 1406 data-components-heading="true" 1407 data-heading="true" 1408 > 1409 <div 1410 class="css-1rh3o5q-STYLES_PERMALINK" 1411 > 1412 <span 1413 class="css-zonpcr-STYLES_PERMALINK_TARGET" 1414 id="arguments-2" 1415 /> 1416 <a 1417 class="css-15lh5hg-STYLES_PERMALINK_LINK" 1418 href="#arguments-2" 1419 > 1420 <span 1421 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 1422 > 1423 Arguments 1424 </span> 1425 <span 1426 class="css-10vdcw8-STYLES_PERMALINK_ICON" 1427 > 1428 <svg 1429 aria-label="permalink" 1430 class="anchor-icon" 1431 fill="none" 1432 height="24" 1433 viewBox="0 0 24 24" 1434 width="24" 1435 xmlns="http://www.w3.org/2000/svg" 1436 > 1437 <path 1438 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 1439 stroke="#9B9B9B" 1440 stroke-linecap="round" 1441 stroke-linejoin="round" 1442 stroke-width="2" 1443 /> 1444 <path 1445 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 1446 stroke="#9B9B9B" 1447 stroke-linecap="round" 1448 stroke-linejoin="round" 1449 stroke-width="2" 1450 /> 1451 </svg> 1452 </span> 1453 </a> 1454 </div> 1455 </h4> 1456 <ul 1457 class="css-1a9yu92-paragraph-STYLES_UNORDERED_LIST-UL" 1458 data-text="true" 1459 > 1460 <li 1461 class="docs-list-item css-aulog8-STYLES_LIST_ITEM-LI" 1462 > 1463 <strong 1464 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 1465 > 1466 options 1467 ? 1468 ( 1469 <code 1470 class="inline css-nuv12a-STYLES_INLINE_CODE" 1471 > 1472 <a 1473 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 1474 href="/#appleauthenticationsigninoptions" 1475 > 1476 AppleAuthenticationSignInOptions 1477 </a> 1478 </code> 1479 ) 1480 </strong> 1481 - 1482 <span> 1483 <span> 1484 An optional 1485 </span> 1486 <a 1487 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 1488 href="/#appleauthenticationsigninoptions" 1489 > 1490 <code 1491 class="inline css-nuv12a-STYLES_INLINE_CODE" 1492 > 1493 AppleAuthenticationSignInOptions 1494 </code> 1495 </a> 1496 <span> 1497 object 1498 </span> 1499 </span> 1500 </li> 1501 </ul> 1502 <p 1503 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 1504 data-text="true" 1505 > 1506 <span> 1507 Sends a request to the operating system to initiate the Apple authentication flow, which will 1508present a modal to the user over your app and allow them to sign in. 1509 </span> 1510 </p> 1511 <p 1512 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 1513 data-text="true" 1514 > 1515 <span> 1516 You can request access to the user's full name and email address in this method, which allows you 1517to personalize your UI for signed in users. However, users can deny access to either or both 1518of these options at runtime. 1519 </span> 1520 </p> 1521 <p 1522 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 1523 data-text="true" 1524 > 1525 <span> 1526 Additionally, you will only receive Apple Authentication Credentials the first time users sign 1527into your app, so you must store it for later use. It's best to store this information either 1528server-side, or using 1529 </span> 1530 <a 1531 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 1532 href="/securestore" 1533 > 1534 <span> 1535 SecureStore 1536 </span> 1537 </a> 1538 <span> 1539 , so that the data persists across app installs. 1540You can use 1541 </span> 1542 <a 1543 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 1544 href="/#appleauthenticationcredential" 1545 > 1546 <code 1547 class="inline css-nuv12a-STYLES_INLINE_CODE" 1548 > 1549 AppleAuthenticationCredential.user 1550 </code> 1551 </a> 1552 <span> 1553 to identify 1554the user, since this remains the same for apps released by the same developer. 1555 </span> 1556 </p> 1557 <div> 1558 <h4 1559 class=" css-1j2s5xo-h4-h4-STYLES_H4" 1560 data-components-heading="true" 1561 data-heading="true" 1562 > 1563 <div 1564 class="css-1rh3o5q-STYLES_PERMALINK" 1565 > 1566 <span 1567 class="css-zonpcr-STYLES_PERMALINK_TARGET" 1568 id="returns-3" 1569 /> 1570 <a 1571 class="css-15lh5hg-STYLES_PERMALINK_LINK" 1572 href="#returns-3" 1573 > 1574 <span 1575 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 1576 > 1577 Returns 1578 </span> 1579 <span 1580 class="css-10vdcw8-STYLES_PERMALINK_ICON" 1581 > 1582 <svg 1583 aria-label="permalink" 1584 class="anchor-icon" 1585 fill="none" 1586 height="24" 1587 viewBox="0 0 24 24" 1588 width="24" 1589 xmlns="http://www.w3.org/2000/svg" 1590 > 1591 <path 1592 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 1593 stroke="#9B9B9B" 1594 stroke-linecap="round" 1595 stroke-linejoin="round" 1596 stroke-width="2" 1597 /> 1598 <path 1599 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 1600 stroke="#9B9B9B" 1601 stroke-linecap="round" 1602 stroke-linejoin="round" 1603 stroke-width="2" 1604 /> 1605 </svg> 1606 </span> 1607 </a> 1608 </div> 1609 </h4> 1610 <ul 1611 class="css-1a9yu92-paragraph-STYLES_UNORDERED_LIST-UL" 1612 data-text="true" 1613 > 1614 <li 1615 class="docs-list-item css-npeppb-STYLES_LIST_ITEM-STYLE_RETURN_LIST-LI" 1616 > 1617 <code 1618 class="inline css-nuv12a-STYLES_INLINE_CODE" 1619 > 1620 <a 1621 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 1622 href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" 1623 rel="noopener noreferrer" 1624 > 1625 Promise 1626 </a> 1627 < 1628 <span> 1629 <a 1630 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 1631 href="/#appleauthenticationcredential" 1632 > 1633 AppleAuthenticationCredential 1634 </a> 1635 </span> 1636 > 1637 </code> 1638 </li> 1639 </ul> 1640 <p 1641 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 1642 data-text="true" 1643 > 1644 <span> 1645 A promise that fulfills with an 1646 </span> 1647 <a 1648 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 1649 href="/#appleauthenticationcredential" 1650 > 1651 <code 1652 class="inline css-nuv12a-STYLES_INLINE_CODE" 1653 > 1654 AppleAuthenticationCredential 1655 </code> 1656 </a> 1657 <span> 1658 1659object after a successful authentication, and rejects with 1660 </span> 1661 <code 1662 class="inline css-nuv12a-STYLES_INLINE_CODE" 1663 > 1664 ERR_CANCELED 1665 </code> 1666 <span> 1667 if the user cancels the 1668sign-in operation. 1669 </span> 1670 </p> 1671 </div> 1672 <hr /> 1673 </div> 1674 <div> 1675 <h3 1676 class="css-icxoph-h3-h3-STYLES_H3" 1677 data-heading="true" 1678 > 1679 <div 1680 class="css-1rh3o5q-STYLES_PERMALINK" 1681 > 1682 <span 1683 class="css-zonpcr-STYLES_PERMALINK_TARGET" 1684 id="signoutasyncoptions" 1685 /> 1686 <a 1687 class="css-15lh5hg-STYLES_PERMALINK_LINK" 1688 href="#signoutasyncoptions" 1689 > 1690 <span 1691 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 1692 > 1693 <code 1694 class="inline css-nuv12a-STYLES_INLINE_CODE" 1695 > 1696 1697 signOutAsync(options) 1698 </code> 1699 </span> 1700 <span 1701 class="css-10vdcw8-STYLES_PERMALINK_ICON" 1702 > 1703 <svg 1704 aria-label="permalink" 1705 class="anchor-icon" 1706 fill="none" 1707 height="24" 1708 viewBox="0 0 24 24" 1709 width="24" 1710 xmlns="http://www.w3.org/2000/svg" 1711 > 1712 <path 1713 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 1714 stroke="#9B9B9B" 1715 stroke-linecap="round" 1716 stroke-linejoin="round" 1717 stroke-width="2" 1718 /> 1719 <path 1720 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 1721 stroke="#9B9B9B" 1722 stroke-linecap="round" 1723 stroke-linejoin="round" 1724 stroke-width="2" 1725 /> 1726 </svg> 1727 </span> 1728 </a> 1729 </div> 1730 </h3> 1731 <h4 1732 class=" css-1j2s5xo-h4-h4-STYLES_H4" 1733 data-components-heading="true" 1734 data-heading="true" 1735 > 1736 <div 1737 class="css-1rh3o5q-STYLES_PERMALINK" 1738 > 1739 <span 1740 class="css-zonpcr-STYLES_PERMALINK_TARGET" 1741 id="arguments-3" 1742 /> 1743 <a 1744 class="css-15lh5hg-STYLES_PERMALINK_LINK" 1745 href="#arguments-3" 1746 > 1747 <span 1748 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 1749 > 1750 Arguments 1751 </span> 1752 <span 1753 class="css-10vdcw8-STYLES_PERMALINK_ICON" 1754 > 1755 <svg 1756 aria-label="permalink" 1757 class="anchor-icon" 1758 fill="none" 1759 height="24" 1760 viewBox="0 0 24 24" 1761 width="24" 1762 xmlns="http://www.w3.org/2000/svg" 1763 > 1764 <path 1765 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 1766 stroke="#9B9B9B" 1767 stroke-linecap="round" 1768 stroke-linejoin="round" 1769 stroke-width="2" 1770 /> 1771 <path 1772 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 1773 stroke="#9B9B9B" 1774 stroke-linecap="round" 1775 stroke-linejoin="round" 1776 stroke-width="2" 1777 /> 1778 </svg> 1779 </span> 1780 </a> 1781 </div> 1782 </h4> 1783 <ul 1784 class="css-1a9yu92-paragraph-STYLES_UNORDERED_LIST-UL" 1785 data-text="true" 1786 > 1787 <li 1788 class="docs-list-item css-aulog8-STYLES_LIST_ITEM-LI" 1789 > 1790 <strong 1791 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 1792 > 1793 options 1794 ( 1795 <code 1796 class="inline css-nuv12a-STYLES_INLINE_CODE" 1797 > 1798 <a 1799 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 1800 href="/#appleauthenticationsignoutoptions" 1801 > 1802 AppleAuthenticationSignOutOptions 1803 </a> 1804 </code> 1805 ) 1806 </strong> 1807 </li> 1808 </ul> 1809 <div> 1810 <h4 1811 class=" css-1j2s5xo-h4-h4-STYLES_H4" 1812 data-components-heading="true" 1813 data-heading="true" 1814 > 1815 <div 1816 class="css-1rh3o5q-STYLES_PERMALINK" 1817 > 1818 <span 1819 class="css-zonpcr-STYLES_PERMALINK_TARGET" 1820 id="returns-4" 1821 /> 1822 <a 1823 class="css-15lh5hg-STYLES_PERMALINK_LINK" 1824 href="#returns-4" 1825 > 1826 <span 1827 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 1828 > 1829 Returns 1830 </span> 1831 <span 1832 class="css-10vdcw8-STYLES_PERMALINK_ICON" 1833 > 1834 <svg 1835 aria-label="permalink" 1836 class="anchor-icon" 1837 fill="none" 1838 height="24" 1839 viewBox="0 0 24 24" 1840 width="24" 1841 xmlns="http://www.w3.org/2000/svg" 1842 > 1843 <path 1844 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 1845 stroke="#9B9B9B" 1846 stroke-linecap="round" 1847 stroke-linejoin="round" 1848 stroke-width="2" 1849 /> 1850 <path 1851 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 1852 stroke="#9B9B9B" 1853 stroke-linecap="round" 1854 stroke-linejoin="round" 1855 stroke-width="2" 1856 /> 1857 </svg> 1858 </span> 1859 </a> 1860 </div> 1861 </h4> 1862 <ul 1863 class="css-1a9yu92-paragraph-STYLES_UNORDERED_LIST-UL" 1864 data-text="true" 1865 > 1866 <li 1867 class="docs-list-item css-npeppb-STYLES_LIST_ITEM-STYLE_RETURN_LIST-LI" 1868 > 1869 <code 1870 class="inline css-nuv12a-STYLES_INLINE_CODE" 1871 > 1872 <a 1873 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 1874 href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" 1875 rel="noopener noreferrer" 1876 > 1877 Promise 1878 </a> 1879 < 1880 <span> 1881 <a 1882 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 1883 href="/#appleauthenticationcredential" 1884 > 1885 AppleAuthenticationCredential 1886 </a> 1887 </span> 1888 > 1889 </code> 1890 </li> 1891 </ul> 1892 </div> 1893 </div> 1894 <h2 1895 class="css-1v5aebx-h2-h2-STYLES_H2" 1896 data-heading="true" 1897 > 1898 <div 1899 class="css-1rh3o5q-STYLES_PERMALINK" 1900 > 1901 <span 1902 class="css-zonpcr-STYLES_PERMALINK_TARGET" 1903 id="event-subscriptions" 1904 /> 1905 <a 1906 class="css-15lh5hg-STYLES_PERMALINK_LINK" 1907 href="#event-subscriptions" 1908 > 1909 <span 1910 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 1911 > 1912 Event Subscriptions 1913 </span> 1914 <span 1915 class="css-10vdcw8-STYLES_PERMALINK_ICON" 1916 > 1917 <svg 1918 aria-label="permalink" 1919 class="anchor-icon" 1920 fill="none" 1921 height="24" 1922 viewBox="0 0 24 24" 1923 width="24" 1924 xmlns="http://www.w3.org/2000/svg" 1925 > 1926 <path 1927 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 1928 stroke="#9B9B9B" 1929 stroke-linecap="round" 1930 stroke-linejoin="round" 1931 stroke-width="2" 1932 /> 1933 <path 1934 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 1935 stroke="#9B9B9B" 1936 stroke-linecap="round" 1937 stroke-linejoin="round" 1938 stroke-width="2" 1939 /> 1940 </svg> 1941 </span> 1942 </a> 1943 </div> 1944 </h2> 1945 <div> 1946 <h3 1947 class="css-icxoph-h3-h3-STYLES_H3" 1948 data-heading="true" 1949 > 1950 <div 1951 class="css-1rh3o5q-STYLES_PERMALINK" 1952 > 1953 <span 1954 class="css-zonpcr-STYLES_PERMALINK_TARGET" 1955 id="addrevokelistenerlistener" 1956 /> 1957 <a 1958 class="css-15lh5hg-STYLES_PERMALINK_LINK" 1959 href="#addrevokelistenerlistener" 1960 > 1961 <span 1962 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 1963 > 1964 <code 1965 class="inline css-nuv12a-STYLES_INLINE_CODE" 1966 > 1967 1968 addRevokeListener(listener) 1969 </code> 1970 </span> 1971 <span 1972 class="css-10vdcw8-STYLES_PERMALINK_ICON" 1973 > 1974 <svg 1975 aria-label="permalink" 1976 class="anchor-icon" 1977 fill="none" 1978 height="24" 1979 viewBox="0 0 24 24" 1980 width="24" 1981 xmlns="http://www.w3.org/2000/svg" 1982 > 1983 <path 1984 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 1985 stroke="#9B9B9B" 1986 stroke-linecap="round" 1987 stroke-linejoin="round" 1988 stroke-width="2" 1989 /> 1990 <path 1991 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 1992 stroke="#9B9B9B" 1993 stroke-linecap="round" 1994 stroke-linejoin="round" 1995 stroke-width="2" 1996 /> 1997 </svg> 1998 </span> 1999 </a> 2000 </div> 2001 </h3> 2002 <h4 2003 class=" css-1j2s5xo-h4-h4-STYLES_H4" 2004 data-components-heading="true" 2005 data-heading="true" 2006 > 2007 <div 2008 class="css-1rh3o5q-STYLES_PERMALINK" 2009 > 2010 <span 2011 class="css-zonpcr-STYLES_PERMALINK_TARGET" 2012 id="arguments-4" 2013 /> 2014 <a 2015 class="css-15lh5hg-STYLES_PERMALINK_LINK" 2016 href="#arguments-4" 2017 > 2018 <span 2019 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 2020 > 2021 Arguments 2022 </span> 2023 <span 2024 class="css-10vdcw8-STYLES_PERMALINK_ICON" 2025 > 2026 <svg 2027 aria-label="permalink" 2028 class="anchor-icon" 2029 fill="none" 2030 height="24" 2031 viewBox="0 0 24 24" 2032 width="24" 2033 xmlns="http://www.w3.org/2000/svg" 2034 > 2035 <path 2036 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 2037 stroke="#9B9B9B" 2038 stroke-linecap="round" 2039 stroke-linejoin="round" 2040 stroke-width="2" 2041 /> 2042 <path 2043 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 2044 stroke="#9B9B9B" 2045 stroke-linecap="round" 2046 stroke-linejoin="round" 2047 stroke-width="2" 2048 /> 2049 </svg> 2050 </span> 2051 </a> 2052 </div> 2053 </h4> 2054 <ul 2055 class="css-1a9yu92-paragraph-STYLES_UNORDERED_LIST-UL" 2056 data-text="true" 2057 > 2058 <li 2059 class="docs-list-item css-aulog8-STYLES_LIST_ITEM-LI" 2060 > 2061 <strong 2062 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 2063 > 2064 listener 2065 ( 2066 <code 2067 class="inline css-nuv12a-STYLES_INLINE_CODE" 2068 > 2069 () => 2070 2071 void 2072 </code> 2073 ) 2074 </strong> 2075 </li> 2076 </ul> 2077 <div> 2078 <h4 2079 class=" css-1j2s5xo-h4-h4-STYLES_H4" 2080 data-components-heading="true" 2081 data-heading="true" 2082 > 2083 <div 2084 class="css-1rh3o5q-STYLES_PERMALINK" 2085 > 2086 <span 2087 class="css-zonpcr-STYLES_PERMALINK_TARGET" 2088 id="returns-5" 2089 /> 2090 <a 2091 class="css-15lh5hg-STYLES_PERMALINK_LINK" 2092 href="#returns-5" 2093 > 2094 <span 2095 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 2096 > 2097 Returns 2098 </span> 2099 <span 2100 class="css-10vdcw8-STYLES_PERMALINK_ICON" 2101 > 2102 <svg 2103 aria-label="permalink" 2104 class="anchor-icon" 2105 fill="none" 2106 height="24" 2107 viewBox="0 0 24 24" 2108 width="24" 2109 xmlns="http://www.w3.org/2000/svg" 2110 > 2111 <path 2112 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 2113 stroke="#9B9B9B" 2114 stroke-linecap="round" 2115 stroke-linejoin="round" 2116 stroke-width="2" 2117 /> 2118 <path 2119 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 2120 stroke="#9B9B9B" 2121 stroke-linecap="round" 2122 stroke-linejoin="round" 2123 stroke-width="2" 2124 /> 2125 </svg> 2126 </span> 2127 </a> 2128 </div> 2129 </h4> 2130 <ul 2131 class="css-1a9yu92-paragraph-STYLES_UNORDERED_LIST-UL" 2132 data-text="true" 2133 > 2134 <li 2135 class="docs-list-item css-npeppb-STYLES_LIST_ITEM-STYLE_RETURN_LIST-LI" 2136 > 2137 <code 2138 class="inline css-nuv12a-STYLES_INLINE_CODE" 2139 > 2140 <a 2141 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 2142 href="/#subscription" 2143 > 2144 Subscription 2145 </a> 2146 </code> 2147 </li> 2148 </ul> 2149 </div> 2150 </div> 2151 <h2 2152 class="css-1v5aebx-h2-h2-STYLES_H2" 2153 data-heading="true" 2154 > 2155 <div 2156 class="css-1rh3o5q-STYLES_PERMALINK" 2157 > 2158 <span 2159 class="css-zonpcr-STYLES_PERMALINK_TARGET" 2160 id="types" 2161 /> 2162 <a 2163 class="css-15lh5hg-STYLES_PERMALINK_LINK" 2164 href="#types" 2165 > 2166 <span 2167 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 2168 > 2169 Types 2170 </span> 2171 <span 2172 class="css-10vdcw8-STYLES_PERMALINK_ICON" 2173 > 2174 <svg 2175 aria-label="permalink" 2176 class="anchor-icon" 2177 fill="none" 2178 height="24" 2179 viewBox="0 0 24 24" 2180 width="24" 2181 xmlns="http://www.w3.org/2000/svg" 2182 > 2183 <path 2184 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 2185 stroke="#9B9B9B" 2186 stroke-linecap="round" 2187 stroke-linejoin="round" 2188 stroke-width="2" 2189 /> 2190 <path 2191 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 2192 stroke="#9B9B9B" 2193 stroke-linecap="round" 2194 stroke-linejoin="round" 2195 stroke-width="2" 2196 /> 2197 </svg> 2198 </span> 2199 </a> 2200 </div> 2201 </h2> 2202 <div> 2203 <h3 2204 class="css-icxoph-h3-h3-STYLES_H3" 2205 data-heading="true" 2206 > 2207 <div 2208 class="css-1rh3o5q-STYLES_PERMALINK" 2209 > 2210 <span 2211 class="css-zonpcr-STYLES_PERMALINK_TARGET" 2212 id="appleauthenticationcredential" 2213 /> 2214 <a 2215 class="css-15lh5hg-STYLES_PERMALINK_LINK" 2216 href="#appleauthenticationcredential" 2217 > 2218 <span 2219 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 2220 > 2221 <code 2222 class="inline css-nuv12a-STYLES_INLINE_CODE" 2223 > 2224 AppleAuthenticationCredential 2225 2226 </code> 2227 </span> 2228 <span 2229 class="css-10vdcw8-STYLES_PERMALINK_ICON" 2230 > 2231 <svg 2232 aria-label="permalink" 2233 class="anchor-icon" 2234 fill="none" 2235 height="24" 2236 viewBox="0 0 24 24" 2237 width="24" 2238 xmlns="http://www.w3.org/2000/svg" 2239 > 2240 <path 2241 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 2242 stroke="#9B9B9B" 2243 stroke-linecap="round" 2244 stroke-linejoin="round" 2245 stroke-width="2" 2246 /> 2247 <path 2248 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 2249 stroke="#9B9B9B" 2250 stroke-linecap="round" 2251 stroke-linejoin="round" 2252 stroke-width="2" 2253 /> 2254 </svg> 2255 </span> 2256 </a> 2257 </div> 2258 </h3> 2259 <p 2260 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 2261 data-text="true" 2262 > 2263 <span> 2264 The object type returned from a successful call to 2265 </span> 2266 <a 2267 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 2268 href="/#appleauthenticationsigninasyncoptions" 2269 > 2270 <code 2271 class="inline css-nuv12a-STYLES_INLINE_CODE" 2272 > 2273 AppleAuthentication.signInAsync() 2274 </code> 2275 </a> 2276 <span> 2277 , 2278 2279 </span> 2280 <a 2281 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 2282 href="/#appleauthenticationrefreshasyncoptions" 2283 > 2284 <code 2285 class="inline css-nuv12a-STYLES_INLINE_CODE" 2286 > 2287 AppleAuthentication.refreshAsync() 2288 </code> 2289 </a> 2290 <span> 2291 , or 2292 </span> 2293 <a 2294 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 2295 href="/#appleauthenticationsignoutasyncoptions" 2296 > 2297 <code 2298 class="inline css-nuv12a-STYLES_INLINE_CODE" 2299 > 2300 AppleAuthentication.signOutAsync() 2301 </code> 2302 </a> 2303 <span> 2304 2305which contains all of the pertinent user and credential information. 2306 </span> 2307 </p> 2308 <table> 2309 <thead> 2310 <tr> 2311 <th> 2312 Name 2313 </th> 2314 <th> 2315 Type 2316 </th> 2317 <th> 2318 Description 2319 </th> 2320 </tr> 2321 </thead> 2322 <tbody> 2323 <tr> 2324 <td> 2325 <strong 2326 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 2327 > 2328 authorizationCode 2329 </strong> 2330 </td> 2331 <td> 2332 <code 2333 class="inline css-nuv12a-STYLES_INLINE_CODE" 2334 > 2335 <span> 2336 string 2337 | 2338 </span> 2339 <span> 2340 null 2341 </span> 2342 </code> 2343 </td> 2344 <td> 2345 <span> 2346 <span> 2347 A short-lived session token used by your app for proof of authorization when interacting with 2348the app's server counterpart. Unlike 2349 </span> 2350 <code 2351 class="inline css-nuv12a-STYLES_INLINE_CODE" 2352 > 2353 user 2354 </code> 2355 <span> 2356 , this is ephemeral and will change each session. 2357 </span> 2358 </span> 2359 </td> 2360 </tr> 2361 <tr> 2362 <td> 2363 <strong 2364 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 2365 > 2366 email 2367 </strong> 2368 </td> 2369 <td> 2370 <code 2371 class="inline css-nuv12a-STYLES_INLINE_CODE" 2372 > 2373 <span> 2374 string 2375 | 2376 </span> 2377 <span> 2378 null 2379 </span> 2380 </code> 2381 </td> 2382 <td> 2383 <span> 2384 <span> 2385 The user's email address. Might not be present if you didn't request the 2386 </span> 2387 <code 2388 class="inline css-nuv12a-STYLES_INLINE_CODE" 2389 > 2390 EMAIL 2391 </code> 2392 <span> 2393 scope. May 2394also be null if this is not the first time the user has signed into your app. If the user chose 2395to withhold their email address, this field will instead contain an obscured email address with 2396an Apple domain. 2397 </span> 2398 </span> 2399 </td> 2400 </tr> 2401 <tr> 2402 <td> 2403 <strong 2404 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 2405 > 2406 fullName 2407 </strong> 2408 </td> 2409 <td> 2410 <code 2411 class="inline css-nuv12a-STYLES_INLINE_CODE" 2412 > 2413 <span> 2414 <a 2415 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 2416 href="/#appleauthenticationfullname" 2417 > 2418 AppleAuthenticationFullName 2419 </a> 2420 | 2421 </span> 2422 <span> 2423 null 2424 </span> 2425 </code> 2426 </td> 2427 <td> 2428 <span> 2429 <span> 2430 The user's name. May be 2431 </span> 2432 <code 2433 class="inline css-nuv12a-STYLES_INLINE_CODE" 2434 > 2435 null 2436 </code> 2437 <span> 2438 or contain 2439 </span> 2440 <code 2441 class="inline css-nuv12a-STYLES_INLINE_CODE" 2442 > 2443 null 2444 </code> 2445 <span> 2446 values if you didn't request the 2447 </span> 2448 <code 2449 class="inline css-nuv12a-STYLES_INLINE_CODE" 2450 > 2451 FULL_NAME 2452 </code> 2453 <span> 2454 2455scope, if the user denied access, or if this is not the first time the user has signed into 2456your app. 2457 </span> 2458 </span> 2459 </td> 2460 </tr> 2461 <tr> 2462 <td> 2463 <strong 2464 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 2465 > 2466 identityToken 2467 </strong> 2468 </td> 2469 <td> 2470 <code 2471 class="inline css-nuv12a-STYLES_INLINE_CODE" 2472 > 2473 <span> 2474 string 2475 | 2476 </span> 2477 <span> 2478 null 2479 </span> 2480 </code> 2481 </td> 2482 <td> 2483 <span> 2484 <span> 2485 A JSON Web Token (JWT) that securely communicates information about the user to your app. 2486 </span> 2487 </span> 2488 </td> 2489 </tr> 2490 <tr> 2491 <td> 2492 <strong 2493 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 2494 > 2495 realUserStatus 2496 </strong> 2497 </td> 2498 <td> 2499 <code 2500 class="inline css-nuv12a-STYLES_INLINE_CODE" 2501 > 2502 <a 2503 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 2504 href="/#appleauthenticationuserdetectionstatus" 2505 > 2506 AppleAuthenticationUserDetectionStatus 2507 </a> 2508 </code> 2509 </td> 2510 <td> 2511 <span> 2512 <span> 2513 A value that indicates whether the user appears to the system to be a real person. 2514 </span> 2515 </span> 2516 </td> 2517 </tr> 2518 <tr> 2519 <td> 2520 <strong 2521 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 2522 > 2523 state 2524 </strong> 2525 </td> 2526 <td> 2527 <code 2528 class="inline css-nuv12a-STYLES_INLINE_CODE" 2529 > 2530 <span> 2531 string 2532 | 2533 </span> 2534 <span> 2535 null 2536 </span> 2537 </code> 2538 </td> 2539 <td> 2540 <span> 2541 <span> 2542 An arbitrary string that your app provided as 2543 </span> 2544 <code 2545 class="inline css-nuv12a-STYLES_INLINE_CODE" 2546 > 2547 state 2548 </code> 2549 <span> 2550 in the request that generated the 2551credential. Used to verify that the response was from the request you made. Can be used to 2552avoid replay attacks. If you did not provide 2553 </span> 2554 <code 2555 class="inline css-nuv12a-STYLES_INLINE_CODE" 2556 > 2557 state 2558 </code> 2559 <span> 2560 when making the sign-in request, this field 2561will be 2562 </span> 2563 <code 2564 class="inline css-nuv12a-STYLES_INLINE_CODE" 2565 > 2566 null 2567 </code> 2568 <span> 2569 . 2570 </span> 2571 </span> 2572 </td> 2573 </tr> 2574 <tr> 2575 <td> 2576 <strong 2577 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 2578 > 2579 user 2580 </strong> 2581 </td> 2582 <td> 2583 <code 2584 class="inline css-nuv12a-STYLES_INLINE_CODE" 2585 > 2586 string 2587 </code> 2588 </td> 2589 <td> 2590 <span> 2591 <span> 2592 An identifier associated with the authenticated user. You can use this to check if the user is 2593still authenticated later. This is stable and can be shared across apps released under the same 2594development team. The same user will have a different identifier for apps released by other 2595developers. 2596 </span> 2597 </span> 2598 </td> 2599 </tr> 2600 </tbody> 2601 </table> 2602 </div> 2603 <div> 2604 <h3 2605 class="css-icxoph-h3-h3-STYLES_H3" 2606 data-heading="true" 2607 > 2608 <div 2609 class="css-1rh3o5q-STYLES_PERMALINK" 2610 > 2611 <span 2612 class="css-zonpcr-STYLES_PERMALINK_TARGET" 2613 id="appleauthenticationfullname" 2614 /> 2615 <a 2616 class="css-15lh5hg-STYLES_PERMALINK_LINK" 2617 href="#appleauthenticationfullname" 2618 > 2619 <span 2620 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 2621 > 2622 <code 2623 class="inline css-nuv12a-STYLES_INLINE_CODE" 2624 > 2625 AppleAuthenticationFullName 2626 2627 </code> 2628 </span> 2629 <span 2630 class="css-10vdcw8-STYLES_PERMALINK_ICON" 2631 > 2632 <svg 2633 aria-label="permalink" 2634 class="anchor-icon" 2635 fill="none" 2636 height="24" 2637 viewBox="0 0 24 24" 2638 width="24" 2639 xmlns="http://www.w3.org/2000/svg" 2640 > 2641 <path 2642 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 2643 stroke="#9B9B9B" 2644 stroke-linecap="round" 2645 stroke-linejoin="round" 2646 stroke-width="2" 2647 /> 2648 <path 2649 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 2650 stroke="#9B9B9B" 2651 stroke-linecap="round" 2652 stroke-linejoin="round" 2653 stroke-width="2" 2654 /> 2655 </svg> 2656 </span> 2657 </a> 2658 </div> 2659 </h3> 2660 <p 2661 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 2662 data-text="true" 2663 > 2664 <span> 2665 An object representing the tokenized portions of the user's full name. Any of all of the fields 2666may be 2667 </span> 2668 <code 2669 class="inline css-nuv12a-STYLES_INLINE_CODE" 2670 > 2671 null 2672 </code> 2673 <span> 2674 . Only applicable fields that the user has allowed your app to access will be nonnull. 2675 </span> 2676 </p> 2677 <table> 2678 <thead> 2679 <tr> 2680 <th> 2681 Name 2682 </th> 2683 <th> 2684 Type 2685 </th> 2686 <th> 2687 Description 2688 </th> 2689 </tr> 2690 </thead> 2691 <tbody> 2692 <tr> 2693 <td> 2694 <strong 2695 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 2696 > 2697 familyName 2698 </strong> 2699 </td> 2700 <td> 2701 <code 2702 class="inline css-nuv12a-STYLES_INLINE_CODE" 2703 > 2704 <span> 2705 string 2706 | 2707 </span> 2708 <span> 2709 null 2710 </span> 2711 </code> 2712 </td> 2713 <td> 2714 - 2715 </td> 2716 </tr> 2717 <tr> 2718 <td> 2719 <strong 2720 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 2721 > 2722 givenName 2723 </strong> 2724 </td> 2725 <td> 2726 <code 2727 class="inline css-nuv12a-STYLES_INLINE_CODE" 2728 > 2729 <span> 2730 string 2731 | 2732 </span> 2733 <span> 2734 null 2735 </span> 2736 </code> 2737 </td> 2738 <td> 2739 - 2740 </td> 2741 </tr> 2742 <tr> 2743 <td> 2744 <strong 2745 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 2746 > 2747 middleName 2748 </strong> 2749 </td> 2750 <td> 2751 <code 2752 class="inline css-nuv12a-STYLES_INLINE_CODE" 2753 > 2754 <span> 2755 string 2756 | 2757 </span> 2758 <span> 2759 null 2760 </span> 2761 </code> 2762 </td> 2763 <td> 2764 - 2765 </td> 2766 </tr> 2767 <tr> 2768 <td> 2769 <strong 2770 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 2771 > 2772 namePrefix 2773 </strong> 2774 </td> 2775 <td> 2776 <code 2777 class="inline css-nuv12a-STYLES_INLINE_CODE" 2778 > 2779 <span> 2780 string 2781 | 2782 </span> 2783 <span> 2784 null 2785 </span> 2786 </code> 2787 </td> 2788 <td> 2789 - 2790 </td> 2791 </tr> 2792 <tr> 2793 <td> 2794 <strong 2795 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 2796 > 2797 nameSuffix 2798 </strong> 2799 </td> 2800 <td> 2801 <code 2802 class="inline css-nuv12a-STYLES_INLINE_CODE" 2803 > 2804 <span> 2805 string 2806 | 2807 </span> 2808 <span> 2809 null 2810 </span> 2811 </code> 2812 </td> 2813 <td> 2814 - 2815 </td> 2816 </tr> 2817 <tr> 2818 <td> 2819 <strong 2820 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 2821 > 2822 nickname 2823 </strong> 2824 </td> 2825 <td> 2826 <code 2827 class="inline css-nuv12a-STYLES_INLINE_CODE" 2828 > 2829 <span> 2830 string 2831 | 2832 </span> 2833 <span> 2834 null 2835 </span> 2836 </code> 2837 </td> 2838 <td> 2839 - 2840 </td> 2841 </tr> 2842 </tbody> 2843 </table> 2844 </div> 2845 <div> 2846 <h3 2847 class="css-icxoph-h3-h3-STYLES_H3" 2848 data-heading="true" 2849 > 2850 <div 2851 class="css-1rh3o5q-STYLES_PERMALINK" 2852 > 2853 <span 2854 class="css-zonpcr-STYLES_PERMALINK_TARGET" 2855 id="appleauthenticationrefreshoptions" 2856 /> 2857 <a 2858 class="css-15lh5hg-STYLES_PERMALINK_LINK" 2859 href="#appleauthenticationrefreshoptions" 2860 > 2861 <span 2862 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 2863 > 2864 <code 2865 class="inline css-nuv12a-STYLES_INLINE_CODE" 2866 > 2867 AppleAuthenticationRefreshOptions 2868 2869 </code> 2870 </span> 2871 <span 2872 class="css-10vdcw8-STYLES_PERMALINK_ICON" 2873 > 2874 <svg 2875 aria-label="permalink" 2876 class="anchor-icon" 2877 fill="none" 2878 height="24" 2879 viewBox="0 0 24 24" 2880 width="24" 2881 xmlns="http://www.w3.org/2000/svg" 2882 > 2883 <path 2884 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 2885 stroke="#9B9B9B" 2886 stroke-linecap="round" 2887 stroke-linejoin="round" 2888 stroke-width="2" 2889 /> 2890 <path 2891 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 2892 stroke="#9B9B9B" 2893 stroke-linecap="round" 2894 stroke-linejoin="round" 2895 stroke-width="2" 2896 /> 2897 </svg> 2898 </span> 2899 </a> 2900 </div> 2901 </h3> 2902 <p 2903 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 2904 data-text="true" 2905 > 2906 <span> 2907 The options you can supply when making a call to 2908 </span> 2909 <a 2910 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 2911 href="/#appleauthenticationrefreshasyncoptions" 2912 > 2913 <code 2914 class="inline css-nuv12a-STYLES_INLINE_CODE" 2915 > 2916 AppleAuthentication.refreshAsync() 2917 </code> 2918 </a> 2919 <span> 2920 . 2921You must include the ID string of the user whose credentials you'd like to refresh. 2922 </span> 2923 </p> 2924 <table> 2925 <thead> 2926 <tr> 2927 <th> 2928 Name 2929 </th> 2930 <th> 2931 Type 2932 </th> 2933 <th> 2934 Description 2935 </th> 2936 </tr> 2937 </thead> 2938 <tbody> 2939 <tr> 2940 <td> 2941 <strong 2942 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 2943 > 2944 requestedScopes 2945 </strong> 2946 <br /> 2947 <span 2948 class="css-fbbx5x-STYLES_OPTIONAL" 2949 > 2950 (optional) 2951 </span> 2952 </td> 2953 <td> 2954 <code 2955 class="inline css-nuv12a-STYLES_INLINE_CODE" 2956 > 2957 <a 2958 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 2959 href="/#appleauthenticationscope" 2960 > 2961 AppleAuthenticationScope 2962 [] 2963 </a> 2964 </code> 2965 </td> 2966 <td> 2967 <span> 2968 <span> 2969 Array of user information scopes to which your app is requesting access. Note that the user can 2970choose to deny your app access to any scope at the time of logging in. You will still need to 2971handle 2972 </span> 2973 <code 2974 class="inline css-nuv12a-STYLES_INLINE_CODE" 2975 > 2976 null 2977 </code> 2978 <span> 2979 values for any scopes you request. Additionally, note that the requested scopes 2980will only be provided to you the first time each user signs into your app; in subsequent 2981requests they will be 2982 </span> 2983 <code 2984 class="inline css-nuv12a-STYLES_INLINE_CODE" 2985 > 2986 null 2987 </code> 2988 <span> 2989 . Defaults to 2990 </span> 2991 <code 2992 class="inline css-nuv12a-STYLES_INLINE_CODE" 2993 > 2994 [] 2995 </code> 2996 <span> 2997 (no scopes). 2998 </span> 2999 </span> 3000 </td> 3001 </tr> 3002 <tr> 3003 <td> 3004 <strong 3005 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 3006 > 3007 state 3008 </strong> 3009 <br /> 3010 <span 3011 class="css-fbbx5x-STYLES_OPTIONAL" 3012 > 3013 (optional) 3014 </span> 3015 </td> 3016 <td> 3017 <code 3018 class="inline css-nuv12a-STYLES_INLINE_CODE" 3019 > 3020 string 3021 </code> 3022 </td> 3023 <td> 3024 <span> 3025 <span> 3026 An arbitrary string that is returned unmodified in the corresponding credential after a 3027successful authentication. This can be used to verify that the response was from the request 3028you made and avoid replay attacks. More information on this property is available in the 3029OAuth 2.0 protocol 3030 </span> 3031 <a 3032 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 3033 href="https://tools.ietf.org/html/rfc6749#section-10.12" 3034 rel="noopener noreferrer" 3035 > 3036 <span> 3037 RFC6749 3038 </span> 3039 </a> 3040 <span> 3041 . 3042 </span> 3043 </span> 3044 </td> 3045 </tr> 3046 <tr> 3047 <td> 3048 <strong 3049 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 3050 > 3051 user 3052 </strong> 3053 </td> 3054 <td> 3055 <code 3056 class="inline css-nuv12a-STYLES_INLINE_CODE" 3057 > 3058 string 3059 </code> 3060 </td> 3061 <td> 3062 - 3063 </td> 3064 </tr> 3065 </tbody> 3066 </table> 3067 </div> 3068 <div> 3069 <h3 3070 class="css-icxoph-h3-h3-STYLES_H3" 3071 data-heading="true" 3072 > 3073 <div 3074 class="css-1rh3o5q-STYLES_PERMALINK" 3075 > 3076 <span 3077 class="css-zonpcr-STYLES_PERMALINK_TARGET" 3078 id="appleauthenticationsigninoptions" 3079 /> 3080 <a 3081 class="css-15lh5hg-STYLES_PERMALINK_LINK" 3082 href="#appleauthenticationsigninoptions" 3083 > 3084 <span 3085 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 3086 > 3087 <code 3088 class="inline css-nuv12a-STYLES_INLINE_CODE" 3089 > 3090 AppleAuthenticationSignInOptions 3091 3092 </code> 3093 </span> 3094 <span 3095 class="css-10vdcw8-STYLES_PERMALINK_ICON" 3096 > 3097 <svg 3098 aria-label="permalink" 3099 class="anchor-icon" 3100 fill="none" 3101 height="24" 3102 viewBox="0 0 24 24" 3103 width="24" 3104 xmlns="http://www.w3.org/2000/svg" 3105 > 3106 <path 3107 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 3108 stroke="#9B9B9B" 3109 stroke-linecap="round" 3110 stroke-linejoin="round" 3111 stroke-width="2" 3112 /> 3113 <path 3114 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 3115 stroke="#9B9B9B" 3116 stroke-linecap="round" 3117 stroke-linejoin="round" 3118 stroke-width="2" 3119 /> 3120 </svg> 3121 </span> 3122 </a> 3123 </div> 3124 </h3> 3125 <p 3126 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 3127 data-text="true" 3128 > 3129 <span> 3130 The options you can supply when making a call to 3131 </span> 3132 <a 3133 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 3134 href="/#appleauthenticationsigninasyncoptions" 3135 > 3136 <code 3137 class="inline css-nuv12a-STYLES_INLINE_CODE" 3138 > 3139 AppleAuthentication.signInAsync() 3140 </code> 3141 </a> 3142 <span> 3143 . 3144None of these options are required. 3145 </span> 3146 </p> 3147 <table> 3148 <thead> 3149 <tr> 3150 <th> 3151 Name 3152 </th> 3153 <th> 3154 Type 3155 </th> 3156 <th> 3157 Description 3158 </th> 3159 </tr> 3160 </thead> 3161 <tbody> 3162 <tr> 3163 <td> 3164 <strong 3165 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 3166 > 3167 nonce 3168 </strong> 3169 <br /> 3170 <span 3171 class="css-fbbx5x-STYLES_OPTIONAL" 3172 > 3173 (optional) 3174 </span> 3175 </td> 3176 <td> 3177 <code 3178 class="inline css-nuv12a-STYLES_INLINE_CODE" 3179 > 3180 string 3181 </code> 3182 </td> 3183 <td> 3184 <span> 3185 <span> 3186 An arbitrary string that is used to prevent replay attacks. See more information on this in the 3187 3188 </span> 3189 <a 3190 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 3191 href="https://openid.net/specs/openid-connect-core-1_0.html#CodeFlowSteps" 3192 rel="noopener noreferrer" 3193 > 3194 <span> 3195 OpenID Connect specification 3196 </span> 3197 </a> 3198 <span> 3199 . 3200 </span> 3201 </span> 3202 </td> 3203 </tr> 3204 <tr> 3205 <td> 3206 <strong 3207 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 3208 > 3209 requestedScopes 3210 </strong> 3211 <br /> 3212 <span 3213 class="css-fbbx5x-STYLES_OPTIONAL" 3214 > 3215 (optional) 3216 </span> 3217 </td> 3218 <td> 3219 <code 3220 class="inline css-nuv12a-STYLES_INLINE_CODE" 3221 > 3222 <a 3223 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 3224 href="/#appleauthenticationscope" 3225 > 3226 AppleAuthenticationScope 3227 [] 3228 </a> 3229 </code> 3230 </td> 3231 <td> 3232 <span> 3233 <span> 3234 Array of user information scopes to which your app is requesting access. Note that the user can 3235choose to deny your app access to any scope at the time of logging in. You will still need to 3236handle 3237 </span> 3238 <code 3239 class="inline css-nuv12a-STYLES_INLINE_CODE" 3240 > 3241 null 3242 </code> 3243 <span> 3244 values for any scopes you request. Additionally, note that the requested scopes 3245will only be provided to you the first time each user signs into your app; in subsequent 3246requests they will be 3247 </span> 3248 <code 3249 class="inline css-nuv12a-STYLES_INLINE_CODE" 3250 > 3251 null 3252 </code> 3253 <span> 3254 . Defaults to 3255 </span> 3256 <code 3257 class="inline css-nuv12a-STYLES_INLINE_CODE" 3258 > 3259 [] 3260 </code> 3261 <span> 3262 (no scopes). 3263 </span> 3264 </span> 3265 </td> 3266 </tr> 3267 <tr> 3268 <td> 3269 <strong 3270 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 3271 > 3272 state 3273 </strong> 3274 <br /> 3275 <span 3276 class="css-fbbx5x-STYLES_OPTIONAL" 3277 > 3278 (optional) 3279 </span> 3280 </td> 3281 <td> 3282 <code 3283 class="inline css-nuv12a-STYLES_INLINE_CODE" 3284 > 3285 string 3286 </code> 3287 </td> 3288 <td> 3289 <span> 3290 <span> 3291 An arbitrary string that is returned unmodified in the corresponding credential after a 3292successful authentication. This can be used to verify that the response was from the request 3293you made and avoid replay attacks. More information on this property is available in the 3294OAuth 2.0 protocol 3295 </span> 3296 <a 3297 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 3298 href="https://tools.ietf.org/html/rfc6749#section-10.12" 3299 rel="noopener noreferrer" 3300 > 3301 <span> 3302 RFC6749 3303 </span> 3304 </a> 3305 <span> 3306 . 3307 </span> 3308 </span> 3309 </td> 3310 </tr> 3311 </tbody> 3312 </table> 3313 </div> 3314 <div> 3315 <h3 3316 class="css-icxoph-h3-h3-STYLES_H3" 3317 data-heading="true" 3318 > 3319 <div 3320 class="css-1rh3o5q-STYLES_PERMALINK" 3321 > 3322 <span 3323 class="css-zonpcr-STYLES_PERMALINK_TARGET" 3324 id="appleauthenticationsignoutoptions" 3325 /> 3326 <a 3327 class="css-15lh5hg-STYLES_PERMALINK_LINK" 3328 href="#appleauthenticationsignoutoptions" 3329 > 3330 <span 3331 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 3332 > 3333 <code 3334 class="inline css-nuv12a-STYLES_INLINE_CODE" 3335 > 3336 AppleAuthenticationSignOutOptions 3337 3338 </code> 3339 </span> 3340 <span 3341 class="css-10vdcw8-STYLES_PERMALINK_ICON" 3342 > 3343 <svg 3344 aria-label="permalink" 3345 class="anchor-icon" 3346 fill="none" 3347 height="24" 3348 viewBox="0 0 24 24" 3349 width="24" 3350 xmlns="http://www.w3.org/2000/svg" 3351 > 3352 <path 3353 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 3354 stroke="#9B9B9B" 3355 stroke-linecap="round" 3356 stroke-linejoin="round" 3357 stroke-width="2" 3358 /> 3359 <path 3360 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 3361 stroke="#9B9B9B" 3362 stroke-linecap="round" 3363 stroke-linejoin="round" 3364 stroke-width="2" 3365 /> 3366 </svg> 3367 </span> 3368 </a> 3369 </div> 3370 </h3> 3371 <p 3372 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 3373 data-text="true" 3374 > 3375 <span> 3376 The options you can supply when making a call to 3377 </span> 3378 <a 3379 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 3380 href="/#appleauthenticationsignoutasyncoptions" 3381 > 3382 <code 3383 class="inline css-nuv12a-STYLES_INLINE_CODE" 3384 > 3385 AppleAuthentication.signOutAsync() 3386 </code> 3387 </a> 3388 <span> 3389 . 3390You must include the ID string of the user to sign out. 3391 </span> 3392 </p> 3393 <table> 3394 <thead> 3395 <tr> 3396 <th> 3397 Name 3398 </th> 3399 <th> 3400 Type 3401 </th> 3402 <th> 3403 Description 3404 </th> 3405 </tr> 3406 </thead> 3407 <tbody> 3408 <tr> 3409 <td> 3410 <strong 3411 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 3412 > 3413 state 3414 </strong> 3415 <br /> 3416 <span 3417 class="css-fbbx5x-STYLES_OPTIONAL" 3418 > 3419 (optional) 3420 </span> 3421 </td> 3422 <td> 3423 <code 3424 class="inline css-nuv12a-STYLES_INLINE_CODE" 3425 > 3426 string 3427 </code> 3428 </td> 3429 <td> 3430 <span> 3431 <span> 3432 An arbitrary string that is returned unmodified in the corresponding credential after a 3433successful authentication. This can be used to verify that the response was from the request 3434you made and avoid replay attacks. More information on this property is available in the 3435OAuth 2.0 protocol 3436 </span> 3437 <a 3438 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 3439 href="https://tools.ietf.org/html/rfc6749#section-10.12" 3440 rel="noopener noreferrer" 3441 > 3442 <span> 3443 RFC6749 3444 </span> 3445 </a> 3446 <span> 3447 . 3448 </span> 3449 </span> 3450 </td> 3451 </tr> 3452 <tr> 3453 <td> 3454 <strong 3455 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 3456 > 3457 user 3458 </strong> 3459 </td> 3460 <td> 3461 <code 3462 class="inline css-nuv12a-STYLES_INLINE_CODE" 3463 > 3464 string 3465 </code> 3466 </td> 3467 <td> 3468 - 3469 </td> 3470 </tr> 3471 </tbody> 3472 </table> 3473 </div> 3474 <div> 3475 <h3 3476 class="css-icxoph-h3-h3-STYLES_H3" 3477 data-heading="true" 3478 > 3479 <div 3480 class="css-1rh3o5q-STYLES_PERMALINK" 3481 > 3482 <span 3483 class="css-zonpcr-STYLES_PERMALINK_TARGET" 3484 id="subscription" 3485 /> 3486 <a 3487 class="css-15lh5hg-STYLES_PERMALINK_LINK" 3488 href="#subscription" 3489 > 3490 <span 3491 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 3492 > 3493 <code 3494 class="inline css-nuv12a-STYLES_INLINE_CODE" 3495 > 3496 Subscription 3497 3498 </code> 3499 </span> 3500 <span 3501 class="css-10vdcw8-STYLES_PERMALINK_ICON" 3502 > 3503 <svg 3504 aria-label="permalink" 3505 class="anchor-icon" 3506 fill="none" 3507 height="24" 3508 viewBox="0 0 24 24" 3509 width="24" 3510 xmlns="http://www.w3.org/2000/svg" 3511 > 3512 <path 3513 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 3514 stroke="#9B9B9B" 3515 stroke-linecap="round" 3516 stroke-linejoin="round" 3517 stroke-width="2" 3518 /> 3519 <path 3520 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 3521 stroke="#9B9B9B" 3522 stroke-linecap="round" 3523 stroke-linejoin="round" 3524 stroke-width="2" 3525 /> 3526 </svg> 3527 </span> 3528 </a> 3529 </div> 3530 </h3> 3531 <table> 3532 <thead> 3533 <tr> 3534 <th> 3535 Name 3536 </th> 3537 <th> 3538 Type 3539 </th> 3540 <th> 3541 Description 3542 </th> 3543 </tr> 3544 </thead> 3545 <tbody> 3546 <tr> 3547 <td> 3548 <strong 3549 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 3550 > 3551 remove 3552 </strong> 3553 </td> 3554 <td> 3555 <code 3556 class="inline css-nuv12a-STYLES_INLINE_CODE" 3557 > 3558 () => 3559 3560 void 3561 </code> 3562 </td> 3563 <td> 3564 <span> 3565 <span> 3566 A method to unsubscribe the listener. 3567 </span> 3568 </span> 3569 </td> 3570 </tr> 3571 </tbody> 3572 </table> 3573 </div> 3574 <h2 3575 class="css-1v5aebx-h2-h2-STYLES_H2" 3576 data-heading="true" 3577 > 3578 <div 3579 class="css-1rh3o5q-STYLES_PERMALINK" 3580 > 3581 <span 3582 class="css-zonpcr-STYLES_PERMALINK_TARGET" 3583 id="enums" 3584 /> 3585 <a 3586 class="css-15lh5hg-STYLES_PERMALINK_LINK" 3587 href="#enums" 3588 > 3589 <span 3590 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 3591 > 3592 Enums 3593 </span> 3594 <span 3595 class="css-10vdcw8-STYLES_PERMALINK_ICON" 3596 > 3597 <svg 3598 aria-label="permalink" 3599 class="anchor-icon" 3600 fill="none" 3601 height="24" 3602 viewBox="0 0 24 24" 3603 width="24" 3604 xmlns="http://www.w3.org/2000/svg" 3605 > 3606 <path 3607 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 3608 stroke="#9B9B9B" 3609 stroke-linecap="round" 3610 stroke-linejoin="round" 3611 stroke-width="2" 3612 /> 3613 <path 3614 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 3615 stroke="#9B9B9B" 3616 stroke-linecap="round" 3617 stroke-linejoin="round" 3618 stroke-width="2" 3619 /> 3620 </svg> 3621 </span> 3622 </a> 3623 </div> 3624 </h2> 3625 <div> 3626 <h3 3627 class="css-icxoph-h3-h3-STYLES_H3" 3628 data-heading="true" 3629 > 3630 <div 3631 class="css-1rh3o5q-STYLES_PERMALINK" 3632 > 3633 <span 3634 class="css-zonpcr-STYLES_PERMALINK_TARGET" 3635 id="appleauthenticationbuttonstyle" 3636 /> 3637 <a 3638 class="css-15lh5hg-STYLES_PERMALINK_LINK" 3639 href="#appleauthenticationbuttonstyle" 3640 > 3641 <span 3642 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 3643 > 3644 <code 3645 class="inline css-nuv12a-STYLES_INLINE_CODE" 3646 > 3647 AppleAuthenticationButtonStyle 3648 </code> 3649 </span> 3650 <span 3651 class="css-10vdcw8-STYLES_PERMALINK_ICON" 3652 > 3653 <svg 3654 aria-label="permalink" 3655 class="anchor-icon" 3656 fill="none" 3657 height="24" 3658 viewBox="0 0 24 24" 3659 width="24" 3660 xmlns="http://www.w3.org/2000/svg" 3661 > 3662 <path 3663 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 3664 stroke="#9B9B9B" 3665 stroke-linecap="round" 3666 stroke-linejoin="round" 3667 stroke-width="2" 3668 /> 3669 <path 3670 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 3671 stroke="#9B9B9B" 3672 stroke-linecap="round" 3673 stroke-linejoin="round" 3674 stroke-width="2" 3675 /> 3676 </svg> 3677 </span> 3678 </a> 3679 </div> 3680 </h3> 3681 <p 3682 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 3683 data-text="true" 3684 > 3685 <span> 3686 An enum whose values control which pre-defined color scheme to use when rendering an 3687 </span> 3688 <a 3689 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 3690 href="/#appleauthenticationappleauthenticationbutton" 3691 > 3692 <code 3693 class="inline css-nuv12a-STYLES_INLINE_CODE" 3694 > 3695 AppleAuthenticationButton 3696 </code> 3697 </a> 3698 <span> 3699 . 3700 </span> 3701 </p> 3702 <ul 3703 class="css-1a9yu92-paragraph-STYLES_UNORDERED_LIST-UL" 3704 data-text="true" 3705 > 3706 <li 3707 class="docs-list-item css-aulog8-STYLES_LIST_ITEM-LI" 3708 > 3709 <code 3710 class="inline css-nuv12a-STYLES_INLINE_CODE" 3711 > 3712 AppleAuthenticationButtonStyle 3713 . 3714 WHITE 3715 </code> 3716 : 3717 <code 3718 class="inline css-nuv12a-STYLES_INLINE_CODE" 3719 > 3720 0 3721 </code> 3722 - 3723 <span> 3724 <span> 3725 White button with black text. 3726 </span> 3727 </span> 3728 </li> 3729 <li 3730 class="docs-list-item css-aulog8-STYLES_LIST_ITEM-LI" 3731 > 3732 <code 3733 class="inline css-nuv12a-STYLES_INLINE_CODE" 3734 > 3735 AppleAuthenticationButtonStyle 3736 . 3737 WHITE_OUTLINE 3738 </code> 3739 : 3740 <code 3741 class="inline css-nuv12a-STYLES_INLINE_CODE" 3742 > 3743 1 3744 </code> 3745 - 3746 <span> 3747 <span> 3748 White button with a black outline and black text. 3749 </span> 3750 </span> 3751 </li> 3752 <li 3753 class="docs-list-item css-aulog8-STYLES_LIST_ITEM-LI" 3754 > 3755 <code 3756 class="inline css-nuv12a-STYLES_INLINE_CODE" 3757 > 3758 AppleAuthenticationButtonStyle 3759 . 3760 BLACK 3761 </code> 3762 : 3763 <code 3764 class="inline css-nuv12a-STYLES_INLINE_CODE" 3765 > 3766 2 3767 </code> 3768 - 3769 <span> 3770 <span> 3771 Black button with white text. 3772 </span> 3773 </span> 3774 </li> 3775 </ul> 3776 </div> 3777 <div> 3778 <h3 3779 class="css-icxoph-h3-h3-STYLES_H3" 3780 data-heading="true" 3781 > 3782 <div 3783 class="css-1rh3o5q-STYLES_PERMALINK" 3784 > 3785 <span 3786 class="css-zonpcr-STYLES_PERMALINK_TARGET" 3787 id="appleauthenticationbuttontype" 3788 /> 3789 <a 3790 class="css-15lh5hg-STYLES_PERMALINK_LINK" 3791 href="#appleauthenticationbuttontype" 3792 > 3793 <span 3794 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 3795 > 3796 <code 3797 class="inline css-nuv12a-STYLES_INLINE_CODE" 3798 > 3799 AppleAuthenticationButtonType 3800 </code> 3801 </span> 3802 <span 3803 class="css-10vdcw8-STYLES_PERMALINK_ICON" 3804 > 3805 <svg 3806 aria-label="permalink" 3807 class="anchor-icon" 3808 fill="none" 3809 height="24" 3810 viewBox="0 0 24 24" 3811 width="24" 3812 xmlns="http://www.w3.org/2000/svg" 3813 > 3814 <path 3815 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 3816 stroke="#9B9B9B" 3817 stroke-linecap="round" 3818 stroke-linejoin="round" 3819 stroke-width="2" 3820 /> 3821 <path 3822 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 3823 stroke="#9B9B9B" 3824 stroke-linecap="round" 3825 stroke-linejoin="round" 3826 stroke-width="2" 3827 /> 3828 </svg> 3829 </span> 3830 </a> 3831 </div> 3832 </h3> 3833 <p 3834 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 3835 data-text="true" 3836 > 3837 <span> 3838 An enum whose values control which pre-defined text to use when rendering an 3839 </span> 3840 <a 3841 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 3842 href="/#appleauthenticationappleauthenticationbutton" 3843 > 3844 <code 3845 class="inline css-nuv12a-STYLES_INLINE_CODE" 3846 > 3847 AppleAuthenticationButton 3848 </code> 3849 </a> 3850 <span> 3851 . 3852 </span> 3853 </p> 3854 <ul 3855 class="css-1a9yu92-paragraph-STYLES_UNORDERED_LIST-UL" 3856 data-text="true" 3857 > 3858 <li 3859 class="docs-list-item css-aulog8-STYLES_LIST_ITEM-LI" 3860 > 3861 <code 3862 class="inline css-nuv12a-STYLES_INLINE_CODE" 3863 > 3864 AppleAuthenticationButtonType 3865 . 3866 SIGN_IN 3867 </code> 3868 : 3869 <code 3870 class="inline css-nuv12a-STYLES_INLINE_CODE" 3871 > 3872 0 3873 </code> 3874 - 3875 <span> 3876 <span> 3877 "Sign in with Apple" 3878 </span> 3879 </span> 3880 </li> 3881 <li 3882 class="docs-list-item css-aulog8-STYLES_LIST_ITEM-LI" 3883 > 3884 <code 3885 class="inline css-nuv12a-STYLES_INLINE_CODE" 3886 > 3887 AppleAuthenticationButtonType 3888 . 3889 CONTINUE 3890 </code> 3891 : 3892 <code 3893 class="inline css-nuv12a-STYLES_INLINE_CODE" 3894 > 3895 1 3896 </code> 3897 - 3898 <span> 3899 <span> 3900 "Continue with Apple" 3901 </span> 3902 </span> 3903 </li> 3904 <li 3905 class="docs-list-item css-aulog8-STYLES_LIST_ITEM-LI" 3906 > 3907 <code 3908 class="inline css-nuv12a-STYLES_INLINE_CODE" 3909 > 3910 AppleAuthenticationButtonType 3911 . 3912 SIGN_UP 3913 </code> 3914 : 3915 <code 3916 class="inline css-nuv12a-STYLES_INLINE_CODE" 3917 > 3918 2 3919 </code> 3920 - 3921 <span> 3922 <span> 3923 "Sign up with Apple" 3924 </span> 3925 <em> 3926 <span> 3927 (requires iOS 13.2 or higher) 3928 </span> 3929 </em> 3930 </span> 3931 </li> 3932 </ul> 3933 </div> 3934 <div> 3935 <h3 3936 class="css-icxoph-h3-h3-STYLES_H3" 3937 data-heading="true" 3938 > 3939 <div 3940 class="css-1rh3o5q-STYLES_PERMALINK" 3941 > 3942 <span 3943 class="css-zonpcr-STYLES_PERMALINK_TARGET" 3944 id="appleauthenticationcredentialstate" 3945 /> 3946 <a 3947 class="css-15lh5hg-STYLES_PERMALINK_LINK" 3948 href="#appleauthenticationcredentialstate" 3949 > 3950 <span 3951 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 3952 > 3953 <code 3954 class="inline css-nuv12a-STYLES_INLINE_CODE" 3955 > 3956 AppleAuthenticationCredentialState 3957 </code> 3958 </span> 3959 <span 3960 class="css-10vdcw8-STYLES_PERMALINK_ICON" 3961 > 3962 <svg 3963 aria-label="permalink" 3964 class="anchor-icon" 3965 fill="none" 3966 height="24" 3967 viewBox="0 0 24 24" 3968 width="24" 3969 xmlns="http://www.w3.org/2000/svg" 3970 > 3971 <path 3972 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 3973 stroke="#9B9B9B" 3974 stroke-linecap="round" 3975 stroke-linejoin="round" 3976 stroke-width="2" 3977 /> 3978 <path 3979 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 3980 stroke="#9B9B9B" 3981 stroke-linecap="round" 3982 stroke-linejoin="round" 3983 stroke-width="2" 3984 /> 3985 </svg> 3986 </span> 3987 </a> 3988 </div> 3989 </h3> 3990 <p 3991 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 3992 data-text="true" 3993 > 3994 <span> 3995 An enum whose values specify state of the credential when checked with 3996 </span> 3997 <a 3998 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 3999 href="/#appleauthenticationgetcredentialstateasyncuser" 4000 > 4001 <code 4002 class="inline css-nuv12a-STYLES_INLINE_CODE" 4003 > 4004 AppleAuthentication.getCredentialStateAsync() 4005 </code> 4006 </a> 4007 <span> 4008 . 4009 </span> 4010 </p> 4011 <ul 4012 class="css-1a9yu92-paragraph-STYLES_UNORDERED_LIST-UL" 4013 data-text="true" 4014 > 4015 <li 4016 class="docs-list-item css-aulog8-STYLES_LIST_ITEM-LI" 4017 > 4018 <code 4019 class="inline css-nuv12a-STYLES_INLINE_CODE" 4020 > 4021 AppleAuthenticationCredentialState 4022 . 4023 REVOKED 4024 </code> 4025 : 4026 <code 4027 class="inline css-nuv12a-STYLES_INLINE_CODE" 4028 > 4029 0 4030 </code> 4031 </li> 4032 <li 4033 class="docs-list-item css-aulog8-STYLES_LIST_ITEM-LI" 4034 > 4035 <code 4036 class="inline css-nuv12a-STYLES_INLINE_CODE" 4037 > 4038 AppleAuthenticationCredentialState 4039 . 4040 AUTHORIZED 4041 </code> 4042 : 4043 <code 4044 class="inline css-nuv12a-STYLES_INLINE_CODE" 4045 > 4046 1 4047 </code> 4048 </li> 4049 <li 4050 class="docs-list-item css-aulog8-STYLES_LIST_ITEM-LI" 4051 > 4052 <code 4053 class="inline css-nuv12a-STYLES_INLINE_CODE" 4054 > 4055 AppleAuthenticationCredentialState 4056 . 4057 NOT_FOUND 4058 </code> 4059 : 4060 <code 4061 class="inline css-nuv12a-STYLES_INLINE_CODE" 4062 > 4063 2 4064 </code> 4065 </li> 4066 <li 4067 class="docs-list-item css-aulog8-STYLES_LIST_ITEM-LI" 4068 > 4069 <code 4070 class="inline css-nuv12a-STYLES_INLINE_CODE" 4071 > 4072 AppleAuthenticationCredentialState 4073 . 4074 TRANSFERRED 4075 </code> 4076 : 4077 <code 4078 class="inline css-nuv12a-STYLES_INLINE_CODE" 4079 > 4080 3 4081 </code> 4082 </li> 4083 </ul> 4084 </div> 4085 <div> 4086 <h3 4087 class="css-icxoph-h3-h3-STYLES_H3" 4088 data-heading="true" 4089 > 4090 <div 4091 class="css-1rh3o5q-STYLES_PERMALINK" 4092 > 4093 <span 4094 class="css-zonpcr-STYLES_PERMALINK_TARGET" 4095 id="appleauthenticationoperation" 4096 /> 4097 <a 4098 class="css-15lh5hg-STYLES_PERMALINK_LINK" 4099 href="#appleauthenticationoperation" 4100 > 4101 <span 4102 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 4103 > 4104 <code 4105 class="inline css-nuv12a-STYLES_INLINE_CODE" 4106 > 4107 AppleAuthenticationOperation 4108 </code> 4109 </span> 4110 <span 4111 class="css-10vdcw8-STYLES_PERMALINK_ICON" 4112 > 4113 <svg 4114 aria-label="permalink" 4115 class="anchor-icon" 4116 fill="none" 4117 height="24" 4118 viewBox="0 0 24 24" 4119 width="24" 4120 xmlns="http://www.w3.org/2000/svg" 4121 > 4122 <path 4123 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 4124 stroke="#9B9B9B" 4125 stroke-linecap="round" 4126 stroke-linejoin="round" 4127 stroke-width="2" 4128 /> 4129 <path 4130 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 4131 stroke="#9B9B9B" 4132 stroke-linecap="round" 4133 stroke-linejoin="round" 4134 stroke-width="2" 4135 /> 4136 </svg> 4137 </span> 4138 </a> 4139 </div> 4140 </h3> 4141 <ul 4142 class="css-1a9yu92-paragraph-STYLES_UNORDERED_LIST-UL" 4143 data-text="true" 4144 > 4145 <li 4146 class="docs-list-item css-aulog8-STYLES_LIST_ITEM-LI" 4147 > 4148 <code 4149 class="inline css-nuv12a-STYLES_INLINE_CODE" 4150 > 4151 AppleAuthenticationOperation 4152 . 4153 IMPLICIT 4154 </code> 4155 : 4156 <code 4157 class="inline css-nuv12a-STYLES_INLINE_CODE" 4158 > 4159 0 4160 </code> 4161 - 4162 <span> 4163 <span> 4164 An operation that depends on the particular kind of credential provider. 4165 </span> 4166 </span> 4167 </li> 4168 <li 4169 class="docs-list-item css-aulog8-STYLES_LIST_ITEM-LI" 4170 > 4171 <code 4172 class="inline css-nuv12a-STYLES_INLINE_CODE" 4173 > 4174 AppleAuthenticationOperation 4175 . 4176 LOGIN 4177 </code> 4178 : 4179 <code 4180 class="inline css-nuv12a-STYLES_INLINE_CODE" 4181 > 4182 1 4183 </code> 4184 </li> 4185 <li 4186 class="docs-list-item css-aulog8-STYLES_LIST_ITEM-LI" 4187 > 4188 <code 4189 class="inline css-nuv12a-STYLES_INLINE_CODE" 4190 > 4191 AppleAuthenticationOperation 4192 . 4193 REFRESH 4194 </code> 4195 : 4196 <code 4197 class="inline css-nuv12a-STYLES_INLINE_CODE" 4198 > 4199 2 4200 </code> 4201 </li> 4202 <li 4203 class="docs-list-item css-aulog8-STYLES_LIST_ITEM-LI" 4204 > 4205 <code 4206 class="inline css-nuv12a-STYLES_INLINE_CODE" 4207 > 4208 AppleAuthenticationOperation 4209 . 4210 LOGOUT 4211 </code> 4212 : 4213 <code 4214 class="inline css-nuv12a-STYLES_INLINE_CODE" 4215 > 4216 3 4217 </code> 4218 </li> 4219 </ul> 4220 </div> 4221 <div> 4222 <h3 4223 class="css-icxoph-h3-h3-STYLES_H3" 4224 data-heading="true" 4225 > 4226 <div 4227 class="css-1rh3o5q-STYLES_PERMALINK" 4228 > 4229 <span 4230 class="css-zonpcr-STYLES_PERMALINK_TARGET" 4231 id="appleauthenticationscope" 4232 /> 4233 <a 4234 class="css-15lh5hg-STYLES_PERMALINK_LINK" 4235 href="#appleauthenticationscope" 4236 > 4237 <span 4238 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 4239 > 4240 <code 4241 class="inline css-nuv12a-STYLES_INLINE_CODE" 4242 > 4243 AppleAuthenticationScope 4244 </code> 4245 </span> 4246 <span 4247 class="css-10vdcw8-STYLES_PERMALINK_ICON" 4248 > 4249 <svg 4250 aria-label="permalink" 4251 class="anchor-icon" 4252 fill="none" 4253 height="24" 4254 viewBox="0 0 24 24" 4255 width="24" 4256 xmlns="http://www.w3.org/2000/svg" 4257 > 4258 <path 4259 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 4260 stroke="#9B9B9B" 4261 stroke-linecap="round" 4262 stroke-linejoin="round" 4263 stroke-width="2" 4264 /> 4265 <path 4266 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 4267 stroke="#9B9B9B" 4268 stroke-linecap="round" 4269 stroke-linejoin="round" 4270 stroke-width="2" 4271 /> 4272 </svg> 4273 </span> 4274 </a> 4275 </div> 4276 </h3> 4277 <p 4278 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 4279 data-text="true" 4280 > 4281 <span> 4282 An enum whose values specify scopes you can request when calling 4283 </span> 4284 <a 4285 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 4286 href="/#appleauthenticationsigninasyncoptions" 4287 > 4288 <code 4289 class="inline css-nuv12a-STYLES_INLINE_CODE" 4290 > 4291 AppleAuthentication.signInAsync() 4292 </code> 4293 </a> 4294 <span> 4295 . 4296 </span> 4297 </p> 4298 <blockquote 4299 class="css-e76wiv-paragraph-STYLES_BLOCKQUOTE" 4300 data-text="true" 4301 > 4302 <div> 4303 <div 4304 style="margin-top: 2px;" 4305 > 4306 <svg 4307 aria-label="check" 4308 fill="none" 4309 height="16" 4310 viewBox="0 0 24 24" 4311 width="16" 4312 xmlns="http://www.w3.org/2000/svg" 4313 > 4314 <path 4315 d="M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12c6.628 0 12-5.373 12-12S18.628 0 12 0zm-.015 5.419c.269-.292.596-.44.973-.44.306 0 .575.11.776.317.203.207.306.472.306.786 0 .394-.137.745-.409 1.042-.279.306-.605.462-.968.462-.3 0-.566-.113-.768-.326-.201-.208-.304-.48-.304-.809 0-.401.133-.749.394-1.032zm1.999 11.305c-.995.936-1.705 1.52-2.17 1.784-.496.284-.905.423-1.25.423-.342 0-.621-.114-.83-.338-.202-.218-.305-.51-.305-.87 0-.92.521-3.058 1.595-6.534a1.47 1.47 0 00.042-.166c-.04.017-.087.041-.14.075-.088.055-.356.265-1.14 1.03a.334.334 0 01-.438.025l-.463-.358a.334.334 0 01-.043-.49c.722-.794 1.395-1.371 2.002-1.714.636-.358 1.173-.533 1.643-.533.303 0 .548.076.729.225.196.164.3.391.3.658 0 .175-.084.63-.697 2.686-.875 2.937-1.084 4.003-1.099 4.372.166-.098.558-.376 1.395-1.162a.334.334 0 01.462.003l.411.4a.334.334 0 01-.004.484z" 4316 fill="var(--expo-theme-icon-default)" 4317 /> 4318 </svg> 4319 </div> 4320 </div> 4321 <div> 4322 <span> 4323 Note that it is possible that you will not be granted all of the scopes which you request. 4324You will still need to handle null values for any fields you request. 4325 </span> 4326 </div> 4327 </blockquote> 4328 <ul 4329 class="css-1a9yu92-paragraph-STYLES_UNORDERED_LIST-UL" 4330 data-text="true" 4331 > 4332 <li 4333 class="docs-list-item css-aulog8-STYLES_LIST_ITEM-LI" 4334 > 4335 <code 4336 class="inline css-nuv12a-STYLES_INLINE_CODE" 4337 > 4338 AppleAuthenticationScope 4339 . 4340 FULL_NAME 4341 </code> 4342 : 4343 <code 4344 class="inline css-nuv12a-STYLES_INLINE_CODE" 4345 > 4346 0 4347 </code> 4348 </li> 4349 <li 4350 class="docs-list-item css-aulog8-STYLES_LIST_ITEM-LI" 4351 > 4352 <code 4353 class="inline css-nuv12a-STYLES_INLINE_CODE" 4354 > 4355 AppleAuthenticationScope 4356 . 4357 EMAIL 4358 </code> 4359 : 4360 <code 4361 class="inline css-nuv12a-STYLES_INLINE_CODE" 4362 > 4363 1 4364 </code> 4365 </li> 4366 </ul> 4367 </div> 4368 <div> 4369 <h3 4370 class="css-icxoph-h3-h3-STYLES_H3" 4371 data-heading="true" 4372 > 4373 <div 4374 class="css-1rh3o5q-STYLES_PERMALINK" 4375 > 4376 <span 4377 class="css-zonpcr-STYLES_PERMALINK_TARGET" 4378 id="appleauthenticationuserdetectionstatus" 4379 /> 4380 <a 4381 class="css-15lh5hg-STYLES_PERMALINK_LINK" 4382 href="#appleauthenticationuserdetectionstatus" 4383 > 4384 <span 4385 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 4386 > 4387 <code 4388 class="inline css-nuv12a-STYLES_INLINE_CODE" 4389 > 4390 AppleAuthenticationUserDetectionStatus 4391 </code> 4392 </span> 4393 <span 4394 class="css-10vdcw8-STYLES_PERMALINK_ICON" 4395 > 4396 <svg 4397 aria-label="permalink" 4398 class="anchor-icon" 4399 fill="none" 4400 height="24" 4401 viewBox="0 0 24 24" 4402 width="24" 4403 xmlns="http://www.w3.org/2000/svg" 4404 > 4405 <path 4406 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 4407 stroke="#9B9B9B" 4408 stroke-linecap="round" 4409 stroke-linejoin="round" 4410 stroke-width="2" 4411 /> 4412 <path 4413 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 4414 stroke="#9B9B9B" 4415 stroke-linecap="round" 4416 stroke-linejoin="round" 4417 stroke-width="2" 4418 /> 4419 </svg> 4420 </span> 4421 </a> 4422 </div> 4423 </h3> 4424 <p 4425 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 4426 data-text="true" 4427 > 4428 <span> 4429 An enum whose values specify the system's best guess for how likely the current user is a real person. 4430 </span> 4431 </p> 4432 <ul 4433 class="css-1a9yu92-paragraph-STYLES_UNORDERED_LIST-UL" 4434 data-text="true" 4435 > 4436 <li 4437 class="docs-list-item css-aulog8-STYLES_LIST_ITEM-LI" 4438 > 4439 <code 4440 class="inline css-nuv12a-STYLES_INLINE_CODE" 4441 > 4442 AppleAuthenticationUserDetectionStatus 4443 . 4444 UNSUPPORTED 4445 </code> 4446 : 4447 <code 4448 class="inline css-nuv12a-STYLES_INLINE_CODE" 4449 > 4450 0 4451 </code> 4452 - 4453 <span> 4454 <span> 4455 The system does not support this determination and there is no data. 4456 </span> 4457 </span> 4458 </li> 4459 <li 4460 class="docs-list-item css-aulog8-STYLES_LIST_ITEM-LI" 4461 > 4462 <code 4463 class="inline css-nuv12a-STYLES_INLINE_CODE" 4464 > 4465 AppleAuthenticationUserDetectionStatus 4466 . 4467 UNKNOWN 4468 </code> 4469 : 4470 <code 4471 class="inline css-nuv12a-STYLES_INLINE_CODE" 4472 > 4473 1 4474 </code> 4475 - 4476 <span> 4477 <span> 4478 The system has not determined whether the user might be a real person. 4479 </span> 4480 </span> 4481 </li> 4482 <li 4483 class="docs-list-item css-aulog8-STYLES_LIST_ITEM-LI" 4484 > 4485 <code 4486 class="inline css-nuv12a-STYLES_INLINE_CODE" 4487 > 4488 AppleAuthenticationUserDetectionStatus 4489 . 4490 LIKELY_REAL 4491 </code> 4492 : 4493 <code 4494 class="inline css-nuv12a-STYLES_INLINE_CODE" 4495 > 4496 2 4497 </code> 4498 - 4499 <span> 4500 <span> 4501 The user appears to be a real person. 4502 </span> 4503 </span> 4504 </li> 4505 </ul> 4506 </div> 4507</div> 4508`; 4509 4510exports[`APISection expo-pedometer 1`] = ` 4511<div> 4512 <h2 4513 class="css-1v5aebx-h2-h2-STYLES_H2" 4514 data-heading="true" 4515 > 4516 <div 4517 class="css-1rh3o5q-STYLES_PERMALINK" 4518 > 4519 <span 4520 class="css-zonpcr-STYLES_PERMALINK_TARGET" 4521 id="methods" 4522 /> 4523 <a 4524 class="css-15lh5hg-STYLES_PERMALINK_LINK" 4525 href="#methods" 4526 > 4527 <span 4528 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 4529 > 4530 Methods 4531 </span> 4532 <span 4533 class="css-10vdcw8-STYLES_PERMALINK_ICON" 4534 > 4535 <svg 4536 aria-label="permalink" 4537 class="anchor-icon" 4538 fill="none" 4539 height="24" 4540 viewBox="0 0 24 24" 4541 width="24" 4542 xmlns="http://www.w3.org/2000/svg" 4543 > 4544 <path 4545 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 4546 stroke="#9B9B9B" 4547 stroke-linecap="round" 4548 stroke-linejoin="round" 4549 stroke-width="2" 4550 /> 4551 <path 4552 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 4553 stroke="#9B9B9B" 4554 stroke-linecap="round" 4555 stroke-linejoin="round" 4556 stroke-width="2" 4557 /> 4558 </svg> 4559 </span> 4560 </a> 4561 </div> 4562 </h2> 4563 <div> 4564 <h3 4565 class="css-icxoph-h3-h3-STYLES_H3" 4566 data-heading="true" 4567 > 4568 <div 4569 class="css-1rh3o5q-STYLES_PERMALINK" 4570 > 4571 <span 4572 class="css-zonpcr-STYLES_PERMALINK_TARGET" 4573 id="getpermissionsasync" 4574 /> 4575 <a 4576 class="css-15lh5hg-STYLES_PERMALINK_LINK" 4577 href="#getpermissionsasync" 4578 > 4579 <span 4580 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 4581 > 4582 <code 4583 class="inline css-nuv12a-STYLES_INLINE_CODE" 4584 > 4585 4586 getPermissionsAsync() 4587 </code> 4588 </span> 4589 <span 4590 class="css-10vdcw8-STYLES_PERMALINK_ICON" 4591 > 4592 <svg 4593 aria-label="permalink" 4594 class="anchor-icon" 4595 fill="none" 4596 height="24" 4597 viewBox="0 0 24 24" 4598 width="24" 4599 xmlns="http://www.w3.org/2000/svg" 4600 > 4601 <path 4602 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 4603 stroke="#9B9B9B" 4604 stroke-linecap="round" 4605 stroke-linejoin="round" 4606 stroke-width="2" 4607 /> 4608 <path 4609 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 4610 stroke="#9B9B9B" 4611 stroke-linecap="round" 4612 stroke-linejoin="round" 4613 stroke-width="2" 4614 /> 4615 </svg> 4616 </span> 4617 </a> 4618 </div> 4619 </h3> 4620 <div> 4621 <h4 4622 class=" css-1j2s5xo-h4-h4-STYLES_H4" 4623 data-components-heading="true" 4624 data-heading="true" 4625 > 4626 <div 4627 class="css-1rh3o5q-STYLES_PERMALINK" 4628 > 4629 <span 4630 class="css-zonpcr-STYLES_PERMALINK_TARGET" 4631 id="returns" 4632 /> 4633 <a 4634 class="css-15lh5hg-STYLES_PERMALINK_LINK" 4635 href="#returns" 4636 > 4637 <span 4638 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 4639 > 4640 Returns 4641 </span> 4642 <span 4643 class="css-10vdcw8-STYLES_PERMALINK_ICON" 4644 > 4645 <svg 4646 aria-label="permalink" 4647 class="anchor-icon" 4648 fill="none" 4649 height="24" 4650 viewBox="0 0 24 24" 4651 width="24" 4652 xmlns="http://www.w3.org/2000/svg" 4653 > 4654 <path 4655 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 4656 stroke="#9B9B9B" 4657 stroke-linecap="round" 4658 stroke-linejoin="round" 4659 stroke-width="2" 4660 /> 4661 <path 4662 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 4663 stroke="#9B9B9B" 4664 stroke-linecap="round" 4665 stroke-linejoin="round" 4666 stroke-width="2" 4667 /> 4668 </svg> 4669 </span> 4670 </a> 4671 </div> 4672 </h4> 4673 <ul 4674 class="css-1a9yu92-paragraph-STYLES_UNORDERED_LIST-UL" 4675 data-text="true" 4676 > 4677 <li 4678 class="docs-list-item css-npeppb-STYLES_LIST_ITEM-STYLE_RETURN_LIST-LI" 4679 > 4680 <code 4681 class="inline css-nuv12a-STYLES_INLINE_CODE" 4682 > 4683 <a 4684 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 4685 href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" 4686 rel="noopener noreferrer" 4687 > 4688 Promise 4689 </a> 4690 < 4691 <span> 4692 <a 4693 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 4694 href="/#permissionresponse" 4695 > 4696 PermissionResponse 4697 </a> 4698 </span> 4699 > 4700 </code> 4701 </li> 4702 </ul> 4703 </div> 4704 <hr /> 4705 </div> 4706 <div> 4707 <h3 4708 class="css-icxoph-h3-h3-STYLES_H3" 4709 data-heading="true" 4710 > 4711 <div 4712 class="css-1rh3o5q-STYLES_PERMALINK" 4713 > 4714 <span 4715 class="css-zonpcr-STYLES_PERMALINK_TARGET" 4716 id="getstepcountasyncstart-end" 4717 /> 4718 <a 4719 class="css-15lh5hg-STYLES_PERMALINK_LINK" 4720 href="#getstepcountasyncstart-end" 4721 > 4722 <span 4723 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 4724 > 4725 <code 4726 class="inline css-nuv12a-STYLES_INLINE_CODE" 4727 > 4728 4729 getStepCountAsync(start, end) 4730 </code> 4731 </span> 4732 <span 4733 class="css-10vdcw8-STYLES_PERMALINK_ICON" 4734 > 4735 <svg 4736 aria-label="permalink" 4737 class="anchor-icon" 4738 fill="none" 4739 height="24" 4740 viewBox="0 0 24 24" 4741 width="24" 4742 xmlns="http://www.w3.org/2000/svg" 4743 > 4744 <path 4745 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 4746 stroke="#9B9B9B" 4747 stroke-linecap="round" 4748 stroke-linejoin="round" 4749 stroke-width="2" 4750 /> 4751 <path 4752 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 4753 stroke="#9B9B9B" 4754 stroke-linecap="round" 4755 stroke-linejoin="round" 4756 stroke-width="2" 4757 /> 4758 </svg> 4759 </span> 4760 </a> 4761 </div> 4762 </h3> 4763 <h4 4764 class=" css-1j2s5xo-h4-h4-STYLES_H4" 4765 data-components-heading="true" 4766 data-heading="true" 4767 > 4768 <div 4769 class="css-1rh3o5q-STYLES_PERMALINK" 4770 > 4771 <span 4772 class="css-zonpcr-STYLES_PERMALINK_TARGET" 4773 id="arguments" 4774 /> 4775 <a 4776 class="css-15lh5hg-STYLES_PERMALINK_LINK" 4777 href="#arguments" 4778 > 4779 <span 4780 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 4781 > 4782 Arguments 4783 </span> 4784 <span 4785 class="css-10vdcw8-STYLES_PERMALINK_ICON" 4786 > 4787 <svg 4788 aria-label="permalink" 4789 class="anchor-icon" 4790 fill="none" 4791 height="24" 4792 viewBox="0 0 24 24" 4793 width="24" 4794 xmlns="http://www.w3.org/2000/svg" 4795 > 4796 <path 4797 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 4798 stroke="#9B9B9B" 4799 stroke-linecap="round" 4800 stroke-linejoin="round" 4801 stroke-width="2" 4802 /> 4803 <path 4804 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 4805 stroke="#9B9B9B" 4806 stroke-linecap="round" 4807 stroke-linejoin="round" 4808 stroke-width="2" 4809 /> 4810 </svg> 4811 </span> 4812 </a> 4813 </div> 4814 </h4> 4815 <ul 4816 class="css-1a9yu92-paragraph-STYLES_UNORDERED_LIST-UL" 4817 data-text="true" 4818 > 4819 <li 4820 class="docs-list-item css-aulog8-STYLES_LIST_ITEM-LI" 4821 > 4822 <strong 4823 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 4824 > 4825 start 4826 ( 4827 <code 4828 class="inline css-nuv12a-STYLES_INLINE_CODE" 4829 > 4830 <a 4831 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 4832 href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date" 4833 rel="noopener noreferrer" 4834 > 4835 Date 4836 </a> 4837 </code> 4838 ) 4839 </strong> 4840 - 4841 <span> 4842 <span> 4843 A date indicating the start of the range over which to measure steps. 4844 </span> 4845 </span> 4846 </li> 4847 <li 4848 class="docs-list-item css-aulog8-STYLES_LIST_ITEM-LI" 4849 > 4850 <strong 4851 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 4852 > 4853 end 4854 ( 4855 <code 4856 class="inline css-nuv12a-STYLES_INLINE_CODE" 4857 > 4858 <a 4859 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 4860 href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date" 4861 rel="noopener noreferrer" 4862 > 4863 Date 4864 </a> 4865 </code> 4866 ) 4867 </strong> 4868 - 4869 <span> 4870 <span> 4871 A date indicating the end of the range over which to measure steps. 4872 </span> 4873 </span> 4874 </li> 4875 </ul> 4876 <p 4877 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 4878 data-text="true" 4879 > 4880 <span> 4881 Get the step count between two dates. 4882 </span> 4883 </p> 4884 <div> 4885 <h4 4886 class=" css-1j2s5xo-h4-h4-STYLES_H4" 4887 data-components-heading="true" 4888 data-heading="true" 4889 > 4890 <div 4891 class="css-1rh3o5q-STYLES_PERMALINK" 4892 > 4893 <span 4894 class="css-zonpcr-STYLES_PERMALINK_TARGET" 4895 id="returns-1" 4896 /> 4897 <a 4898 class="css-15lh5hg-STYLES_PERMALINK_LINK" 4899 href="#returns-1" 4900 > 4901 <span 4902 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 4903 > 4904 Returns 4905 </span> 4906 <span 4907 class="css-10vdcw8-STYLES_PERMALINK_ICON" 4908 > 4909 <svg 4910 aria-label="permalink" 4911 class="anchor-icon" 4912 fill="none" 4913 height="24" 4914 viewBox="0 0 24 24" 4915 width="24" 4916 xmlns="http://www.w3.org/2000/svg" 4917 > 4918 <path 4919 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 4920 stroke="#9B9B9B" 4921 stroke-linecap="round" 4922 stroke-linejoin="round" 4923 stroke-width="2" 4924 /> 4925 <path 4926 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 4927 stroke="#9B9B9B" 4928 stroke-linecap="round" 4929 stroke-linejoin="round" 4930 stroke-width="2" 4931 /> 4932 </svg> 4933 </span> 4934 </a> 4935 </div> 4936 </h4> 4937 <ul 4938 class="css-1a9yu92-paragraph-STYLES_UNORDERED_LIST-UL" 4939 data-text="true" 4940 > 4941 <li 4942 class="docs-list-item css-npeppb-STYLES_LIST_ITEM-STYLE_RETURN_LIST-LI" 4943 > 4944 <code 4945 class="inline css-nuv12a-STYLES_INLINE_CODE" 4946 > 4947 <a 4948 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 4949 href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" 4950 rel="noopener noreferrer" 4951 > 4952 Promise 4953 </a> 4954 < 4955 <span> 4956 <a 4957 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 4958 href="/#pedometerresult" 4959 > 4960 PedometerResult 4961 </a> 4962 </span> 4963 > 4964 </code> 4965 </li> 4966 </ul> 4967 <p 4968 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 4969 data-text="true" 4970 > 4971 <span> 4972 Returns a promise that fulfills with a 4973 </span> 4974 <a 4975 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 4976 href="/#pedometerresult" 4977 > 4978 <code 4979 class="inline css-nuv12a-STYLES_INLINE_CODE" 4980 > 4981 PedometerResult 4982 </code> 4983 </a> 4984 <span> 4985 . 4986 </span> 4987 </p> 4988 <p 4989 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 4990 data-text="true" 4991 > 4992 <span> 4993 As 4994 </span> 4995 <a 4996 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 4997 href="https://developer.apple.com/documentation/coremotion/cmpedometer/1613946-querypedometerdatafromdate?language=objc" 4998 rel="noopener noreferrer" 4999 > 5000 <span> 5001 Apple documentation states 5002 </span> 5003 </a> 5004 <span> 5005 : 5006 </span> 5007 </p> 5008 <blockquote 5009 class="css-e76wiv-paragraph-STYLES_BLOCKQUOTE" 5010 data-text="true" 5011 > 5012 <div> 5013 <div 5014 style="margin-top: 2px;" 5015 > 5016 <svg 5017 aria-label="check" 5018 fill="none" 5019 height="16" 5020 viewBox="0 0 24 24" 5021 width="16" 5022 xmlns="http://www.w3.org/2000/svg" 5023 > 5024 <path 5025 d="M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12c6.628 0 12-5.373 12-12S18.628 0 12 0zm-.015 5.419c.269-.292.596-.44.973-.44.306 0 .575.11.776.317.203.207.306.472.306.786 0 .394-.137.745-.409 1.042-.279.306-.605.462-.968.462-.3 0-.566-.113-.768-.326-.201-.208-.304-.48-.304-.809 0-.401.133-.749.394-1.032zm1.999 11.305c-.995.936-1.705 1.52-2.17 1.784-.496.284-.905.423-1.25.423-.342 0-.621-.114-.83-.338-.202-.218-.305-.51-.305-.87 0-.92.521-3.058 1.595-6.534a1.47 1.47 0 00.042-.166c-.04.017-.087.041-.14.075-.088.055-.356.265-1.14 1.03a.334.334 0 01-.438.025l-.463-.358a.334.334 0 01-.043-.49c.722-.794 1.395-1.371 2.002-1.714.636-.358 1.173-.533 1.643-.533.303 0 .548.076.729.225.196.164.3.391.3.658 0 .175-.084.63-.697 2.686-.875 2.937-1.084 4.003-1.099 4.372.166-.098.558-.376 1.395-1.162a.334.334 0 01.462.003l.411.4a.334.334 0 01-.004.484z" 5026 fill="var(--expo-theme-icon-default)" 5027 /> 5028 </svg> 5029 </div> 5030 </div> 5031 <div> 5032 <span> 5033 Only the past seven days worth of data is stored and available for you to retrieve. Specifying 5034a start date that is more than seven days in the past returns only the available data. 5035 </span> 5036 </div> 5037 </blockquote> 5038 </div> 5039 <hr /> 5040 </div> 5041 <div> 5042 <h3 5043 class="css-icxoph-h3-h3-STYLES_H3" 5044 data-heading="true" 5045 > 5046 <div 5047 class="css-1rh3o5q-STYLES_PERMALINK" 5048 > 5049 <span 5050 class="css-zonpcr-STYLES_PERMALINK_TARGET" 5051 id="isavailableasync" 5052 /> 5053 <a 5054 class="css-15lh5hg-STYLES_PERMALINK_LINK" 5055 href="#isavailableasync" 5056 > 5057 <span 5058 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 5059 > 5060 <code 5061 class="inline css-nuv12a-STYLES_INLINE_CODE" 5062 > 5063 5064 isAvailableAsync() 5065 </code> 5066 </span> 5067 <span 5068 class="css-10vdcw8-STYLES_PERMALINK_ICON" 5069 > 5070 <svg 5071 aria-label="permalink" 5072 class="anchor-icon" 5073 fill="none" 5074 height="24" 5075 viewBox="0 0 24 24" 5076 width="24" 5077 xmlns="http://www.w3.org/2000/svg" 5078 > 5079 <path 5080 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 5081 stroke="#9B9B9B" 5082 stroke-linecap="round" 5083 stroke-linejoin="round" 5084 stroke-width="2" 5085 /> 5086 <path 5087 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 5088 stroke="#9B9B9B" 5089 stroke-linecap="round" 5090 stroke-linejoin="round" 5091 stroke-width="2" 5092 /> 5093 </svg> 5094 </span> 5095 </a> 5096 </div> 5097 </h3> 5098 <p 5099 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 5100 data-text="true" 5101 > 5102 <span> 5103 Returns whether the pedometer is enabled on the device. 5104 </span> 5105 </p> 5106 <div> 5107 <h4 5108 class=" css-1j2s5xo-h4-h4-STYLES_H4" 5109 data-components-heading="true" 5110 data-heading="true" 5111 > 5112 <div 5113 class="css-1rh3o5q-STYLES_PERMALINK" 5114 > 5115 <span 5116 class="css-zonpcr-STYLES_PERMALINK_TARGET" 5117 id="returns-2" 5118 /> 5119 <a 5120 class="css-15lh5hg-STYLES_PERMALINK_LINK" 5121 href="#returns-2" 5122 > 5123 <span 5124 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 5125 > 5126 Returns 5127 </span> 5128 <span 5129 class="css-10vdcw8-STYLES_PERMALINK_ICON" 5130 > 5131 <svg 5132 aria-label="permalink" 5133 class="anchor-icon" 5134 fill="none" 5135 height="24" 5136 viewBox="0 0 24 24" 5137 width="24" 5138 xmlns="http://www.w3.org/2000/svg" 5139 > 5140 <path 5141 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 5142 stroke="#9B9B9B" 5143 stroke-linecap="round" 5144 stroke-linejoin="round" 5145 stroke-width="2" 5146 /> 5147 <path 5148 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 5149 stroke="#9B9B9B" 5150 stroke-linecap="round" 5151 stroke-linejoin="round" 5152 stroke-width="2" 5153 /> 5154 </svg> 5155 </span> 5156 </a> 5157 </div> 5158 </h4> 5159 <ul 5160 class="css-1a9yu92-paragraph-STYLES_UNORDERED_LIST-UL" 5161 data-text="true" 5162 > 5163 <li 5164 class="docs-list-item css-npeppb-STYLES_LIST_ITEM-STYLE_RETURN_LIST-LI" 5165 > 5166 <code 5167 class="inline css-nuv12a-STYLES_INLINE_CODE" 5168 > 5169 <a 5170 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 5171 href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" 5172 rel="noopener noreferrer" 5173 > 5174 Promise 5175 </a> 5176 < 5177 <span> 5178 boolean 5179 </span> 5180 > 5181 </code> 5182 </li> 5183 </ul> 5184 <p 5185 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 5186 data-text="true" 5187 > 5188 <span> 5189 Returns a promise that fulfills with a 5190 </span> 5191 <code 5192 class="inline css-nuv12a-STYLES_INLINE_CODE" 5193 > 5194 boolean 5195 </code> 5196 <span> 5197 , indicating whether the pedometer is 5198available on this device. 5199 </span> 5200 </p> 5201 </div> 5202 <hr /> 5203 </div> 5204 <div> 5205 <h3 5206 class="css-icxoph-h3-h3-STYLES_H3" 5207 data-heading="true" 5208 > 5209 <div 5210 class="css-1rh3o5q-STYLES_PERMALINK" 5211 > 5212 <span 5213 class="css-zonpcr-STYLES_PERMALINK_TARGET" 5214 id="requestpermissionsasync" 5215 /> 5216 <a 5217 class="css-15lh5hg-STYLES_PERMALINK_LINK" 5218 href="#requestpermissionsasync" 5219 > 5220 <span 5221 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 5222 > 5223 <code 5224 class="inline css-nuv12a-STYLES_INLINE_CODE" 5225 > 5226 5227 requestPermissionsAsync() 5228 </code> 5229 </span> 5230 <span 5231 class="css-10vdcw8-STYLES_PERMALINK_ICON" 5232 > 5233 <svg 5234 aria-label="permalink" 5235 class="anchor-icon" 5236 fill="none" 5237 height="24" 5238 viewBox="0 0 24 24" 5239 width="24" 5240 xmlns="http://www.w3.org/2000/svg" 5241 > 5242 <path 5243 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 5244 stroke="#9B9B9B" 5245 stroke-linecap="round" 5246 stroke-linejoin="round" 5247 stroke-width="2" 5248 /> 5249 <path 5250 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 5251 stroke="#9B9B9B" 5252 stroke-linecap="round" 5253 stroke-linejoin="round" 5254 stroke-width="2" 5255 /> 5256 </svg> 5257 </span> 5258 </a> 5259 </div> 5260 </h3> 5261 <div> 5262 <h4 5263 class=" css-1j2s5xo-h4-h4-STYLES_H4" 5264 data-components-heading="true" 5265 data-heading="true" 5266 > 5267 <div 5268 class="css-1rh3o5q-STYLES_PERMALINK" 5269 > 5270 <span 5271 class="css-zonpcr-STYLES_PERMALINK_TARGET" 5272 id="returns-3" 5273 /> 5274 <a 5275 class="css-15lh5hg-STYLES_PERMALINK_LINK" 5276 href="#returns-3" 5277 > 5278 <span 5279 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 5280 > 5281 Returns 5282 </span> 5283 <span 5284 class="css-10vdcw8-STYLES_PERMALINK_ICON" 5285 > 5286 <svg 5287 aria-label="permalink" 5288 class="anchor-icon" 5289 fill="none" 5290 height="24" 5291 viewBox="0 0 24 24" 5292 width="24" 5293 xmlns="http://www.w3.org/2000/svg" 5294 > 5295 <path 5296 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 5297 stroke="#9B9B9B" 5298 stroke-linecap="round" 5299 stroke-linejoin="round" 5300 stroke-width="2" 5301 /> 5302 <path 5303 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 5304 stroke="#9B9B9B" 5305 stroke-linecap="round" 5306 stroke-linejoin="round" 5307 stroke-width="2" 5308 /> 5309 </svg> 5310 </span> 5311 </a> 5312 </div> 5313 </h4> 5314 <ul 5315 class="css-1a9yu92-paragraph-STYLES_UNORDERED_LIST-UL" 5316 data-text="true" 5317 > 5318 <li 5319 class="docs-list-item css-npeppb-STYLES_LIST_ITEM-STYLE_RETURN_LIST-LI" 5320 > 5321 <code 5322 class="inline css-nuv12a-STYLES_INLINE_CODE" 5323 > 5324 <a 5325 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 5326 href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" 5327 rel="noopener noreferrer" 5328 > 5329 Promise 5330 </a> 5331 < 5332 <span> 5333 <a 5334 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 5335 href="/#permissionresponse" 5336 > 5337 PermissionResponse 5338 </a> 5339 </span> 5340 > 5341 </code> 5342 </li> 5343 </ul> 5344 </div> 5345 <hr /> 5346 </div> 5347 <div> 5348 <h3 5349 class="css-icxoph-h3-h3-STYLES_H3" 5350 data-heading="true" 5351 > 5352 <div 5353 class="css-1rh3o5q-STYLES_PERMALINK" 5354 > 5355 <span 5356 class="css-zonpcr-STYLES_PERMALINK_TARGET" 5357 id="watchstepcountcallback" 5358 /> 5359 <a 5360 class="css-15lh5hg-STYLES_PERMALINK_LINK" 5361 href="#watchstepcountcallback" 5362 > 5363 <span 5364 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 5365 > 5366 <code 5367 class="inline css-nuv12a-STYLES_INLINE_CODE" 5368 > 5369 5370 watchStepCount(callback) 5371 </code> 5372 </span> 5373 <span 5374 class="css-10vdcw8-STYLES_PERMALINK_ICON" 5375 > 5376 <svg 5377 aria-label="permalink" 5378 class="anchor-icon" 5379 fill="none" 5380 height="24" 5381 viewBox="0 0 24 24" 5382 width="24" 5383 xmlns="http://www.w3.org/2000/svg" 5384 > 5385 <path 5386 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 5387 stroke="#9B9B9B" 5388 stroke-linecap="round" 5389 stroke-linejoin="round" 5390 stroke-width="2" 5391 /> 5392 <path 5393 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 5394 stroke="#9B9B9B" 5395 stroke-linecap="round" 5396 stroke-linejoin="round" 5397 stroke-width="2" 5398 /> 5399 </svg> 5400 </span> 5401 </a> 5402 </div> 5403 </h3> 5404 <h4 5405 class=" css-1j2s5xo-h4-h4-STYLES_H4" 5406 data-components-heading="true" 5407 data-heading="true" 5408 > 5409 <div 5410 class="css-1rh3o5q-STYLES_PERMALINK" 5411 > 5412 <span 5413 class="css-zonpcr-STYLES_PERMALINK_TARGET" 5414 id="arguments-1" 5415 /> 5416 <a 5417 class="css-15lh5hg-STYLES_PERMALINK_LINK" 5418 href="#arguments-1" 5419 > 5420 <span 5421 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 5422 > 5423 Arguments 5424 </span> 5425 <span 5426 class="css-10vdcw8-STYLES_PERMALINK_ICON" 5427 > 5428 <svg 5429 aria-label="permalink" 5430 class="anchor-icon" 5431 fill="none" 5432 height="24" 5433 viewBox="0 0 24 24" 5434 width="24" 5435 xmlns="http://www.w3.org/2000/svg" 5436 > 5437 <path 5438 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 5439 stroke="#9B9B9B" 5440 stroke-linecap="round" 5441 stroke-linejoin="round" 5442 stroke-width="2" 5443 /> 5444 <path 5445 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 5446 stroke="#9B9B9B" 5447 stroke-linecap="round" 5448 stroke-linejoin="round" 5449 stroke-width="2" 5450 /> 5451 </svg> 5452 </span> 5453 </a> 5454 </div> 5455 </h4> 5456 <ul 5457 class="css-1a9yu92-paragraph-STYLES_UNORDERED_LIST-UL" 5458 data-text="true" 5459 > 5460 <li 5461 class="docs-list-item css-aulog8-STYLES_LIST_ITEM-LI" 5462 > 5463 <strong 5464 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 5465 > 5466 callback 5467 ( 5468 <code 5469 class="inline css-nuv12a-STYLES_INLINE_CODE" 5470 > 5471 <a 5472 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 5473 href="/#pedometerupdatecallback" 5474 > 5475 PedometerUpdateCallback 5476 </a> 5477 </code> 5478 ) 5479 </strong> 5480 - 5481 <span> 5482 <span> 5483 A callback that is invoked when new step count data is available. The callback is 5484provided with a single argument that is 5485 </span> 5486 <a 5487 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 5488 href="/#pedometerresult" 5489 > 5490 <code 5491 class="inline css-nuv12a-STYLES_INLINE_CODE" 5492 > 5493 PedometerResult 5494 </code> 5495 </a> 5496 <span> 5497 . 5498 </span> 5499 </span> 5500 </li> 5501 </ul> 5502 <p 5503 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 5504 data-text="true" 5505 > 5506 <span> 5507 Subscribe to pedometer updates. 5508 </span> 5509 </p> 5510 <div> 5511 <h4 5512 class=" css-1j2s5xo-h4-h4-STYLES_H4" 5513 data-components-heading="true" 5514 data-heading="true" 5515 > 5516 <div 5517 class="css-1rh3o5q-STYLES_PERMALINK" 5518 > 5519 <span 5520 class="css-zonpcr-STYLES_PERMALINK_TARGET" 5521 id="returns-4" 5522 /> 5523 <a 5524 class="css-15lh5hg-STYLES_PERMALINK_LINK" 5525 href="#returns-4" 5526 > 5527 <span 5528 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 5529 > 5530 Returns 5531 </span> 5532 <span 5533 class="css-10vdcw8-STYLES_PERMALINK_ICON" 5534 > 5535 <svg 5536 aria-label="permalink" 5537 class="anchor-icon" 5538 fill="none" 5539 height="24" 5540 viewBox="0 0 24 24" 5541 width="24" 5542 xmlns="http://www.w3.org/2000/svg" 5543 > 5544 <path 5545 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 5546 stroke="#9B9B9B" 5547 stroke-linecap="round" 5548 stroke-linejoin="round" 5549 stroke-width="2" 5550 /> 5551 <path 5552 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 5553 stroke="#9B9B9B" 5554 stroke-linecap="round" 5555 stroke-linejoin="round" 5556 stroke-width="2" 5557 /> 5558 </svg> 5559 </span> 5560 </a> 5561 </div> 5562 </h4> 5563 <ul 5564 class="css-1a9yu92-paragraph-STYLES_UNORDERED_LIST-UL" 5565 data-text="true" 5566 > 5567 <li 5568 class="docs-list-item css-npeppb-STYLES_LIST_ITEM-STYLE_RETURN_LIST-LI" 5569 > 5570 <code 5571 class="inline css-nuv12a-STYLES_INLINE_CODE" 5572 > 5573 <a 5574 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 5575 href="/#subscription" 5576 > 5577 Subscription 5578 </a> 5579 </code> 5580 </li> 5581 </ul> 5582 <p 5583 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 5584 data-text="true" 5585 > 5586 <span> 5587 Returns a 5588 </span> 5589 <a 5590 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 5591 href="/#subscription" 5592 > 5593 <code 5594 class="inline css-nuv12a-STYLES_INLINE_CODE" 5595 > 5596 Subscription 5597 </code> 5598 </a> 5599 <span> 5600 that enables you to call 5601 5602 </span> 5603 <code 5604 class="inline css-nuv12a-STYLES_INLINE_CODE" 5605 > 5606 remove() 5607 </code> 5608 <span> 5609 when you would like to unsubscribe the listener. 5610 </span> 5611 </p> 5612 </div> 5613 </div> 5614 <h2 5615 class="css-1v5aebx-h2-h2-STYLES_H2" 5616 data-heading="true" 5617 > 5618 <div 5619 class="css-1rh3o5q-STYLES_PERMALINK" 5620 > 5621 <span 5622 class="css-zonpcr-STYLES_PERMALINK_TARGET" 5623 id="types" 5624 /> 5625 <a 5626 class="css-15lh5hg-STYLES_PERMALINK_LINK" 5627 href="#types" 5628 > 5629 <span 5630 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 5631 > 5632 Types 5633 </span> 5634 <span 5635 class="css-10vdcw8-STYLES_PERMALINK_ICON" 5636 > 5637 <svg 5638 aria-label="permalink" 5639 class="anchor-icon" 5640 fill="none" 5641 height="24" 5642 viewBox="0 0 24 24" 5643 width="24" 5644 xmlns="http://www.w3.org/2000/svg" 5645 > 5646 <path 5647 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 5648 stroke="#9B9B9B" 5649 stroke-linecap="round" 5650 stroke-linejoin="round" 5651 stroke-width="2" 5652 /> 5653 <path 5654 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 5655 stroke="#9B9B9B" 5656 stroke-linecap="round" 5657 stroke-linejoin="round" 5658 stroke-width="2" 5659 /> 5660 </svg> 5661 </span> 5662 </a> 5663 </div> 5664 </h2> 5665 <div> 5666 <h3 5667 class="css-icxoph-h3-h3-STYLES_H3" 5668 data-heading="true" 5669 > 5670 <div 5671 class="css-1rh3o5q-STYLES_PERMALINK" 5672 > 5673 <span 5674 class="css-zonpcr-STYLES_PERMALINK_TARGET" 5675 id="pedometerresult" 5676 /> 5677 <a 5678 class="css-15lh5hg-STYLES_PERMALINK_LINK" 5679 href="#pedometerresult" 5680 > 5681 <span 5682 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 5683 > 5684 <code 5685 class="inline css-nuv12a-STYLES_INLINE_CODE" 5686 > 5687 PedometerResult 5688 5689 </code> 5690 </span> 5691 <span 5692 class="css-10vdcw8-STYLES_PERMALINK_ICON" 5693 > 5694 <svg 5695 aria-label="permalink" 5696 class="anchor-icon" 5697 fill="none" 5698 height="24" 5699 viewBox="0 0 24 24" 5700 width="24" 5701 xmlns="http://www.w3.org/2000/svg" 5702 > 5703 <path 5704 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 5705 stroke="#9B9B9B" 5706 stroke-linecap="round" 5707 stroke-linejoin="round" 5708 stroke-width="2" 5709 /> 5710 <path 5711 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 5712 stroke="#9B9B9B" 5713 stroke-linecap="round" 5714 stroke-linejoin="round" 5715 stroke-width="2" 5716 /> 5717 </svg> 5718 </span> 5719 </a> 5720 </div> 5721 </h3> 5722 <table> 5723 <thead> 5724 <tr> 5725 <th> 5726 Name 5727 </th> 5728 <th> 5729 Type 5730 </th> 5731 <th> 5732 Description 5733 </th> 5734 </tr> 5735 </thead> 5736 <tbody> 5737 <tr> 5738 <td> 5739 <strong 5740 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 5741 > 5742 steps 5743 </strong> 5744 </td> 5745 <td> 5746 <code 5747 class="inline css-nuv12a-STYLES_INLINE_CODE" 5748 > 5749 number 5750 </code> 5751 </td> 5752 <td> 5753 <span> 5754 <span> 5755 Number of steps taken between the given dates. 5756 </span> 5757 </span> 5758 </td> 5759 </tr> 5760 </tbody> 5761 </table> 5762 </div> 5763 <div> 5764 <h3 5765 class="css-icxoph-h3-h3-STYLES_H3" 5766 data-heading="true" 5767 > 5768 <div 5769 class="css-1rh3o5q-STYLES_PERMALINK" 5770 > 5771 <span 5772 class="css-zonpcr-STYLES_PERMALINK_TARGET" 5773 id="pedometerupdatecallback" 5774 /> 5775 <a 5776 class="css-15lh5hg-STYLES_PERMALINK_LINK" 5777 href="#pedometerupdatecallback" 5778 > 5779 <span 5780 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 5781 > 5782 <code 5783 class="inline css-nuv12a-STYLES_INLINE_CODE" 5784 > 5785 PedometerUpdateCallback 5786 () 5787 </code> 5788 </span> 5789 <span 5790 class="css-10vdcw8-STYLES_PERMALINK_ICON" 5791 > 5792 <svg 5793 aria-label="permalink" 5794 class="anchor-icon" 5795 fill="none" 5796 height="24" 5797 viewBox="0 0 24 24" 5798 width="24" 5799 xmlns="http://www.w3.org/2000/svg" 5800 > 5801 <path 5802 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 5803 stroke="#9B9B9B" 5804 stroke-linecap="round" 5805 stroke-linejoin="round" 5806 stroke-width="2" 5807 /> 5808 <path 5809 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 5810 stroke="#9B9B9B" 5811 stroke-linecap="round" 5812 stroke-linejoin="round" 5813 stroke-width="2" 5814 /> 5815 </svg> 5816 </span> 5817 </a> 5818 </div> 5819 </h3> 5820 <div> 5821 <h4 5822 class=" css-1j2s5xo-h4-h4-STYLES_H4" 5823 data-components-heading="true" 5824 data-heading="true" 5825 > 5826 <div 5827 class="css-1rh3o5q-STYLES_PERMALINK" 5828 > 5829 <span 5830 class="css-zonpcr-STYLES_PERMALINK_TARGET" 5831 id="arguments-2" 5832 /> 5833 <a 5834 class="css-15lh5hg-STYLES_PERMALINK_LINK" 5835 href="#arguments-2" 5836 > 5837 <span 5838 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 5839 > 5840 Arguments 5841 </span> 5842 <span 5843 class="css-10vdcw8-STYLES_PERMALINK_ICON" 5844 > 5845 <svg 5846 aria-label="permalink" 5847 class="anchor-icon" 5848 fill="none" 5849 height="24" 5850 viewBox="0 0 24 24" 5851 width="24" 5852 xmlns="http://www.w3.org/2000/svg" 5853 > 5854 <path 5855 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 5856 stroke="#9B9B9B" 5857 stroke-linecap="round" 5858 stroke-linejoin="round" 5859 stroke-width="2" 5860 /> 5861 <path 5862 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 5863 stroke="#9B9B9B" 5864 stroke-linecap="round" 5865 stroke-linejoin="round" 5866 stroke-width="2" 5867 /> 5868 </svg> 5869 </span> 5870 </a> 5871 </div> 5872 </h4> 5873 <ul 5874 class="css-1a9yu92-paragraph-STYLES_UNORDERED_LIST-UL" 5875 data-text="true" 5876 > 5877 <li 5878 class="docs-list-item css-aulog8-STYLES_LIST_ITEM-LI" 5879 > 5880 <strong 5881 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 5882 > 5883 result 5884 ( 5885 <code 5886 class="inline css-nuv12a-STYLES_INLINE_CODE" 5887 > 5888 <a 5889 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 5890 href="/#pedometerresult" 5891 > 5892 PedometerResult 5893 </a> 5894 </code> 5895 ) 5896 </strong> 5897 </li> 5898 </ul> 5899 </div> 5900 </div> 5901 <div> 5902 <h3 5903 class="css-icxoph-h3-h3-STYLES_H3" 5904 data-heading="true" 5905 > 5906 <div 5907 class="css-1rh3o5q-STYLES_PERMALINK" 5908 > 5909 <span 5910 class="css-zonpcr-STYLES_PERMALINK_TARGET" 5911 id="permissionexpiration" 5912 /> 5913 <a 5914 class="css-15lh5hg-STYLES_PERMALINK_LINK" 5915 href="#permissionexpiration" 5916 > 5917 <span 5918 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 5919 > 5920 <code 5921 class="inline css-nuv12a-STYLES_INLINE_CODE" 5922 > 5923 PermissionExpiration 5924 </code> 5925 </span> 5926 <span 5927 class="css-10vdcw8-STYLES_PERMALINK_ICON" 5928 > 5929 <svg 5930 aria-label="permalink" 5931 class="anchor-icon" 5932 fill="none" 5933 height="24" 5934 viewBox="0 0 24 24" 5935 width="24" 5936 xmlns="http://www.w3.org/2000/svg" 5937 > 5938 <path 5939 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 5940 stroke="#9B9B9B" 5941 stroke-linecap="round" 5942 stroke-linejoin="round" 5943 stroke-width="2" 5944 /> 5945 <path 5946 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 5947 stroke="#9B9B9B" 5948 stroke-linecap="round" 5949 stroke-linejoin="round" 5950 stroke-width="2" 5951 /> 5952 </svg> 5953 </span> 5954 </a> 5955 </div> 5956 </h3> 5957 <p 5958 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 5959 data-text="true" 5960 > 5961 Acceptable values are: 5962 5963 <span> 5964 <code 5965 class="inline css-nuv12a-STYLES_INLINE_CODE" 5966 > 5967 'never' 5968 </code> 5969 , 5970 </span> 5971 <span> 5972 <code 5973 class="inline css-nuv12a-STYLES_INLINE_CODE" 5974 > 5975 number 5976 </code> 5977 . 5978 </span> 5979 </p> 5980 </div> 5981 <div> 5982 <h3 5983 class="css-icxoph-h3-h3-STYLES_H3" 5984 data-heading="true" 5985 > 5986 <div 5987 class="css-1rh3o5q-STYLES_PERMALINK" 5988 > 5989 <span 5990 class="css-zonpcr-STYLES_PERMALINK_TARGET" 5991 id="subscription" 5992 /> 5993 <a 5994 class="css-15lh5hg-STYLES_PERMALINK_LINK" 5995 href="#subscription" 5996 > 5997 <span 5998 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 5999 > 6000 <code 6001 class="inline css-nuv12a-STYLES_INLINE_CODE" 6002 > 6003 Subscription 6004 6005 </code> 6006 </span> 6007 <span 6008 class="css-10vdcw8-STYLES_PERMALINK_ICON" 6009 > 6010 <svg 6011 aria-label="permalink" 6012 class="anchor-icon" 6013 fill="none" 6014 height="24" 6015 viewBox="0 0 24 24" 6016 width="24" 6017 xmlns="http://www.w3.org/2000/svg" 6018 > 6019 <path 6020 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 6021 stroke="#9B9B9B" 6022 stroke-linecap="round" 6023 stroke-linejoin="round" 6024 stroke-width="2" 6025 /> 6026 <path 6027 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 6028 stroke="#9B9B9B" 6029 stroke-linecap="round" 6030 stroke-linejoin="round" 6031 stroke-width="2" 6032 /> 6033 </svg> 6034 </span> 6035 </a> 6036 </div> 6037 </h3> 6038 <table> 6039 <thead> 6040 <tr> 6041 <th> 6042 Name 6043 </th> 6044 <th> 6045 Type 6046 </th> 6047 <th> 6048 Description 6049 </th> 6050 </tr> 6051 </thead> 6052 <tbody> 6053 <tr> 6054 <td> 6055 <strong 6056 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 6057 > 6058 remove 6059 </strong> 6060 </td> 6061 <td> 6062 <code 6063 class="inline css-nuv12a-STYLES_INLINE_CODE" 6064 > 6065 () => 6066 6067 void 6068 </code> 6069 </td> 6070 <td> 6071 <span> 6072 <span> 6073 A method to unsubscribe the listener. 6074 </span> 6075 </span> 6076 </td> 6077 </tr> 6078 </tbody> 6079 </table> 6080 </div> 6081 <h2 6082 class="css-1v5aebx-h2-h2-STYLES_H2" 6083 data-heading="true" 6084 > 6085 <div 6086 class="css-1rh3o5q-STYLES_PERMALINK" 6087 > 6088 <span 6089 class="css-zonpcr-STYLES_PERMALINK_TARGET" 6090 id="interfaces" 6091 /> 6092 <a 6093 class="css-15lh5hg-STYLES_PERMALINK_LINK" 6094 href="#interfaces" 6095 > 6096 <span 6097 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 6098 > 6099 Interfaces 6100 </span> 6101 <span 6102 class="css-10vdcw8-STYLES_PERMALINK_ICON" 6103 > 6104 <svg 6105 aria-label="permalink" 6106 class="anchor-icon" 6107 fill="none" 6108 height="24" 6109 viewBox="0 0 24 24" 6110 width="24" 6111 xmlns="http://www.w3.org/2000/svg" 6112 > 6113 <path 6114 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 6115 stroke="#9B9B9B" 6116 stroke-linecap="round" 6117 stroke-linejoin="round" 6118 stroke-width="2" 6119 /> 6120 <path 6121 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 6122 stroke="#9B9B9B" 6123 stroke-linecap="round" 6124 stroke-linejoin="round" 6125 stroke-width="2" 6126 /> 6127 </svg> 6128 </span> 6129 </a> 6130 </div> 6131 </h2> 6132 <div> 6133 <h3 6134 class="css-icxoph-h3-h3-STYLES_H3" 6135 data-heading="true" 6136 > 6137 <div 6138 class="css-1rh3o5q-STYLES_PERMALINK" 6139 > 6140 <span 6141 class="css-zonpcr-STYLES_PERMALINK_TARGET" 6142 id="permissionresponse" 6143 /> 6144 <a 6145 class="css-15lh5hg-STYLES_PERMALINK_LINK" 6146 href="#permissionresponse" 6147 > 6148 <span 6149 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 6150 > 6151 <code 6152 class="inline css-nuv12a-STYLES_INLINE_CODE" 6153 > 6154 PermissionResponse 6155 </code> 6156 </span> 6157 <span 6158 class="css-10vdcw8-STYLES_PERMALINK_ICON" 6159 > 6160 <svg 6161 aria-label="permalink" 6162 class="anchor-icon" 6163 fill="none" 6164 height="24" 6165 viewBox="0 0 24 24" 6166 width="24" 6167 xmlns="http://www.w3.org/2000/svg" 6168 > 6169 <path 6170 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 6171 stroke="#9B9B9B" 6172 stroke-linecap="round" 6173 stroke-linejoin="round" 6174 stroke-width="2" 6175 /> 6176 <path 6177 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 6178 stroke="#9B9B9B" 6179 stroke-linecap="round" 6180 stroke-linejoin="round" 6181 stroke-width="2" 6182 /> 6183 </svg> 6184 </span> 6185 </a> 6186 </div> 6187 </h3> 6188 <table> 6189 <thead> 6190 <tr> 6191 <th> 6192 Name 6193 </th> 6194 <th> 6195 Type 6196 </th> 6197 <th> 6198 Description 6199 </th> 6200 </tr> 6201 </thead> 6202 <tbody> 6203 <tr> 6204 <td> 6205 <strong 6206 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 6207 > 6208 canAskAgain 6209 6210 </strong> 6211 </td> 6212 <td> 6213 <code 6214 class="inline css-nuv12a-STYLES_INLINE_CODE" 6215 > 6216 boolean 6217 </code> 6218 </td> 6219 <td> 6220 - 6221 </td> 6222 </tr> 6223 <tr> 6224 <td> 6225 <strong 6226 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 6227 > 6228 expires 6229 6230 </strong> 6231 </td> 6232 <td> 6233 <code 6234 class="inline css-nuv12a-STYLES_INLINE_CODE" 6235 > 6236 <a 6237 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 6238 href="/#permissionexpiration" 6239 > 6240 PermissionExpiration 6241 </a> 6242 </code> 6243 </td> 6244 <td> 6245 - 6246 </td> 6247 </tr> 6248 <tr> 6249 <td> 6250 <strong 6251 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 6252 > 6253 granted 6254 6255 </strong> 6256 </td> 6257 <td> 6258 <code 6259 class="inline css-nuv12a-STYLES_INLINE_CODE" 6260 > 6261 boolean 6262 </code> 6263 </td> 6264 <td> 6265 - 6266 </td> 6267 </tr> 6268 <tr> 6269 <td> 6270 <strong 6271 class="css-kkqcgt-paragraph-STYLES_BOLD_PARAGRAPH" 6272 > 6273 status 6274 6275 </strong> 6276 </td> 6277 <td> 6278 <code 6279 class="inline css-nuv12a-STYLES_INLINE_CODE" 6280 > 6281 <a 6282 class="css-12zqqiz-STYLES_EXTERNAL_LINK" 6283 href="/#permissionstatus" 6284 > 6285 PermissionStatus 6286 </a> 6287 </code> 6288 </td> 6289 <td> 6290 - 6291 </td> 6292 </tr> 6293 </tbody> 6294 </table> 6295 </div> 6296 <h2 6297 class="css-1v5aebx-h2-h2-STYLES_H2" 6298 data-heading="true" 6299 > 6300 <div 6301 class="css-1rh3o5q-STYLES_PERMALINK" 6302 > 6303 <span 6304 class="css-zonpcr-STYLES_PERMALINK_TARGET" 6305 id="enums" 6306 /> 6307 <a 6308 class="css-15lh5hg-STYLES_PERMALINK_LINK" 6309 href="#enums" 6310 > 6311 <span 6312 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 6313 > 6314 Enums 6315 </span> 6316 <span 6317 class="css-10vdcw8-STYLES_PERMALINK_ICON" 6318 > 6319 <svg 6320 aria-label="permalink" 6321 class="anchor-icon" 6322 fill="none" 6323 height="24" 6324 viewBox="0 0 24 24" 6325 width="24" 6326 xmlns="http://www.w3.org/2000/svg" 6327 > 6328 <path 6329 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 6330 stroke="#9B9B9B" 6331 stroke-linecap="round" 6332 stroke-linejoin="round" 6333 stroke-width="2" 6334 /> 6335 <path 6336 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 6337 stroke="#9B9B9B" 6338 stroke-linecap="round" 6339 stroke-linejoin="round" 6340 stroke-width="2" 6341 /> 6342 </svg> 6343 </span> 6344 </a> 6345 </div> 6346 </h2> 6347 <div> 6348 <h3 6349 class="css-icxoph-h3-h3-STYLES_H3" 6350 data-heading="true" 6351 > 6352 <div 6353 class="css-1rh3o5q-STYLES_PERMALINK" 6354 > 6355 <span 6356 class="css-zonpcr-STYLES_PERMALINK_TARGET" 6357 id="permissionstatus" 6358 /> 6359 <a 6360 class="css-15lh5hg-STYLES_PERMALINK_LINK" 6361 href="#permissionstatus" 6362 > 6363 <span 6364 class="css-1icvi79-STYLED_PERMALINK_CONTENT" 6365 > 6366 <code 6367 class="inline css-nuv12a-STYLES_INLINE_CODE" 6368 > 6369 PermissionStatus 6370 </code> 6371 </span> 6372 <span 6373 class="css-10vdcw8-STYLES_PERMALINK_ICON" 6374 > 6375 <svg 6376 aria-label="permalink" 6377 class="anchor-icon" 6378 fill="none" 6379 height="24" 6380 viewBox="0 0 24 24" 6381 width="24" 6382 xmlns="http://www.w3.org/2000/svg" 6383 > 6384 <path 6385 d="M10 13a5 5 0 007.54.54l3-3a5 5 0 00-7.07-7.07l-1.72 1.71" 6386 stroke="#9B9B9B" 6387 stroke-linecap="round" 6388 stroke-linejoin="round" 6389 stroke-width="2" 6390 /> 6391 <path 6392 d="M14 11a5 5 0 00-7.54-.54l-3 3a5 5 0 007.07 7.07l1.71-1.71" 6393 stroke="#9B9B9B" 6394 stroke-linecap="round" 6395 stroke-linejoin="round" 6396 stroke-width="2" 6397 /> 6398 </svg> 6399 </span> 6400 </a> 6401 </div> 6402 </h3> 6403 <ul 6404 class="css-1a9yu92-paragraph-STYLES_UNORDERED_LIST-UL" 6405 data-text="true" 6406 > 6407 <li 6408 class="docs-list-item css-aulog8-STYLES_LIST_ITEM-LI" 6409 > 6410 <code 6411 class="inline css-nuv12a-STYLES_INLINE_CODE" 6412 > 6413 PermissionStatus 6414 . 6415 DENIED 6416 </code> 6417 : 6418 <code 6419 class="inline css-nuv12a-STYLES_INLINE_CODE" 6420 > 6421 "denied" 6422 </code> 6423 </li> 6424 <li 6425 class="docs-list-item css-aulog8-STYLES_LIST_ITEM-LI" 6426 > 6427 <code 6428 class="inline css-nuv12a-STYLES_INLINE_CODE" 6429 > 6430 PermissionStatus 6431 . 6432 GRANTED 6433 </code> 6434 : 6435 <code 6436 class="inline css-nuv12a-STYLES_INLINE_CODE" 6437 > 6438 "granted" 6439 </code> 6440 </li> 6441 <li 6442 class="docs-list-item css-aulog8-STYLES_LIST_ITEM-LI" 6443 > 6444 <code 6445 class="inline css-nuv12a-STYLES_INLINE_CODE" 6446 > 6447 PermissionStatus 6448 . 6449 UNDETERMINED 6450 </code> 6451 : 6452 <code 6453 class="inline css-nuv12a-STYLES_INLINE_CODE" 6454 > 6455 "undetermined" 6456 </code> 6457 </li> 6458 </ul> 6459 </div> 6460</div> 6461`; 6462 6463exports[`APISection no data 1`] = ` 6464<div> 6465 <p 6466 class="css-1xnkoxs-paragraph-STYLES_PARAGRAPH" 6467 data-text="true" 6468 > 6469 No API data file found, sorry! 6470 </p> 6471</div> 6472`; 6473