silverstripe / silverstripe-webauthn-authenticator

@@ -1,4 +1,6 @@
Loading
1 -
<?php declare(strict_types=1);
1 +
<?php
2 +
3 +
declare(strict_types=1);
2 4
3 5
namespace SilverStripe\WebAuthn;
4 6
@@ -11,10 +13,8 @@
Loading
11 13
use SilverStripe\Core\Config\Configurable;
12 14
use SilverStripe\Core\Extensible;
13 15
use SilverStripe\MFA\Method\Handler\RegisterHandlerInterface;
14 -
use SilverStripe\MFA\Service\RegisteredMethodManager;
15 16
use SilverStripe\MFA\State\Result;
16 17
use SilverStripe\MFA\Store\StoreInterface;
17 -
use SilverStripe\Security\Member;
18 18
use SilverStripe\SiteConfig\SiteConfig;
19 19
use Webauthn\AttestationStatement\AttestationStatementSupportManager;
20 20
use Webauthn\AuthenticationExtensions\AuthenticationExtensionsClientInputs;
@@ -26,7 +26,6 @@
Loading
26 26
use Webauthn\PublicKeyCredentialParameters;
27 27
use Webauthn\PublicKeyCredentialRpEntity;
28 28
use Webauthn\PublicKeyCredentialSource;
29 -
use Webauthn\PublicKeyCredentialUserEntity;
30 29
use Webauthn\TokenBinding\TokenBindingNotSupportedHandler;
31 30
32 31
class RegisterHandler implements RegisterHandlerInterface
@@ -42,7 +41,7 @@
Loading
42 41
     * @config
43 42
     * @var string
44 43
     */
45 -
    private static $user_help_link = 'https://userhelp.silverstripe.org/en/4/optional_features/multi-factor_authentication/user_manual/using_security_keys/'; // phpcs-disable-line
44 +
    private static $user_help_link = 'https://userhelp.silverstripe.org/en/4/optional_features/multi-factor_authentication/user_manual/using_security_keys/'; // phpcs:ignore
46 45
47 46
    /**
48 47
     * The default attachment mode to use for Authentication Selection Criteria.

@@ -1,4 +1,6 @@
Loading
1 -
<?php declare(strict_types=1);
1 +
<?php
2 +
3 +
declare(strict_types=1);
2 4
3 5
namespace SilverStripe\WebAuthn;
4 6

@@ -1,4 +1,6 @@
Loading
1 -
<?php declare(strict_types=1);
1 +
<?php
2 +
3 +
declare(strict_types=1);
2 4
3 5
namespace SilverStripe\WebAuthn;
4 6

@@ -1,4 +1,6 @@
Loading
1 -
<?php declare(strict_types=1);
1 +
<?php
2 +
3 +
declare(strict_types=1);
2 4
3 5
namespace SilverStripe\WebAuthn;
4 6

@@ -1,4 +1,6 @@
Loading
1 -
<?php declare(strict_types=1);
1 +
<?php
2 +
3 +
declare(strict_types=1);
2 4
3 5
namespace SilverStripe\WebAuthn;
4 6

@@ -1,4 +1,6 @@
Loading
1 -
<?php declare(strict_types=1);
1 +
<?php
2 +
3 +
declare(strict_types=1);
2 4
3 5
namespace SilverStripe\WebAuthn;
4 6
Files Complexity Coverage
client/src 0 84.82%
src 77 83.90%
Project Totals (15 files) 77 84.31%
195.5
10=-F0
TRAVIS_OS_NAME=linux
js
195.4
10=-f0
TRAVIS_OS_NAME=linux

No yaml found.

Create your codecov.yml to customize your Codecov experience

Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading