Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion types/office-runtime/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -259,11 +259,15 @@ declare namespace OfficeRuntime {
}
/**
* Contains authorization related APIs.
*
* @deprecated Use `Office.auth` instead.
*/
const auth: Auth;
/**
* Provides options for the user experience when Office obtains an access token to the add-in from AAD v. 2.0 with the `getAccessToken` method.
*
*
* @deprecated Use the {@link https://learn.microsoft.com/javascript/api/office/office.authoptions | Office.AuthOptions} interface instead.
*
* @remarks
*
* The methods in this interface are equivalent to those in the `Office.AuthOptions` interface.
Expand Down Expand Up @@ -324,6 +328,8 @@ declare namespace OfficeRuntime {
}
/**
* Interface that contains authorization related APIs.
*
* @deprecated Use the {@link https://learn.microsoft.com/javascript/api/office/office.auth | Office.Auth} interface instead.
*
* @remarks
*
Expand Down