Commit Graph

48 Commits

Author SHA1 Message Date
Pranav K 5da757642d Renaming Microsoft.Framework.* -> Microsoft.Extensions.* 2015-10-03 15:44:55 -07:00
Hao Kung f8733aa103 Fix cookie authentication type regression 2015-09-03 15:43:56 -07:00
Hao Kung 2113ef5abc React to Options/Cookie changes
Moved cookie instance options into IdentityCookieOptions
IUserTokenProvider changes
2015-09-02 15:15:40 -07:00
Hao Kung ab29d5f5e5 UseIdentity now requires AddIdentity 2015-08-20 13:31:06 -07:00
Hao Kung a98f86681d Revert "Move generics off of Validator/TokenProvider interfaces"
This reverts commit 62a1d49710.
2015-08-14 15:18:40 -07:00
Hao Kung 62a1d49710 Move generics off of Validator/TokenProvider interfaces 2015-08-13 18:49:04 -07:00
Chris R a7e7121c87 #540 React to CoreCLR Cryptography package changes and remove transitive dependencies. 2015-08-11 15:08:09 -07:00
Pranav K 7406e27981 Reacting to DI changes 2015-08-11 14:01:36 -07:00
Hao Kung 0e77bbdbbd Used scoped instead of transient lifetimes
Fixes https://github.com/aspnet/Identity/issues/519
2015-08-06 14:25:44 -07:00
Hao Kung 54db5d2c50 React to external => shared rename 2015-07-16 12:47:05 -07:00
Hao Kung 715790c213 Merge Barry's DocComments
(sorry barry, wasn't too hard to merge)
2015-06-08 11:09:25 -07:00
Kirthi Krishnamraju 030459b8ba React to aspnet/Configuration #195,#198 2015-05-20 19:34:27 -07:00
N. Taylor Mullen ab43154577 Update LICENSE.txt and license header on files. 2015-05-01 13:52:26 -07:00
Hao Kung a71dc5858d React to Security changes 2015-04-23 22:57:17 -07:00
Hao Kung 3e94336390 Remove hosting and logging dependencies 2015-04-21 17:02:16 -07:00
Suhas Joshi b775e90b5b Use configure from cookies repo 2015-04-20 17:29:46 -07:00
Suhas Joshi 28dc0245bf Moved POCOs to EF and fixed tests 2015-03-24 11:48:26 -07:00
Hao Kung b0c6090774 Identity ApplicationCookie Automatic by default
React to cookie's not being automatic by default
2015-03-16 15:15:44 -07:00
Hao Kung 2246a41978 Add functional tests
+ cleanup
Fixes https://github.com/aspnet/Identity/issues/395
Fixes https://github.com/aspnet/Identity/issues/231
2015-03-12 16:30:32 -07:00
Hao Kung 649cb0caed Remove IConfiguration from AddIdentity 2015-03-11 15:41:43 -07:00
Hao Kung d5b29d7e23 React to DI changes 2015-03-04 18:54:25 -08:00
Hao Kung 3aaa628365 React to AuthN changes 2015-03-02 16:39:01 -08:00
Hao Kung cd0acd7a47 API Review cleanup #1
- Remove constructor defaults
- Make service properties internal
- Add Logging/HttpContextAccessor services which are required by
identity
2015-02-12 02:21:33 -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 66f9803d06 Replace IIdentityMessageService with IUserMessageProvider 2014-11-24 13:41:02 -08:00
Hao Kung 85530742ef Replace AddDefaultIdentity
Break it into
AddIdentity<>.AddEntityFrameworkStores.AddDefaultTokenProviders()
2014-11-21 15:10:35 -08:00
Hao Kung 2c9f43a160 Enable and fix Async/Cancellation tests 2014-10-27 12:58:46 -07:00
Hao Kung cb3948b86f Use DataProtectionTokenProvider from DI
Fixes https://github.com/aspnet/Identity/issues/224
2014-10-27 12:51:45 -07:00
Hao Kung 3abe532761 React to options and hosting changes 2014-10-14 19:19:44 -07:00
Levi B 0a91227a4d Update Identity to account for DataProtection changes. 2014-10-10 12:05:00 -07:00
Hao Kung ffa226dfa9 React to options / DI / startup changes 2014-10-08 13:11:49 -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 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 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
Hao Kung 7bf68e0e58 Add AddIdentityEntityFramework 2014-05-15 18:46:56 -07:00
Hao Kung 2d1c1c177d Move builder extensions to IdentityBuilder
Also correctly take TContext instead of looking for DbContext as a
service
2014-05-15 16:06:13 -07:00
Hao Kung 6432655d26 Add builder extensions to service collection 2014-05-15 13:46:15 -07:00
Andrew Peters 9d9489074e Updating copyright headers 2014-05-08 23:01:13 -07:00
Hao Kung 661a3a3c3e Implement Config options 2014-05-06 13:16:22 -07:00
Wei Wang ca67e93bc7 Fix dependency issues 2014-05-06 11:22:59 -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