Matt Gibson
edd4bc2623
Add disable send policy ( #1130 )
...
* Add Disable Send policy
* Test DisableSend policy
* PR Review
* Update tests for using CurrentContext
This required making an interface for CurrentContext and mocking out
the members used. The interface can be expanded as needed for tests.
I moved CurrentContext to a folder, which changes the namespace
and causes a lot of file touches, but most are just adding a reference
* Fix failing test
* Update exemption to include all exempt users
* Move all CurrentContext usages to ICurrentContext
* PR review. Match messaging with Web
2021-02-04 12:54:21 -06:00
Chad Scharf
9800b752c0
Changed all C# control flow block statements to include space between keyword and open paren
2020-03-27 14:36:37 -04:00
Kyle Spearrin
d5aa7b5624
allow configuring the validation urls for yubico otp servers
2020-03-03 08:32:50 -05:00
Kyle Spearrin
29580684a3
upgrade to aspnet core 3.1
2020-01-10 08:33:13 -05:00
Kyle Spearrin
8b80478a97
otp can be >= 32 <= 48
2019-04-24 17:47:26 -04:00
Kyle Spearrin
e7e0d17ac6
security stamp validation for passwordless login
2019-01-17 16:07:24 -05:00
Kyle Spearrin
8596ba2caa
formatting
2019-01-11 09:44:49 -05:00
Kyle Spearrin
951e8f562e
email token provider
2018-12-19 22:27:45 -05:00
Kyle Spearrin
ac7c7b5077
move some 2fa logic functions to userService
2018-12-19 10:47:53 -05:00
Kyle Spearrin
006cfffab3
new "Challenge" token for U2f
2018-10-10 17:51:38 -04:00
Kyle Spearrin
b5a4bad637
catch u2f exceptions
2018-10-10 15:21:54 -04:00
Kyle Spearrin
bfc74060b6
add support for multiple u2f keys
2018-10-08 14:38:11 -04:00
Kyle Spearrin
9b0bd1a632
only set compromised flag if counter is > 0
2018-10-02 08:39:31 -04:00
Kyle Spearrin
07855a3203
AddIdentityCore for passwordless identity service
2018-09-12 10:35:05 -04:00
Kyle Spearrin
2562d5a40d
reference OrganizationMembership instead
2018-08-31 17:05:27 -04:00
Kyle Spearrin
db3316dd60
token providers cant inject userservice
2018-08-28 22:21:13 -04:00
Kyle Spearrin
cf73b168ee
More CanAccessPremium checks
2018-08-28 17:40:08 -04:00
Kyle Spearrin
c41a1e0936
CanAccessPremium checks instead of User.Premium
2018-08-28 16:23:58 -04:00
Kyle Spearrin
941792bdd8
u2f db updates
2018-07-21 08:44:21 -04:00
Kyle Spearrin
dead022e83
admin base uri setting, applied to login emails
2018-04-16 20:35:53 -04:00
Kyle Spearrin
389512d51e
added org duo to 2fa flow
2018-04-03 14:31:33 -04:00
Kyle Spearrin
7f250a4e74
adminsettings to docker env setup
2018-03-28 10:45:30 -04:00
Kyle Spearrin
6e16581fe8
passwordless signin email
2018-03-21 21:19:03 -04:00
Kyle Spearrin
d35d8185ed
passwordless sign in for admin
2018-03-21 14:26:49 -04:00
Kyle Spearrin
3d9d193bda
passwordless signin for billing portal
2018-03-20 15:00:56 -04:00
Kyle Spearrin
857ad5b194
remove cookie auth from useidentity
2017-10-06 14:02:28 -04:00
Kyle Spearrin
b5836c524f
update yubico lib that is netcore compat
2017-08-10 09:49:50 -04:00
Kyle Spearrin
3880edfb79
add x-platform support with netcore 2.0
2017-07-31 16:58:27 -04:00
Kyle Spearrin
65a7d0001e
change duo username to email
2017-07-24 14:39:41 -04:00
Kyle Spearrin
5a4bfe4e61
update libs and cleanup
2017-07-14 09:06:35 -04:00
Kyle Spearrin
12af24e5f8
async fix
2017-07-06 16:58:26 -04:00
Kyle Spearrin
295d6510a9
premium checks on 2fa providers
2017-07-06 16:56:12 -04:00
Kyle Spearrin
87a216e523
verify email apis
2017-07-05 15:35:46 -04:00
Kyle Spearrin
97ad8bd943
verify email apis and emails
2017-07-01 23:20:19 -04:00
Kyle Spearrin
59b8438a0f
update u2f lib. send 2fa login email
2017-06-24 09:20:12 -04:00
Kyle Spearrin
15dcb43f44
remember two factor token
2017-06-23 10:08:53 -04:00
Kyle Spearrin
ca979e0c40
u2f fixes
2017-06-22 22:14:51 -04:00
Kyle Spearrin
f28ae5ccd9
fixes for configuring u2f device
2017-06-22 17:03:35 -04:00
Kyle Spearrin
3ae96bd510
u2f token provider
2017-06-22 09:09:51 -04:00
Kyle Spearrin
fd5e2c9466
stubbing out api setup for u2f
2017-06-21 21:46:52 -04:00
Kyle Spearrin
7095ae0ea1
Duo WebSDK Token Provider
2017-06-21 00:04:25 -04:00
Kyle Spearrin
69de88cc32
yubikey setup for 2FA
2017-06-20 14:12:31 -04:00
Kyle Spearrin
612697e815
refactorings around two-factor controller
2017-06-20 10:08:59 -04:00
Kyle Spearrin
2eaaecd95c
remove user twofactorenabled property
2017-06-19 22:25:19 -04:00
Kyle Spearrin
1fc441b6e8
yubico global settings
2017-06-14 22:40:33 -04:00
Kyle Spearrin
e712b2ded0
yubico otp token provider
2017-06-12 23:16:38 -04:00
Kyle Spearrin
314d591f36
Duo API and token provider
2017-06-12 21:23:02 -04:00
Kyle Spearrin
ecc2468409
refactor code to with user TwoFactorProviders
2017-06-07 14:14:34 -04:00
Kyle Spearrin
d8c0994ed3
remove deprecated jwt bearer authentication method
2017-06-06 23:19:42 -04:00
Kyle Spearrin
c95d39f563
notification hub push registration service
2017-05-26 00:50:27 -04:00