Skip to content

Commit 2d9e41e

Browse files
author
Peter
committed
update
1 parent 83b8060 commit 2d9e41e

File tree

15 files changed

+109
-111
lines changed

15 files changed

+109
-111
lines changed

composer.json

Lines changed: 19 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,22 @@
11
{
2-
"name": "lbuchs/webauthn",
3-
"description": "A simple PHP WebAuthn (FIDO2) server library",
4-
"keywords": [
5-
"webauthn", "authentication", "passkey"
6-
],
7-
"homepage": "https://github.com/lbuchs/webauthn",
8-
"license": "MIT",
9-
"authors": [
10-
{
11-
"name": "Lukas Buchs",
12-
"role": "Developer"
13-
}
14-
],
15-
"require": {
16-
"php" : ">=8.0.0",
17-
"ext-openssl": "*",
18-
"ext-mbstring": "*"
19-
},
20-
"autoload": {
21-
"psr-4": {
22-
"lbuchs\\WebAuthn\\": "src"
23-
}
2+
"name": "onetech/webauthn",
3+
"description": "A simple PHP WebAuthn (FIDO2) server library",
4+
"keywords": [
5+
"webauthn",
6+
"authentication",
7+
"passkey"
8+
],
9+
"homepage": "https://github.com/onetech/webauthn",
10+
"license": "MIT",
11+
"require": {
12+
"php": ">=8.0.0",
13+
"ext-openssl": "*",
14+
"ext-mbstring": "*",
15+
"ext-curl": "*"
16+
},
17+
"autoload": {
18+
"psr-4": {
19+
"Onetech\\WebAuthn\\": "src"
2420
}
21+
}
2522
}

src/Attestation/AttestationObject.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?php
22

3-
namespace lbuchs\WebAuthn\Attestation;
4-
use lbuchs\WebAuthn\WebAuthnException;
5-
use lbuchs\WebAuthn\CBOR\CborDecoder;
6-
use lbuchs\WebAuthn\Binary\ByteBuffer;
3+
namespace Onetech\WebAuthn\Attestation;
4+
use Onetech\WebAuthn\WebAuthnException;
5+
use Onetech\WebAuthn\CBOR\CborDecoder;
6+
use Onetech\WebAuthn\Binary\ByteBuffer;
77

88
/**
99
* @author Lukas Buchs

src/Attestation/AuthenticatorData.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?php
22

3-
namespace lbuchs\WebAuthn\Attestation;
4-
use lbuchs\WebAuthn\WebAuthnException;
5-
use lbuchs\WebAuthn\CBOR\CborDecoder;
6-
use lbuchs\WebAuthn\Binary\ByteBuffer;
3+
namespace Onetech\WebAuthn\Attestation;
4+
use Onetech\WebAuthn\WebAuthnException;
5+
use Onetech\WebAuthn\CBOR\CborDecoder;
6+
use Onetech\WebAuthn\Binary\ByteBuffer;
77

88
/**
99
* @author Lukas Buchs

src/Attestation/Format/AndroidKey.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?php
22

3-
namespace lbuchs\WebAuthn\Attestation\Format;
4-
use lbuchs\WebAuthn\Attestation\AuthenticatorData;
5-
use lbuchs\WebAuthn\WebAuthnException;
6-
use lbuchs\WebAuthn\Binary\ByteBuffer;
3+
namespace Onetech\WebAuthn\Attestation\Format;
4+
use Onetech\WebAuthn\Attestation\AuthenticatorData;
5+
use Onetech\WebAuthn\WebAuthnException;
6+
use Onetech\WebAuthn\Binary\ByteBuffer;
77

88
class AndroidKey extends FormatBase {
99
private $_alg;

src/Attestation/Format/AndroidSafetyNet.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<?php
22

33

4-
namespace lbuchs\WebAuthn\Attestation\Format;
5-
use lbuchs\WebAuthn\Attestation\AuthenticatorData;
6-
use lbuchs\WebAuthn\WebAuthnException;
7-
use lbuchs\WebAuthn\Binary\ByteBuffer;
4+
namespace Onetech\WebAuthn\Attestation\Format;
5+
use Onetech\WebAuthn\Attestation\AuthenticatorData;
6+
use Onetech\WebAuthn\WebAuthnException;
7+
use Onetech\WebAuthn\Binary\ByteBuffer;
88

99
class AndroidSafetyNet extends FormatBase {
1010
private $_signature;

src/Attestation/Format/Apple.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<?php
22

33

4-
namespace lbuchs\WebAuthn\Attestation\Format;
5-
use lbuchs\WebAuthn\Attestation\AuthenticatorData;
6-
use lbuchs\WebAuthn\WebAuthnException;
7-
use lbuchs\WebAuthn\Binary\ByteBuffer;
4+
namespace Onetech\WebAuthn\Attestation\Format;
5+
use Onetech\WebAuthn\Attestation\AuthenticatorData;
6+
use Onetech\WebAuthn\WebAuthnException;
7+
use Onetech\WebAuthn\Binary\ByteBuffer;
88

99
class Apple extends FormatBase {
1010
private $_x5c;

src/Attestation/Format/FormatBase.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?php
22

33

4-
namespace lbuchs\WebAuthn\Attestation\Format;
5-
use lbuchs\WebAuthn\WebAuthnException;
6-
use lbuchs\WebAuthn\Attestation\AuthenticatorData;
4+
namespace Onetech\WebAuthn\Attestation\Format;
5+
use Onetech\WebAuthn\WebAuthnException;
6+
use Onetech\WebAuthn\Attestation\AuthenticatorData;
77

88

99
abstract class FormatBase {

src/Attestation/Format/None.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?php
22

33

4-
namespace lbuchs\WebAuthn\Attestation\Format;
5-
use lbuchs\WebAuthn\Attestation\AuthenticatorData;
6-
use lbuchs\WebAuthn\WebAuthnException;
4+
namespace Onetech\WebAuthn\Attestation\Format;
5+
use Onetech\WebAuthn\Attestation\AuthenticatorData;
6+
use Onetech\WebAuthn\WebAuthnException;
77

88
class None extends FormatBase {
99

src/Attestation/Format/Packed.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<?php
22

33

4-
namespace lbuchs\WebAuthn\Attestation\Format;
5-
use lbuchs\WebAuthn\Attestation\AuthenticatorData;
6-
use lbuchs\WebAuthn\WebAuthnException;
7-
use lbuchs\WebAuthn\Binary\ByteBuffer;
4+
namespace Onetech\WebAuthn\Attestation\Format;
5+
use Onetech\WebAuthn\Attestation\AuthenticatorData;
6+
use Onetech\WebAuthn\WebAuthnException;
7+
use Onetech\WebAuthn\Binary\ByteBuffer;
88

99
class Packed extends FormatBase {
1010
private $_alg;

src/Attestation/Format/Tpm.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<?php
22

33

4-
namespace lbuchs\WebAuthn\Attestation\Format;
5-
use lbuchs\WebAuthn\Attestation\AuthenticatorData;
6-
use lbuchs\WebAuthn\WebAuthnException;
7-
use lbuchs\WebAuthn\Binary\ByteBuffer;
4+
namespace Onetech\WebAuthn\Attestation\Format;
5+
use Onetech\WebAuthn\Attestation\AuthenticatorData;
6+
use Onetech\WebAuthn\WebAuthnException;
7+
use Onetech\WebAuthn\Binary\ByteBuffer;
88

99
class Tpm extends FormatBase {
1010
private $_TPM_GENERATED_VALUE = "\xFF\x54\x43\x47";

0 commit comments

Comments
 (0)