Skip to content

Commit 43bed85

Browse files
authored
Merge pull request #82 from rwike77/patch-5
Branding updates
2 parents 0235294 + 22fcb88 commit 43bed85

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Microsoft.Identity.Web/WebApiStartupHelpers.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ namespace Microsoft.Identity.Web
4343
public static class WebApiStartupHelpers
4444
{
4545
/// <summary>
46-
/// Protects the Web API with Microsoft Identity Platform v2.0 (AAD v2.0)
46+
/// Protects the Web API with Microsoft identity platform (v2.0)
4747
/// This expects the configuration files will have a section named "AzureAD"
4848
/// </summary>
4949
/// <param name="services">Service collection to which to add this authentication scheme</param>
@@ -57,13 +57,13 @@ public static IServiceCollection AddProtectWebApiWithMicrosoftIdentityPlatformV2
5757
// Add session if you are planning to use session based token cache , .AddSessionTokenCaches()
5858
services.AddSession();
5959

60-
// Change the authentication configuration to accommodate the Azure AD v2.0 endpoint.
60+
// Change the authentication configuration to accommodate the identity platform endpoint.
6161
services.Configure<JwtBearerOptions>(AzureADDefaults.JwtBearerAuthenticationScheme, options =>
6262
{
6363
// Reinitialize the options as this has changed to JwtBearerOptions to pick configuration values for attributes unique to JwtBearerOptions
6464
configuration.Bind("AzureAd", options);
6565

66-
// This is an Azure AD v2.0 Web API
66+
// This is an identity platform Web API
6767
options.Authority += "/v2.0";
6868

6969
// The valid audiences are both the Client ID (options.Audience) and api://{ClientID}
@@ -105,7 +105,7 @@ public static IServiceCollection AddProtectWebApiWithMicrosoftIdentityPlatformV2
105105
}
106106

107107
/// <summary>
108-
/// Protects the Web API with Microsoft Identity Platform v2.0 (AAD v2.0)
108+
/// Protects the Web API with Microsoft identity platform (v2.0)
109109
/// This supposes that the configuration files have a section named "AzureAD"
110110
/// </summary>
111111
/// <param name="services">Service collection to which to add authentication</param>
@@ -149,4 +149,4 @@ public static IServiceCollection AddProtectedApiCallsWebApis(this IServiceCollec
149149
return services;
150150
}
151151
}
152-
}
152+
}

0 commit comments

Comments
 (0)