# Microsoft.AspNetCore.Authentication.Twitter

``` diff
 {
     namespace Microsoft.AspNetCore.Authentication.Twitter {
         public class TwitterCreatingTicketContext : ResultContext<TwitterOptions> {
-            public TwitterCreatingTicketContext(HttpContext context, AuthenticationScheme scheme, TwitterOptions options, ClaimsPrincipal principal, AuthenticationProperties properties, string userId, string screenName, string accessToken, string accessTokenSecret, JObject user);

+            public TwitterCreatingTicketContext(HttpContext context, AuthenticationScheme scheme, TwitterOptions options, ClaimsPrincipal principal, AuthenticationProperties properties, string userId, string screenName, string accessToken, string accessTokenSecret, JsonElement user);
-            public JObject User { get; }
+            public JsonElement User { get; }
         }
         public class TwitterHandler : RemoteAuthenticationHandler<TwitterOptions> {
-            protected virtual Task<AuthenticationTicket> CreateTicketAsync(ClaimsIdentity identity, AuthenticationProperties properties, AccessToken token, JObject user);

+            protected virtual Task<AuthenticationTicket> CreateTicketAsync(ClaimsIdentity identity, AuthenticationProperties properties, AccessToken token, JsonElement user);
         }
     }
-    namespace Microsoft.AspNetCore.Builder {
 {
-        public static class TwitterAppBuilderExtensions {
 {
-            public static IApplicationBuilder UseTwitterAuthentication(this IApplicationBuilder app);

-            public static IApplicationBuilder UseTwitterAuthentication(this IApplicationBuilder app, TwitterOptions options);

-        }
-    }
 }
```

