mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 06:47:03 +00:00
[office-js] [office-js-preview] (Outlook) REST scope for getCallbackTokenAsync (#42622)
This commit is contained in:
Vendored
+10
@@ -12876,6 +12876,16 @@ declare namespace Office {
|
||||
*
|
||||
* The add-in should use the `restUrl` property to determine the correct URL to use when making REST API calls.
|
||||
*
|
||||
* This API works for the following scopes:
|
||||
*
|
||||
* - `Mail.ReadWrite`
|
||||
*
|
||||
* - `Mail.Send`
|
||||
*
|
||||
* - `Calendars.ReadWrite`
|
||||
*
|
||||
* - `Contacts.ReadWrite`
|
||||
*
|
||||
* *EWS Tokens*
|
||||
*
|
||||
* When an EWS token is requested (`options.isRest = false`), the resulting token will not work to authenticate REST API calls.
|
||||
|
||||
Vendored
+10
@@ -12533,6 +12533,16 @@ declare namespace Office {
|
||||
*
|
||||
* The add-in should use the `restUrl` property to determine the correct URL to use when making REST API calls.
|
||||
*
|
||||
* This API works for the following scopes:
|
||||
*
|
||||
* - `Mail.ReadWrite`
|
||||
*
|
||||
* - `Mail.Send`
|
||||
*
|
||||
* - `Calendars.ReadWrite`
|
||||
*
|
||||
* - `Contacts.ReadWrite`
|
||||
*
|
||||
* *EWS Tokens*
|
||||
*
|
||||
* When an EWS token is requested (`options.isRest = false`), the resulting token will not work to authenticate REST API calls.
|
||||
|
||||
Reference in New Issue
Block a user