Update IdentityServiceCollectionExtensions.cs docs (#1962)
This commit is contained in:
parent
01f8f366f7
commit
b9452868db
|
|
@ -13,7 +13,8 @@ namespace Microsoft.Extensions.DependencyInjection
|
||||||
public static class IdentityServiceCollectionExtensions
|
public static class IdentityServiceCollectionExtensions
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <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>
|
/// </summary>
|
||||||
/// <typeparam name="TUser">The type representing a User in the system.</typeparam>
|
/// <typeparam name="TUser">The type representing a User in the system.</typeparam>
|
||||||
/// <param name="services">The services available in the application.</param>
|
/// <param name="services">The services available in the application.</param>
|
||||||
|
|
@ -22,7 +23,8 @@ namespace Microsoft.Extensions.DependencyInjection
|
||||||
=> services.AddIdentityCore<TUser>(o => { });
|
=> services.AddIdentityCore<TUser>(o => { });
|
||||||
|
|
||||||
/// <summary>
|
/// <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>
|
/// </summary>
|
||||||
/// <typeparam name="TUser">The type representing a User in the system.</typeparam>
|
/// <typeparam name="TUser">The type representing a User in the system.</typeparam>
|
||||||
/// <param name="services">The services available in the application.</param>
|
/// <param name="services">The services available in the application.</param>
|
||||||
|
|
@ -52,4 +54,4 @@ namespace Microsoft.Extensions.DependencyInjection
|
||||||
return new IdentityBuilder(typeof(TUser), services);
|
return new IdentityBuilder(typeof(TUser), services);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue