Merge pull request #1827 from tstivers1990/patch-1

Fix /// comments
This commit is contained in:
Hao Kung 2018-06-11 13:56:43 -07:00 committed by GitHub
commit 9481e88aa1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -28,7 +28,7 @@ namespace Microsoft.Extensions.DependencyInjection
/// can be found by the application.
/// </remarks>
/// <param name="services">The <see cref="IServiceCollection"/>.</param>
/// <returns>The <see cref="IServiceCollection"/>.</returns>
/// <returns>The <see cref="IdentityBuilder"/>.</returns>
public static IdentityBuilder AddDefaultIdentity<TUser>(this IServiceCollection services) where TUser : class
=> services.AddDefaultIdentity<TUser>(_ => { });
@ -43,7 +43,7 @@ namespace Microsoft.Extensions.DependencyInjection
/// </remarks>
/// <param name="services">The <see cref="IServiceCollection"/>.</param>
/// <param name="configureOptions">Configures the <see cref="IdentityOptions"/>.</param>
/// <returns>The <see cref="IServiceCollection"/>.</returns>
/// <returns>The <see cref="IdentityBuilder"/>.</returns>
public static IdentityBuilder AddDefaultIdentity<TUser>(this IServiceCollection services, Action<IdentityOptions> configureOptions) where TUser : class
{
services.AddAuthentication(o =>
@ -62,4 +62,4 @@ namespace Microsoft.Extensions.DependencyInjection
.AddDefaultTokenProviders();
}
}
}
}