You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Extension methods to configure the identity bearer token authentication used by <see cref="IdentityEndpointRouteBuilderExtensions.MapIdentity{TUser}(IEndpointRouteBuilder)"/>.
/// Adds identity bearer token authentication. The default scheme is specified by <see cref="IdentityConstants.BearerScheme"/>.
18
+
/// <para>
19
+
/// Identity bearer tokens can be obtained from endpoints added by <see cref="IdentityEndpointRouteBuilderExtensions.MapIdentity{TUser}(IEndpointRouteBuilder)"/>.
Copy file name to clipboardExpand all lines: src/Identity/Endpoints/src/IdentityBearerOptions.cs
+13-4Lines changed: 13 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -3,14 +3,16 @@
3
3
4
4
usingMicrosoft.AspNetCore.Authentication;
5
5
usingMicrosoft.AspNetCore.DataProtection;
6
+
usingMicrosoft.AspNetCore.Http;
6
7
usingMicrosoft.AspNetCore.Routing;
8
+
usingMicrosoft.Extensions.DependencyInjection;
7
9
8
10
namespaceMicrosoft.AspNetCore.Identity.Endpoints;
9
11
10
12
/// <summary>
11
13
/// Contains the options used to authenticate using bearer tokens issued by <see cref="IdentityEndpointRouteBuilderExtensions.MapIdentity{TUser}(IEndpointRouteBuilder)"/>.
0 commit comments