Commit Graph

29 Commits

Author SHA1 Message Date
Brennan 36686a8e71 Logging API changes 2015-03-04 20:02:21 -08:00
Hao Kung 3aaa628365 React to AuthN changes 2015-03-02 16:39:01 -08:00
Praburaj 747f4137c6 Reacting to Hosting API changes 2015-03-02 11:56:44 -08:00
Hao Kung 597e2b3153 Remove CancellationToken from Manager APIs 2015-02-10 15:39:42 -08:00
Hao Kung 228995c84c Add missing virtuals
Enable unit test verifying methods are virtual

Fixes https://github.com/aspnet/Identity/issues/349
2015-02-06 13:25:34 -08:00
Suhas Joshi f7dd913c3f Injecting ILogger via DI 2015-02-06 09:54:23 -08:00
Suhas Joshi 6e294035a5 Added logging to code and updated tests 2015-01-15 15:42:48 -08:00
Hao Kung b59440d95f Normalize all lookups with one service 2015-01-12 12:12:53 -08:00
Hao Kung c9d27e27e6 Introduce SignInResult/IdentityError/Describer
Follows Resource pattern (IdentityErrorDescriber.StringName, or
FormatStringName(arg1, arg2)
Also cleaned up optional services, by allowing null in constructor
SignInStatus -> SignInFailure and introduced SignInResult to make
SignInManager APIs consistent with IdentityResult (but no strings needed
for SignIn)
Fixes: #86, #176, #287 and #177
2014-12-30 14:51:52 -08:00
Hao Kung 5c10f9e96b SignOut all identity cookies except for RememberMe
Fixes https://github.com/aspnet/Identity/issues/211
2014-11-12 12:38:34 -08:00
Hao Kung 556c15273e Add SignInManager CanSignIn
new hook which can be used to block sign in
Fixes https://github.com/aspnet/Identity/issues/129
2014-10-27 15:46:48 -07:00
Hao Kung 2c9f43a160 Enable and fix Async/Cancellation tests 2014-10-27 12:58:46 -07:00
Hao Kung 23b4307f34 Add PasswordSignIn overload that takes TUser instead of username 2014-10-21 15:22:40 -07:00
Hao Kung 3abe532761 React to options and hosting changes 2014-10-14 19:19:44 -07:00
Hao Kung ffa226dfa9 React to options / DI / startup changes 2014-10-08 13:11:49 -07:00
Hao Kung 08c6522bf4 Reenable external signout
resolved issued with middleware ordering in AddIdentity
2014-09-25 15:57:22 -07:00
Hao Kung 2cb14932f7 Disable sign out external cookie temporarily
Potential SignOut bug is preventing this from working correctly for now
2014-09-25 15:15:07 -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 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
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
Hao Kung 7d4aed4e3b Clean up sign in manager
- Add SignInOptions
- Also fix SecurityStampValidator issue resolving against wrong service
collection
2014-08-07 16:29:56 -07:00
Hao Kung fc53503d1d Add SecurityStampValidator 2014-07-21 10:42:04 -07:00
Hao Kung bbb848ae1d Add identity sample 2014-07-16 12:44:23 -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
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 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
Hao Kung 8001ba8401 Fix sign in regression
Added missing SupportUserTwoFactor guard in SignInManager
2014-06-04 13:08:06 -07:00
Hao Kung 9053ec56a4 Move SignIn Manger to core
Also cleans up CTP1 interface/tests
2014-06-04 10:35:07 -07:00