IdentityBuilderExtensions.AddApiEndpoints(IdentityBuilder) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds configuration and services needed to support MapIdentityApi<TUser>(IEndpointRouteBuilder) but does not configure authentication. Call AddBearerToken(AuthenticationBuilder, Action<BearerTokenOptions>) and/or AddIdentityCookies(AuthenticationBuilder) to configure authentication separately.
public static Microsoft.AspNetCore.Identity.IdentityBuilder AddApiEndpoints (this Microsoft.AspNetCore.Identity.IdentityBuilder builder);
static member AddApiEndpoints : Microsoft.AspNetCore.Identity.IdentityBuilder -> Microsoft.AspNetCore.Identity.IdentityBuilder
<Extension()>
Public Function AddApiEndpoints (builder As IdentityBuilder) As IdentityBuilder
Parameters
- builder
- IdentityBuilder
The IdentityBuilder.
Returns
The IdentityBuilder.