/// <summary> /// Sets specific SwaggerGenOptions for authenticating against Azure Active Directory. /// </summary> /// <param name="option"></param> /// <param name="apiClientId">The client id of your API.</param> /// <param name="tenantId">The tenant id (e. g. wdswagger.onmicrosoft.com),</param> public static void ConfigureAAD(this SwaggerGenOptions option, string apiClientId, string tenantId) { option.ConfigureAAD(apiClientId, tenantId, "login.microsoftonline.com"); }