# Microsoft.AspNetCore.Identity

``` diff
 namespace Microsoft.AspNetCore.Identity {
-    public static class IdentityApiEndpointsIdentityBuilderExtensions {
-        public static IdentityBuilder AddApiEndpoints(this IdentityBuilder builder);
-    }
+    public static class IdentityAuthenticationBuilderExtensions {
+        public static AuthenticationBuilder AddIdentityBearerToken<TUser>(this AuthenticationBuilder builder) where TUser : class, new();
+        public static AuthenticationBuilder AddIdentityBearerToken<TUser>(this AuthenticationBuilder builder, Action<BearerTokenOptions> configureOptions) where TUser : class, new();
+    }
     public static class IdentityBuilderExtensions {
+        public static IdentityBuilder AddApiEndpoints(this IdentityBuilder builder);
     }
 }
```

