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
This commit is contained in:
Ryan Russell
2017-01-13 11:33:23 -08:00
committed by Sheetal Nandi
parent 5bc1b9fb83
commit e9622c76ea
+7 -3
View File
@@ -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 {