mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 14:27:04 +00:00
office.js: add important note for auth.getaccesstokenasync (#27196)
This commit is contained in:
committed by
Ryan Cavanaugh
parent
f50cf7b56f
commit
564afc514b
Vendored
+2
@@ -752,6 +752,8 @@ declare namespace Office {
|
||||
interface Auth {
|
||||
/**
|
||||
* Calls the Azure Active Directory V 2.0 endpoint to get an access token to your add-in's web application. Allows add-ins to identify users. Server side code can use this token to access Microsoft Graph for the add-in's web application by using the {@link https://docs.microsoft.com/azure/active-directory/develop/active-directory-v2-protocols-oauth-on-behalf-of | "on behalf of" OAuth flow}.
|
||||
*
|
||||
* Important: In Outlook, this API is not supported if the add-in is loaded in an Outlook.com or Gmail mailbox.
|
||||
*
|
||||
* @remarks
|
||||
* <table><tr><td>Hosts</td><td>Excel, OneNote, Outlook, PowerPoint, Word</td></tr>
|
||||
|
||||
Reference in New Issue
Block a user