From e9622c76eaf0c557e5c367a68ab23f87372c2d70 Mon Sep 17 00:00:00 2001 From: Ryan Russell Date: Fri, 13 Jan 2017 11:33:23 -0800 Subject: [PATCH] Update adal with documented config options (#13979) * Update adal with documented config options See https://github.com/AzureAD/azure-activedirectory-library-for-js/blob/dev/lib/adal.js#L26 for the list of documented options. The options loginResource, resource, and extraQueryParameter are undocumented, but already existed in the type. * The only required parameter is clientId --- adal/index.d.ts | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/adal/index.d.ts b/adal/index.d.ts index abff003e97..18ca3d8079 100644 --- a/adal/index.d.ts +++ b/adal/index.d.ts @@ -17,14 +17,18 @@ declare namespace adal { clientId: string; redirectUri?: string; instance?: string; - cacheLocation?: string; + endpoints?: any; // If you need to send CORS api requests. + popUp?: boolean; + localLoginUrl?: string; displayCall?: (urlNavigate: string) => any; + postLogoutRedirectUri?: string; // redirect url after succesful logout operation + cacheLocation?: string; + anonymousEndpoints?: string[]; + expireOffsetSeconds?: number; correlationId?: string; loginResource?: string; resource?: string; - endpoints?: any; // If you need to send CORS api requests. extraQueryParameter?: string; - postLogoutRedirectUri?: string; // redirect url after succesful logout operation } interface User {