Граф коммитов

21 Коммитов

Автор SHA1 Сообщение Дата
dependabot-preview[bot] a4832a65cc
Bump nextcloud/coding-standard from 0.3.0 to 0.5.0
Bumps [nextcloud/coding-standard](https://github.com/nextcloud/coding-standard) from 0.3.0 to 0.5.0.
- [Release notes](https://github.com/nextcloud/coding-standard/releases)
- [Changelog](https://github.com/nextcloud/coding-standard/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/coding-standard/compare/v0.3.0...v0.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-01-20 09:34:50 +01:00
Christoph Wurst b565c1076a
Apply and enforce the Nextcloud coding standard for php
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-12-23 12:44:51 +01:00
Roeland Jago Douma cf17859a70
Move to IEventDispatcher
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-10-04 15:24:48 +02:00
Christoph Wurst bcc191e4ed
Make provider deactivatable by admin
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2018-12-03 11:18:53 +01:00
Joas Schilling 8c8c715dfd
Remove cast to object
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-11-21 11:21:47 +01:00
Christoph Wurst 52e8e9b91c
Fix resetting an array reference
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2018-11-20 12:26:26 +01:00
Christoph Wurst 3afdfe856c Fix authentication/login registration id missing property
As of af674fec3f, the passed
registrations array is stripped and only u2f properties are returned. Hence, the `id` prop gets removed and
we have to look it up in the original data instead.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2018-10-01 15:58:56 +02:00
Christoph Wurst 9259ca5622
Refactor app to use the event system to act on state changes
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2018-07-31 08:05:20 +02:00
Christoph Wurst 2c8b6f6ff3
Add strict types and fix tests
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2018-03-13 12:59:56 +01:00
Christoph Wurst acc7a691a6
Add php7 primitive type hints
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2018-03-13 12:54:43 +01:00
Christoph Wurst d9225e4727
Fix activity type
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2017-05-16 10:12:51 +02:00
Christoph Wurst 16f760d49e
Add possibility to add multiple U2F devices
Users should be able to add as many devices as they like, hence
the interface should allow to list added devices and have a button
to add new ones. To identify devices later, users can give names
to devices.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2017-04-10 08:14:52 +02:00
Christoph Wurst f7fb7700a3
add some unit tests
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2016-12-19 17:46:32 +01:00
Christoph Wurst 69a4ca70af publish activities when a device is added/removed
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2016-12-13 14:37:08 +01:00
Christoph Wurst d05eb76b2c
Use valid PSR4 namespace
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2016-11-07 14:21:00 +01:00
Christoph Wurst 243465006a
use raw protocol + host to build appId instead of base url 2016-08-26 21:39:47 +02:00
Christoph Wurst 022e8ea063 allow users to enable/disable U2F via their personal settings 2016-08-26 15:26:23 +02:00
Christoph Wurst b2ecea2c82 store u2f registration in the database 2016-08-26 14:45:53 +02:00
Christoph Wurst 77ae70eac9
fail gracefully if U2F verification errors occur 2016-08-26 12:49:28 +02:00
Christoph Wurst df1a61a1a8
implement U2F challenge verification 2016-08-26 11:51:53 +02:00
Christoph Wurst c9d5910c72
refactor code into U2FManger 2016-08-26 11:21:03 +02:00