Update IdentityServiceCollectionExtensions.cs docs (#1962)

This commit is contained in:
Rick Anderson 2018-09-12 12:04:28 -07:00 committed by Hao Kung
parent 01f8f366f7
commit b9452868db
1 changed files with 5 additions and 3 deletions

View File

@ -13,7 +13,8 @@ namespace Microsoft.Extensions.DependencyInjection
public static class IdentityServiceCollectionExtensions
{
/// <summary>
/// Adds and configures the identity system for the specified User and Role types.
/// Adds and configures the identity system for the specified User type. Role services are not added
/// by default but can be added with <see cref="IdentityBuilder.AddRoles{TRole}"/>.
/// </summary>
/// <typeparam name="TUser">The type representing a User in the system.</typeparam>
/// <param name="services">The services available in the application.</param>
@ -22,7 +23,8 @@ namespace Microsoft.Extensions.DependencyInjection
=> services.AddIdentityCore<TUser>(o => { });
/// <summary>
/// Adds and configures the identity system for the specified User and Role types.
/// Adds and configures the identity system for the specified User type. Role services are not added by default
/// but can be added with <see cref="IdentityBuilder.AddRoles{TRole}"/>.
/// </summary>
/// <typeparam name="TUser">The type representing a User in the system.</typeparam>
/// <param name="services">The services available in the application.</param>
@ -52,4 +54,4 @@ namespace Microsoft.Extensions.DependencyInjection
return new IdentityBuilder(typeof(TUser), services);
}
}
}
}