github.com/primecitizens/pcz/std@v0.2.1/plat/js/webext/identity/apis.js.wasm.yaml (about)

     1  - File: webext/chrome/identity.idl
     2    Dict:
     3      Name: AccountInfo
     4      ExtAttrs:
     5        - Name: Namespace
     6          Values:
     7            - chrome
     8            - identity
     9      Fields:
    10        - Name: id
    11          Type:
    12            Name: DOMString
    13            ExtAttrs:
    14              - Name: Namespace
    15                Values:
    16                  - chrome
    17                  - identity
    18          ExtAttrs:
    19            - Name: Namespace
    20              Values:
    21                - chrome
    22                - identity
    23  - File: webext/chrome/identity.idl
    24    Enum:
    25      Name: AccountStatus
    26      Values:
    27        - SYNC
    28        - ANY
    29      ExtAttrs:
    30        - Name: Namespace
    31          Values:
    32            - chrome
    33            - identity
    34  - File: webext/chrome/identity.idl
    35    Callback:
    36      Name: ClearAllCachedAuthTokensCallback
    37      Returns:
    38        - Name: void
    39          ExtAttrs:
    40            - Name: Namespace
    41              Values:
    42                - chrome
    43                - identity
    44      ExtAttrs:
    45        - Name: Namespace
    46          Values:
    47            - chrome
    48            - identity
    49  - File: webext/chrome/identity.idl
    50    Callback:
    51      Name: GetAccountsCallback
    52      Args:
    53        - Name: accounts
    54          Type:
    55            Name: sequence
    56            Params:
    57              - Name: AccountInfo
    58                ExtAttrs:
    59                  - Name: Namespace
    60                    Values:
    61                      - chrome
    62                      - identity
    63            ExtAttrs:
    64              - Name: Namespace
    65                Values:
    66                  - chrome
    67                  - identity
    68          ExtAttrs:
    69            - Name: Namespace
    70              Values:
    71                - chrome
    72                - identity
    73      Returns:
    74        - Name: void
    75          ExtAttrs:
    76            - Name: Namespace
    77              Values:
    78                - chrome
    79                - identity
    80      ExtAttrs:
    81        - Name: Namespace
    82          Values:
    83            - chrome
    84            - identity
    85  - File: webext/chrome/identity.idl
    86    Callback:
    87      Name: GetAuthTokenCallback
    88      Args:
    89        - Name: result
    90          Type:
    91            Name: GetAuthTokenResult
    92            ExtAttrs:
    93              - Name: Namespace
    94                Values:
    95                  - chrome
    96                  - identity
    97          ExtAttrs:
    98            - Name: Namespace
    99              Values:
   100                - chrome
   101                - identity
   102      Returns:
   103        - Name: void
   104          ExtAttrs:
   105            - Name: Namespace
   106              Values:
   107                - chrome
   108                - identity
   109      ExtAttrs:
   110        - Name: Namespace
   111          Values:
   112            - chrome
   113            - identity
   114  - File: webext/chrome/identity.idl
   115    Dict:
   116      Name: GetAuthTokenResult
   117      ExtAttrs:
   118        - Name: Namespace
   119          Values:
   120            - chrome
   121            - identity
   122      Fields:
   123        - Name: token
   124          Type:
   125            Name: DOMString
   126            Nullable: true
   127            ExtAttrs:
   128              - Name: Namespace
   129                Values:
   130                  - chrome
   131                  - identity
   132          ExtAttrs:
   133            - Name: Namespace
   134              Values:
   135                - chrome
   136                - identity
   137        - Name: grantedScopes
   138          Type:
   139            Name: sequence
   140            Params:
   141              - Name: DOMString
   142                ExtAttrs:
   143                  - Name: Namespace
   144                    Values:
   145                      - chrome
   146                      - identity
   147            Nullable: true
   148            ExtAttrs:
   149              - Name: Namespace
   150                Values:
   151                  - chrome
   152                  - identity
   153          ExtAttrs:
   154            - Name: Namespace
   155              Values:
   156                - chrome
   157                - identity
   158  - File: webext/chrome/identity.idl
   159    Callback:
   160      Name: GetProfileUserInfoCallback
   161      Args:
   162        - Name: userInfo
   163          Type:
   164            Name: ProfileUserInfo
   165            ExtAttrs:
   166              - Name: Namespace
   167                Values:
   168                  - chrome
   169                  - identity
   170          ExtAttrs:
   171            - Name: Namespace
   172              Values:
   173                - chrome
   174                - identity
   175      Returns:
   176        - Name: void
   177          ExtAttrs:
   178            - Name: Namespace
   179              Values:
   180                - chrome
   181                - identity
   182      ExtAttrs:
   183        - Name: Namespace
   184          Values:
   185            - chrome
   186            - identity
   187  - File: webext/chrome/identity.idl
   188    Dict:
   189      Name: InvalidTokenDetails
   190      ExtAttrs:
   191        - Name: Namespace
   192          Values:
   193            - chrome
   194            - identity
   195      Fields:
   196        - Name: token
   197          Type:
   198            Name: DOMString
   199            ExtAttrs:
   200              - Name: Namespace
   201                Values:
   202                  - chrome
   203                  - identity
   204          ExtAttrs:
   205            - Name: Namespace
   206              Values:
   207                - chrome
   208                - identity
   209  - File: webext/chrome/identity.idl
   210    Callback:
   211      Name: InvalidateAuthTokenCallback
   212      Returns:
   213        - Name: void
   214          ExtAttrs:
   215            - Name: Namespace
   216              Values:
   217                - chrome
   218                - identity
   219      ExtAttrs:
   220        - Name: Namespace
   221          Values:
   222            - chrome
   223            - identity
   224  - File: webext/chrome/identity.idl
   225    Callback:
   226      Name: LaunchWebAuthFlowCallback
   227      Args:
   228        - Name: responseUrl
   229          Optional: true
   230          Type:
   231            Name: DOMString
   232            ExtAttrs:
   233              - Name: Namespace
   234                Values:
   235                  - chrome
   236                  - identity
   237          ExtAttrs:
   238            - Name: Namespace
   239              Values:
   240                - chrome
   241                - identity
   242      Returns:
   243        - Name: void
   244          ExtAttrs:
   245            - Name: Namespace
   246              Values:
   247                - chrome
   248                - identity
   249      ExtAttrs:
   250        - Name: Namespace
   251          Values:
   252            - chrome
   253            - identity
   254  - File: webext/chrome/identity.idl
   255    Dict:
   256      Name: ProfileDetails
   257      ExtAttrs:
   258        - Name: Namespace
   259          Values:
   260            - chrome
   261            - identity
   262      Fields:
   263        - Name: accountStatus
   264          Type:
   265            Name: AccountStatus
   266            Nullable: true
   267            ExtAttrs:
   268              - Name: Namespace
   269                Values:
   270                  - chrome
   271                  - identity
   272          ExtAttrs:
   273            - Name: Namespace
   274              Values:
   275                - chrome
   276                - identity
   277  - File: webext/chrome/identity.idl
   278    Dict:
   279      Name: ProfileUserInfo
   280      ExtAttrs:
   281        - Name: Namespace
   282          Values:
   283            - chrome
   284            - identity
   285      Fields:
   286        - Name: email
   287          Type:
   288            Name: DOMString
   289            ExtAttrs:
   290              - Name: Namespace
   291                Values:
   292                  - chrome
   293                  - identity
   294          ExtAttrs:
   295            - Name: Namespace
   296              Values:
   297                - chrome
   298                - identity
   299        - Name: id
   300          Type:
   301            Name: DOMString
   302            ExtAttrs:
   303              - Name: Namespace
   304                Values:
   305                  - chrome
   306                  - identity
   307          ExtAttrs:
   308            - Name: Namespace
   309              Values:
   310                - chrome
   311                - identity
   312  - File: webext/chrome/identity.idl
   313    Dict:
   314      Name: TokenDetails
   315      ExtAttrs:
   316        - Name: Namespace
   317          Values:
   318            - chrome
   319            - identity
   320      Fields:
   321        - Name: interactive
   322          Type:
   323            Name: boolean
   324            Nullable: true
   325            ExtAttrs:
   326              - Name: Namespace
   327                Values:
   328                  - chrome
   329                  - identity
   330          ExtAttrs:
   331            - Name: Namespace
   332              Values:
   333                - chrome
   334                - identity
   335        - Name: account
   336          Type:
   337            Name: AccountInfo
   338            Nullable: true
   339            ExtAttrs:
   340              - Name: Namespace
   341                Values:
   342                  - chrome
   343                  - identity
   344          ExtAttrs:
   345            - Name: Namespace
   346              Values:
   347                - chrome
   348                - identity
   349        - Name: scopes
   350          Type:
   351            Name: sequence
   352            Params:
   353              - Name: DOMString
   354                ExtAttrs:
   355                  - Name: Namespace
   356                    Values:
   357                      - chrome
   358                      - identity
   359            Nullable: true
   360            ExtAttrs:
   361              - Name: Namespace
   362                Values:
   363                  - chrome
   364                  - identity
   365          ExtAttrs:
   366            - Name: Namespace
   367              Values:
   368                - chrome
   369                - identity
   370        - Name: enableGranularPermissions
   371          Type:
   372            Name: boolean
   373            Nullable: true
   374            ExtAttrs:
   375              - Name: Namespace
   376                Values:
   377                  - chrome
   378                  - identity
   379          ExtAttrs:
   380            - Name: Namespace
   381              Values:
   382                - chrome
   383                - identity
   384  - File: webext/chrome/identity.idl
   385    Dict:
   386      Name: WebAuthFlowDetails
   387      ExtAttrs:
   388        - Name: Namespace
   389          Values:
   390            - chrome
   391            - identity
   392      Fields:
   393        - Name: url
   394          Type:
   395            Name: DOMString
   396            ExtAttrs:
   397              - Name: Namespace
   398                Values:
   399                  - chrome
   400                  - identity
   401          ExtAttrs:
   402            - Name: Namespace
   403              Values:
   404                - chrome
   405                - identity
   406        - Name: interactive
   407          Type:
   408            Name: boolean
   409            Nullable: true
   410            ExtAttrs:
   411              - Name: Namespace
   412                Values:
   413                  - chrome
   414                  - identity
   415          ExtAttrs:
   416            - Name: Namespace
   417              Values:
   418                - chrome
   419                - identity
   420        - Name: abortOnLoadForNonInteractive
   421          Type:
   422            Name: boolean
   423            Nullable: true
   424            ExtAttrs:
   425              - Name: Namespace
   426                Values:
   427                  - chrome
   428                  - identity
   429          ExtAttrs:
   430            - Name: Namespace
   431              Values:
   432                - chrome
   433                - identity
   434        - Name: timeoutMsForNonInteractive
   435          Type:
   436            Name: long
   437            Nullable: true
   438            ExtAttrs:
   439              - Name: Namespace
   440                Values:
   441                  - chrome
   442                  - identity
   443          ExtAttrs:
   444            - Name: Namespace
   445              Values:
   446                - chrome
   447                - identity
   448  - File: webext/chrome/identity.idl
   449    WebextFunc:
   450      Name: clearAllCachedAuthTokens
   451      Modifier: static
   452      Returns:
   453        - Name: Promise
   454          Params:
   455            - Name: void
   456      ExtAttrs:
   457        - Name: supportsPromises
   458        - Name: Namespace
   459          Values:
   460            - chrome
   461            - identity
   462  - File: webext/chrome/identity.idl
   463    WebextFunc:
   464      Name: getAccounts
   465      Modifier: static
   466      Returns:
   467        - Name: Promise
   468          Params:
   469            - Name: sequence
   470              Params:
   471                - Name: AccountInfo
   472                  ExtAttrs:
   473                    - Name: Namespace
   474                      Values:
   475                        - chrome
   476                        - identity
   477              ExtAttrs:
   478                - Name: Namespace
   479                  Values:
   480                    - chrome
   481                    - identity
   482      ExtAttrs:
   483        - Name: supportsPromises
   484        - Name: Namespace
   485          Values:
   486            - chrome
   487            - identity
   488  - File: webext/chrome/identity.idl
   489    WebextFunc:
   490      Name: getAuthToken
   491      Modifier: static
   492      Args:
   493        - Name: details
   494          Optional: true
   495          Type:
   496            Name: TokenDetails
   497            ExtAttrs:
   498              - Name: Namespace
   499                Values:
   500                  - chrome
   501                  - identity
   502          ExtAttrs:
   503            - Name: Namespace
   504              Values:
   505                - chrome
   506                - identity
   507      Returns:
   508        - Name: Promise
   509          Params:
   510            - Name: GetAuthTokenResult
   511              ExtAttrs:
   512                - Name: Namespace
   513                  Values:
   514                    - chrome
   515                    - identity
   516      ExtAttrs:
   517        - Name: supportsPromises
   518        - Name: Namespace
   519          Values:
   520            - chrome
   521            - identity
   522  - File: webext/chrome/identity.idl
   523    WebextFunc:
   524      Name: getProfileUserInfo
   525      Modifier: static
   526      Args:
   527        - Name: details
   528          Optional: true
   529          Type:
   530            Name: ProfileDetails
   531            ExtAttrs:
   532              - Name: Namespace
   533                Values:
   534                  - chrome
   535                  - identity
   536          ExtAttrs:
   537            - Name: Namespace
   538              Values:
   539                - chrome
   540                - identity
   541      Returns:
   542        - Name: Promise
   543          Params:
   544            - Name: ProfileUserInfo
   545              ExtAttrs:
   546                - Name: Namespace
   547                  Values:
   548                    - chrome
   549                    - identity
   550      ExtAttrs:
   551        - Name: supportsPromises
   552        - Name: Namespace
   553          Values:
   554            - chrome
   555            - identity
   556  - File: webext/chrome/identity.idl
   557    WebextFunc:
   558      Name: getRedirectURL
   559      Modifier: static
   560      Args:
   561        - Name: path
   562          Optional: true
   563          Type:
   564            Name: DOMString
   565            ExtAttrs:
   566              - Name: Namespace
   567                Values:
   568                  - chrome
   569                  - identity
   570          ExtAttrs:
   571            - Name: Namespace
   572              Values:
   573                - chrome
   574                - identity
   575      Returns:
   576        - Name: DOMString
   577          ExtAttrs:
   578            - Name: Namespace
   579              Values:
   580                - chrome
   581                - identity
   582      ExtAttrs:
   583        - Name: nocompile
   584        - Name: Namespace
   585          Values:
   586            - chrome
   587            - identity
   588  - File: webext/chrome/identity.idl
   589    WebextFunc:
   590      Name: launchWebAuthFlow
   591      Modifier: static
   592      Args:
   593        - Name: details
   594          Type:
   595            Name: WebAuthFlowDetails
   596            ExtAttrs:
   597              - Name: Namespace
   598                Values:
   599                  - chrome
   600                  - identity
   601          ExtAttrs:
   602            - Name: Namespace
   603              Values:
   604                - chrome
   605                - identity
   606      Returns:
   607        - Name: Promise
   608          Params:
   609            - Name: DOMString
   610              ExtAttrs:
   611                - Name: Namespace
   612                  Values:
   613                    - chrome
   614                    - identity
   615      ExtAttrs:
   616        - Name: supportsPromises
   617        - Name: Namespace
   618          Values:
   619            - chrome
   620            - identity
   621  - File: webext/chrome/identity.idl
   622    WebextEvent:
   623      Name: onSignInChanged
   624      Modifier: static
   625      Args:
   626        - Name: account
   627          Type:
   628            Name: AccountInfo
   629            ExtAttrs:
   630              - Name: Namespace
   631                Values:
   632                  - chrome
   633                  - identity
   634          ExtAttrs:
   635            - Name: Namespace
   636              Values:
   637                - chrome
   638                - identity
   639        - Name: signedIn
   640          Type:
   641            Name: boolean
   642            ExtAttrs:
   643              - Name: Namespace
   644                Values:
   645                  - chrome
   646                  - identity
   647          ExtAttrs:
   648            - Name: Namespace
   649              Values:
   650                - chrome
   651                - identity
   652      Returns:
   653        - Name: void
   654          ExtAttrs:
   655            - Name: Namespace
   656              Values:
   657                - chrome
   658                - identity
   659      ExtAttrs:
   660        - Name: Namespace
   661          Values:
   662            - chrome
   663            - identity
   664  - File: webext/chrome/identity.idl
   665    WebextFunc:
   666      Name: removeCachedAuthToken
   667      Modifier: static
   668      Args:
   669        - Name: details
   670          Type:
   671            Name: InvalidTokenDetails
   672            ExtAttrs:
   673              - Name: Namespace
   674                Values:
   675                  - chrome
   676                  - identity
   677          ExtAttrs:
   678            - Name: Namespace
   679              Values:
   680                - chrome
   681                - identity
   682      Returns:
   683        - Name: Promise
   684          Params:
   685            - Name: void
   686      ExtAttrs:
   687        - Name: supportsPromises
   688        - Name: Namespace
   689          Values:
   690            - chrome
   691            - identity