Hao Kung
08c6522bf4
Reenable external signout
...
resolved issued with middleware ordering in AddIdentity
2014-09-25 15:57:22 -07:00
Hao Kung
c5d3d32445
Remove UseUserNameAsEmail feature
2014-09-25 15:29:14 -07:00
Hao Kung
76a6c103ce
Disable corresponding external signout asserts
2014-09-25 15:23:10 -07:00
Hao Kung
3c277090de
Use ApplicationCookie options in more places
...
- Remove ClaimsIdentity.AuthenticationType now that
ApplicationCookie.AuthenticationType is available
- Also set Expires on a cookies that need them
2014-09-25 14:57:50 -07:00
Hao Kung
57002ba359
Replace AlphaNumericUserName with Regex option
2014-09-24 15:41:19 -07:00
Hao Kung
3f4f846cbb
Add social auth and two factor
...
- Merge Authentication into Core
- Add social login support
- Add two factor support
- Rework options model for startup
2014-09-24 15:05:51 -07:00
Chris Ross
3f76dcc166
Handle the IBuilder rename to IApplicationBuilder.
2014-09-10 12:37:39 -07:00
David Fowler
9d26c40144
Updated to use the new target framework in project.json
2014-09-04 02:10:19 -07:00
David Fowler
0705d3a5ae
Updated to use the new target framework in project.json
2014-08-28 23:34:02 -07:00
Hao Kung
c80ec3f326
IUserLogin API changes
...
- Add ProviderDisplayName
- AddLogin continues to take UserLoginInfo
- Remove/Find now only take loginProvider/providerKey
- Refactor unit tests to share a base class
2014-08-18 11:42:26 -07:00
David Fowler
06ea33ad4f
Removed source files from the project
2014-08-15 08:16:09 -07:00
Hao Kung
bfa8cf0586
Add missing merge conflict file
2014-08-08 12:01:02 -07:00
Hao Kung
097925a3e4
UseUserNameAsEmail support
...
When set:
- FindByEmail will use UserName
- SetEmail will set the user name and email
- GetEmail will return user name
- This setting does not impact the Get/Set/FindUserName apis
2014-08-07 16:37:26 -07:00
Hao Kung
626362d8a2
Add NormalizedUserName / IUserNameNormalizer
...
+ Use normalized username for FindByUserName
2014-07-29 13:45:16 -07:00
Hao Kung
7942d2bc82
Pass user to IPasswordHasher
2014-07-25 11:57:13 -07:00
Hao Kung
07f72c2fb9
Rename Add[HttpSignIn] -> AddAuthentication
...
Also DefaultAuthenticationTypes.ApplicationCookie ->
ClaimsIdentityOptions.DefaultAuthenticationType
2014-07-23 12:28:19 -07:00
Hao Kung
fc53503d1d
Add SecurityStampValidator
2014-07-21 10:42:04 -07:00
Hao Kung
214db69b0a
Identity EF Cleanup
...
Rename extension method to AddIdentitySqlServer
Switch to using IdentityUser for EF
Add generic support for primary key
2014-07-16 11:53:11 -07:00
David Fowler
e91b299ce1
Renamed configurations to frameworks in project.json
2014-07-13 21:54:32 -07:00
Hao Kung
bc4c53f086
Sql implementation + moving in memory stores to test
...
- Identity.Entity now means only Sql Server EF Identity implementation
- Identity.Entity.InMemory moved to a test project
(Identity.Entity.InMemory.Test)
- Identity.InMemory which was the identity in memory implementation also
moved to a test project (Identity.InMemory.Test)
- IClaimsFactory was promoted to a top level service and now adds any
claims found in a Role that a user belongs to.
- EF implementation now supports logins, claims, roles, two factor,
lockouts
- Initial pass at style cop (mostly line endings since resharper no
worky :()
2014-06-23 14:53:06 -07:00
Brice Lambson
f0271851c3
Add missing renames
2014-06-20 09:37:47 -07:00
Brice Lambson
73640e0216
Rename to Microsoft.AspNet.Identity.*
2014-06-20 09:15:04 -07:00
Brice Lambson
5334a0d8a9
Rename to Microsoft.Framework.Identity.* and bump version to 3.0.0-*
2014-06-19 17:29:27 -07:00
Stephen Halter
af66fe1611
Inject all dependencies directly into RoleManager and UserManager
...
- All dependencies for RoleManager and UserManager should be required
- The old calls to GetService inside the constructors will throw instead of
returning null if left in after PR aspnet/DependencyInjection#87 is merged
2014-06-11 11:23:49 -07:00
Hao Kung
9053ec56a4
Move SignIn Manger to core
...
Also cleans up CTP1 interface/tests
2014-06-04 10:35:07 -07:00
Hao Kung
afc361b012
Use OptionModel.Options
...
Remove IdentityOptionsSetup and related config functionality
2014-05-28 12:16:22 -07:00
David Fowler
4da8ae6d03
Fixed project.json casing
2014-05-26 02:49:57 -07:00
Pranav K
8990ec612e
Updating kproj file to match tooling changes
2014-05-18 20:13:55 -07:00
Andrew Peters
9d9489074e
Updating copyright headers
2014-05-08 23:01:13 -07:00
Wei Wang
c2700b495d
Sort dependencies and remove duplicates in dependencies
2014-05-07 17:13:31 -07:00
Hao Kung
2a6a24097c
Merge fixes
...
Conflicts:
src/Microsoft.AspNet.Identity/IdentityOptionsSetup.cs
test/Microsoft.AspNet.Identity.Test/IdentityOptionsTest.cs
2014-05-06 14:05:12 -07:00
Hao Kung
de2b0a5fbd
Fix merge conflicts
2014-05-06 13:58:51 -07:00
Hao Kung
661a3a3c3e
Implement Config options
2014-05-06 13:16:22 -07:00
Wei Wang
99e86d2aa1
Fix ordering of usings and dependencies after namespace renaming
2014-05-06 12:39:34 -07:00
Wei Wang
ca67e93bc7
Fix dependency issues
2014-05-06 11:22:59 -07:00
David Fowler
0c8cbdab31
React to renames + cleanup
2014-05-06 03:37:06 -07:00
Wei Wang
73f1c6ac46
Update dependency namespace
2014-05-05 20:24:37 -07:00
Hao Kung
ab84228c37
Implement Config options
2014-05-05 15:39:34 -07:00
Hao Kung
31f76b8d58
Initial DI changes from app building
...
Incorporate feedback and make identity DI friendly everywhere
Also start using the new OptionsSetup
2014-05-02 17:09:24 -07:00
anpete
b53a5e4b75
Update file headers
2014-05-01 17:39:44 -07:00
Hao Kung
d827b9fff2
More DI-ify identity
...
Follow K patterns for DI
- IdentityBuilder
- IServiceProvider constructor
- Unit tests for Startup usage/new DI builder
- Move template default configuration into DefaultServices
2014-04-22 13:31:23 -07:00
Hao Kung
da7140b9d0
Port Identity 2.1 API changes
...
Add AddToRoles and RemoveFromRoles
2014-04-17 15:46:06 -07:00
Hao Kung
538e8dabea
Move POCO to Core
...
- Move POCO types to core
- Keep Entity pocos initially (will try to remove soon)
- Reenable Entity unit tests now that blocking data bugs have been fixed
2014-04-11 15:00:49 -07:00
David Fowler
1998b65c52
Updated to use the new tooling
2014-04-08 13:01:23 -07:00
Hao Kung
e8d7cf4219
Asyncify and Userify
...
Add Async suffix to async methods
Take TUser instead of userId for Usermanager apis
2014-04-04 13:42:22 -07:00
Hao Kung
6807da690a
Remove IUser/IRole and TKey from Managers
2014-04-03 17:17:50 -07:00
Hao Kung
041db7cb69
Initial Identity.Entity implementation
...
- Most child entities related apis not working/implemented
- Unit tests disabled in kbuild for now
Code review fix
2014-04-03 16:07:46 -07:00
Hao Kung
8549d83b7c
Identity.Security not enough to prevent infection
...
- Viral cancellationToken API infection everywhere
- Add Identity.Security SignInManager which depends on Abstractions
2014-04-02 12:25:52 -07:00
Pranav K
0dcb918084
Updating remaining package versions to match CoreCLR
2014-03-27 18:34:04 -07:00
Hao Kung
c4d32ef1d6
Remove ConfigureAwait(false) everywhere
2014-03-20 09:42:52 -07:00