diff --git a/src/Microsoft.AspNet.Identity/ClaimTypeOptions.cs b/src/Microsoft.AspNet.Identity/ClaimTypeOptions.cs deleted file mode 100644 index a86a4ec295..0000000000 --- a/src/Microsoft.AspNet.Identity/ClaimTypeOptions.cs +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. - -using System.Security.Claims; - -namespace Microsoft.AspNet.Identity -{ - public class ClaimTypeOptions - { - /// - /// ClaimType used for the security stamp by default - /// - public static readonly string DefaultSecurityStampClaimType = "AspNet.Identity.SecurityStamp"; - - public ClaimTypeOptions() - { - Role = ClaimTypes.Role; - SecurityStamp = DefaultSecurityStampClaimType; - UserId = ClaimTypes.NameIdentifier; - UserName = ClaimTypes.Name; - } - - /// - /// Claim type used for role claims - /// - public string Role { get; set; } - - /// - /// Claim type used for the user name - /// - public string UserName { get; set; } - - /// - /// Claim type used for the user id - /// - public string UserId { get; set; } - - /// - /// Claim type used for the user security stamp - /// - public string SecurityStamp { get; set; } - } -} \ No newline at end of file diff --git a/test/Microsoft.AspNet.Identity.EntityFramework.InMemory.Test/EntityIdentityBuilderExtensions.cs b/test/Microsoft.AspNet.Identity.EntityFramework.InMemory.Test/EntityIdentityBuilderExtensions.cs deleted file mode 100644 index c86bc2b306..0000000000 --- a/test/Microsoft.AspNet.Identity.EntityFramework.InMemory.Test/EntityIdentityBuilderExtensions.cs +++ /dev/null @@ -1,24 +0,0 @@ -// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. - -using Microsoft.AspNet.Identity.EntityFramework; -using Microsoft.AspNet.Identity.EntityFramework.InMemory.Test; -using Microsoft.Data.Entity; -using Microsoft.Framework.DependencyInjection; - -namespace Microsoft.AspNet.Identity -{ - public static class EntityIdentityBuilderExtensions - { - public static IdentityBuilder AddEntityFrameworkInMemory(this IdentityBuilder builder) - where TUser : InMemoryUser - where TRole : IdentityRole - where TDbContext : DbContext - { - builder.Services.AddScoped(); - builder.Services.AddScoped, InMemoryUserStore>(); - builder.Services.AddScoped, RoleStore>(); - return builder; - } - } -} \ No newline at end of file