@@ -1,39 +1,39 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * |
|
4 | - * @copyright (c) 2015, Paul Sohier |
|
5 | - * @copyright (c) 2014 Yubico AB |
|
6 | - * @license BSD-2-Clause |
|
7 | - * |
|
8 | - * |
|
9 | - * Orignal Copyright: |
|
10 | - * Copyright (c) 2014 Yubico AB |
|
11 | - * All rights reserved. |
|
12 | - * |
|
13 | - * Redistribution and use in source and binary forms, with or without |
|
14 | - * modification, are permitted provided that the following conditions are |
|
15 | - * met: |
|
16 | - * |
|
17 | - * * Redistributions of source code must retain the above copyright |
|
18 | - * notice, this list of conditions and the following disclaimer. |
|
19 | - * |
|
20 | - * * Redistributions in binary form must reproduce the above |
|
21 | - * copyright notice, this list of conditions and the following |
|
22 | - * disclaimer in the documentation and/or other materials provided |
|
23 | - * with the distribution. |
|
24 | - * |
|
25 | - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
|
26 | - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
|
27 | - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
|
28 | - * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
|
29 | - * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
|
30 | - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
|
31 | - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
|
32 | - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
|
33 | - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
|
34 | - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
|
35 | - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
|
36 | - */ |
|
3 | + * |
|
4 | + * @copyright (c) 2015, Paul Sohier |
|
5 | + * @copyright (c) 2014 Yubico AB |
|
6 | + * @license BSD-2-Clause |
|
7 | + * |
|
8 | + * |
|
9 | + * Orignal Copyright: |
|
10 | + * Copyright (c) 2014 Yubico AB |
|
11 | + * All rights reserved. |
|
12 | + * |
|
13 | + * Redistribution and use in source and binary forms, with or without |
|
14 | + * modification, are permitted provided that the following conditions are |
|
15 | + * met: |
|
16 | + * |
|
17 | + * * Redistributions of source code must retain the above copyright |
|
18 | + * notice, this list of conditions and the following disclaimer. |
|
19 | + * |
|
20 | + * * Redistributions in binary form must reproduce the above |
|
21 | + * copyright notice, this list of conditions and the following |
|
22 | + * disclaimer in the documentation and/or other materials provided |
|
23 | + * with the distribution. |
|
24 | + * |
|
25 | + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
|
26 | + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
|
27 | + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
|
28 | + * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
|
29 | + * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
|
30 | + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
|
31 | + * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
|
32 | + * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
|
33 | + * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
|
34 | + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
|
35 | + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
|
36 | + */ |
|
37 | 37 | |
38 | 38 | namespace paul999\u2f; |
39 | 39 |
@@ -156,7 +156,7 @@ discard block |
||
156 | 156 | { |
157 | 157 | $sigs = array(); |
158 | 158 | foreach ($registrations as $reg) { |
159 | - if (! ($reg instanceof Registration)) { |
|
159 | + if (!($reg instanceof Registration)) { |
|
160 | 160 | throw new \InvalidArgumentException('$registrations of getAuthenticateData() method only accepts array of object.'); |
161 | 161 | } |
162 | 162 | $sigs[] = new SignRequest($this->createChallenge(), $reg->keyHandle, $this->appId); |
@@ -176,7 +176,7 @@ discard block |
||
176 | 176 | * @var SignRequest $req |
177 | 177 | */ |
178 | 178 | foreach ($requests as $req) { |
179 | - if (! ($req instanceof SignRequest)) { |
|
179 | + if (!($req instanceof SignRequest)) { |
|
180 | 180 | throw new \InvalidArgumentException('$requests of doAuthenticate() method only accepts array of SignRequest.'); |
181 | 181 | } |
182 | 182 |
@@ -1,39 +1,39 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * |
|
4 | - * @copyright (c) 2015, Paul Sohier |
|
5 | - * @copyright (c) 2014 Yubico AB |
|
6 | - * @license BSD-2-Clause |
|
7 | - * |
|
8 | - * |
|
9 | - * Orignal Copyright: |
|
10 | - * Copyright (c) 2014 Yubico AB |
|
11 | - * All rights reserved. |
|
12 | - * |
|
13 | - * Redistribution and use in source and binary forms, with or without |
|
14 | - * modification, are permitted provided that the following conditions are |
|
15 | - * met: |
|
16 | - * |
|
17 | - * * Redistributions of source code must retain the above copyright |
|
18 | - * notice, this list of conditions and the following disclaimer. |
|
19 | - * |
|
20 | - * * Redistributions in binary form must reproduce the above |
|
21 | - * copyright notice, this list of conditions and the following |
|
22 | - * disclaimer in the documentation and/or other materials provided |
|
23 | - * with the distribution. |
|
24 | - * |
|
25 | - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
|
26 | - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
|
27 | - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
|
28 | - * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
|
29 | - * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
|
30 | - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
|
31 | - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
|
32 | - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
|
33 | - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
|
34 | - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
|
35 | - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
|
36 | - */ |
|
3 | + * |
|
4 | + * @copyright (c) 2015, Paul Sohier |
|
5 | + * @copyright (c) 2014 Yubico AB |
|
6 | + * @license BSD-2-Clause |
|
7 | + * |
|
8 | + * |
|
9 | + * Orignal Copyright: |
|
10 | + * Copyright (c) 2014 Yubico AB |
|
11 | + * All rights reserved. |
|
12 | + * |
|
13 | + * Redistribution and use in source and binary forms, with or without |
|
14 | + * modification, are permitted provided that the following conditions are |
|
15 | + * met: |
|
16 | + * |
|
17 | + * * Redistributions of source code must retain the above copyright |
|
18 | + * notice, this list of conditions and the following disclaimer. |
|
19 | + * |
|
20 | + * * Redistributions in binary form must reproduce the above |
|
21 | + * copyright notice, this list of conditions and the following |
|
22 | + * disclaimer in the documentation and/or other materials provided |
|
23 | + * with the distribution. |
|
24 | + * |
|
25 | + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
|
26 | + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
|
27 | + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
|
28 | + * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
|
29 | + * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
|
30 | + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
|
31 | + * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
|
32 | + * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
|
33 | + * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
|
34 | + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
|
35 | + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
|
36 | + */ |
|
37 | 37 | |
38 | 38 | namespace paul999\u2f; |
39 | 39 |
@@ -1,39 +1,39 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * |
|
4 | - * @copyright (c) 2015, Paul Sohier |
|
5 | - * @copyright (c) 2014 Yubico AB |
|
6 | - * @license BSD-2-Clause |
|
7 | - * |
|
8 | - * |
|
9 | - * Orignal Copyright: |
|
10 | - * Copyright (c) 2014 Yubico AB |
|
11 | - * All rights reserved. |
|
12 | - * |
|
13 | - * Redistribution and use in source and binary forms, with or without |
|
14 | - * modification, are permitted provided that the following conditions are |
|
15 | - * met: |
|
16 | - * |
|
17 | - * * Redistributions of source code must retain the above copyright |
|
18 | - * notice, this list of conditions and the following disclaimer. |
|
19 | - * |
|
20 | - * * Redistributions in binary form must reproduce the above |
|
21 | - * copyright notice, this list of conditions and the following |
|
22 | - * disclaimer in the documentation and/or other materials provided |
|
23 | - * with the distribution. |
|
24 | - * |
|
25 | - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
|
26 | - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
|
27 | - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
|
28 | - * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
|
29 | - * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
|
30 | - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
|
31 | - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
|
32 | - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
|
33 | - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
|
34 | - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
|
35 | - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
|
36 | - */ |
|
3 | + * |
|
4 | + * @copyright (c) 2015, Paul Sohier |
|
5 | + * @copyright (c) 2014 Yubico AB |
|
6 | + * @license BSD-2-Clause |
|
7 | + * |
|
8 | + * |
|
9 | + * Orignal Copyright: |
|
10 | + * Copyright (c) 2014 Yubico AB |
|
11 | + * All rights reserved. |
|
12 | + * |
|
13 | + * Redistribution and use in source and binary forms, with or without |
|
14 | + * modification, are permitted provided that the following conditions are |
|
15 | + * met: |
|
16 | + * |
|
17 | + * * Redistributions of source code must retain the above copyright |
|
18 | + * notice, this list of conditions and the following disclaimer. |
|
19 | + * |
|
20 | + * * Redistributions in binary form must reproduce the above |
|
21 | + * copyright notice, this list of conditions and the following |
|
22 | + * disclaimer in the documentation and/or other materials provided |
|
23 | + * with the distribution. |
|
24 | + * |
|
25 | + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
|
26 | + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
|
27 | + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
|
28 | + * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
|
29 | + * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
|
30 | + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
|
31 | + * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
|
32 | + * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
|
33 | + * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
|
34 | + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
|
35 | + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
|
36 | + */ |
|
37 | 37 | |
38 | 38 | namespace paul999\u2f; |
39 | 39 |
@@ -1,39 +1,39 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * |
|
4 | - * @copyright (c) 2015, Paul Sohier |
|
5 | - * @copyright (c) 2014 Yubico AB |
|
6 | - * @license BSD-2-Clause |
|
7 | - * |
|
8 | - * |
|
9 | - * Orignal Copyright: |
|
10 | - * Copyright (c) 2014 Yubico AB |
|
11 | - * All rights reserved. |
|
12 | - * |
|
13 | - * Redistribution and use in source and binary forms, with or without |
|
14 | - * modification, are permitted provided that the following conditions are |
|
15 | - * met: |
|
16 | - * |
|
17 | - * * Redistributions of source code must retain the above copyright |
|
18 | - * notice, this list of conditions and the following disclaimer. |
|
19 | - * |
|
20 | - * * Redistributions in binary form must reproduce the above |
|
21 | - * copyright notice, this list of conditions and the following |
|
22 | - * disclaimer in the documentation and/or other materials provided |
|
23 | - * with the distribution. |
|
24 | - * |
|
25 | - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
|
26 | - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
|
27 | - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
|
28 | - * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
|
29 | - * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
|
30 | - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
|
31 | - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
|
32 | - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
|
33 | - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
|
34 | - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
|
35 | - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
|
36 | - */ |
|
3 | + * |
|
4 | + * @copyright (c) 2015, Paul Sohier |
|
5 | + * @copyright (c) 2014 Yubico AB |
|
6 | + * @license BSD-2-Clause |
|
7 | + * |
|
8 | + * |
|
9 | + * Orignal Copyright: |
|
10 | + * Copyright (c) 2014 Yubico AB |
|
11 | + * All rights reserved. |
|
12 | + * |
|
13 | + * Redistribution and use in source and binary forms, with or without |
|
14 | + * modification, are permitted provided that the following conditions are |
|
15 | + * met: |
|
16 | + * |
|
17 | + * * Redistributions of source code must retain the above copyright |
|
18 | + * notice, this list of conditions and the following disclaimer. |
|
19 | + * |
|
20 | + * * Redistributions in binary form must reproduce the above |
|
21 | + * copyright notice, this list of conditions and the following |
|
22 | + * disclaimer in the documentation and/or other materials provided |
|
23 | + * with the distribution. |
|
24 | + * |
|
25 | + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
|
26 | + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
|
27 | + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
|
28 | + * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
|
29 | + * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
|
30 | + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
|
31 | + * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
|
32 | + * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
|
33 | + * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
|
34 | + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
|
35 | + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
|
36 | + */ |
|
37 | 37 | |
38 | 38 | namespace paul999\u2f; |
39 | 39 |
@@ -1,39 +1,39 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * |
|
4 | - * @copyright (c) 2015, Paul Sohier |
|
5 | - * @copyright (c) 2014 Yubico AB |
|
6 | - * @license BSD-2-Clause |
|
7 | - * |
|
8 | - * |
|
9 | - * Orignal Copyright: |
|
10 | - * Copyright (c) 2014 Yubico AB |
|
11 | - * All rights reserved. |
|
12 | - * |
|
13 | - * Redistribution and use in source and binary forms, with or without |
|
14 | - * modification, are permitted provided that the following conditions are |
|
15 | - * met: |
|
16 | - * |
|
17 | - * * Redistributions of source code must retain the above copyright |
|
18 | - * notice, this list of conditions and the following disclaimer. |
|
19 | - * |
|
20 | - * * Redistributions in binary form must reproduce the above |
|
21 | - * copyright notice, this list of conditions and the following |
|
22 | - * disclaimer in the documentation and/or other materials provided |
|
23 | - * with the distribution. |
|
24 | - * |
|
25 | - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
|
26 | - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
|
27 | - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
|
28 | - * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
|
29 | - * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
|
30 | - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
|
31 | - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
|
32 | - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
|
33 | - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
|
34 | - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
|
35 | - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
|
36 | - */ |
|
3 | + * |
|
4 | + * @copyright (c) 2015, Paul Sohier |
|
5 | + * @copyright (c) 2014 Yubico AB |
|
6 | + * @license BSD-2-Clause |
|
7 | + * |
|
8 | + * |
|
9 | + * Orignal Copyright: |
|
10 | + * Copyright (c) 2014 Yubico AB |
|
11 | + * All rights reserved. |
|
12 | + * |
|
13 | + * Redistribution and use in source and binary forms, with or without |
|
14 | + * modification, are permitted provided that the following conditions are |
|
15 | + * met: |
|
16 | + * |
|
17 | + * * Redistributions of source code must retain the above copyright |
|
18 | + * notice, this list of conditions and the following disclaimer. |
|
19 | + * |
|
20 | + * * Redistributions in binary form must reproduce the above |
|
21 | + * copyright notice, this list of conditions and the following |
|
22 | + * disclaimer in the documentation and/or other materials provided |
|
23 | + * with the distribution. |
|
24 | + * |
|
25 | + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
|
26 | + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
|
27 | + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
|
28 | + * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
|
29 | + * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
|
30 | + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
|
31 | + * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
|
32 | + * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
|
33 | + * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
|
34 | + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
|
35 | + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
|
36 | + */ |
|
37 | 37 | |
38 | 38 | namespace paul999\u2f; |
39 | 39 |
@@ -1,39 +1,39 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * |
|
4 | - * @copyright (c) 2015, Paul Sohier |
|
5 | - * @copyright (c) 2014 Yubico AB |
|
6 | - * @license BSD-2-Clause |
|
7 | - * |
|
8 | - * |
|
9 | - * Orignal Copyright: |
|
10 | - * Copyright (c) 2014 Yubico AB |
|
11 | - * All rights reserved. |
|
12 | - * |
|
13 | - * Redistribution and use in source and binary forms, with or without |
|
14 | - * modification, are permitted provided that the following conditions are |
|
15 | - * met: |
|
16 | - * |
|
17 | - * * Redistributions of source code must retain the above copyright |
|
18 | - * notice, this list of conditions and the following disclaimer. |
|
19 | - * |
|
20 | - * * Redistributions in binary form must reproduce the above |
|
21 | - * copyright notice, this list of conditions and the following |
|
22 | - * disclaimer in the documentation and/or other materials provided |
|
23 | - * with the distribution. |
|
24 | - * |
|
25 | - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
|
26 | - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
|
27 | - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
|
28 | - * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
|
29 | - * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
|
30 | - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
|
31 | - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
|
32 | - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
|
33 | - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
|
34 | - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
|
35 | - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
|
36 | - */ |
|
3 | + * |
|
4 | + * @copyright (c) 2015, Paul Sohier |
|
5 | + * @copyright (c) 2014 Yubico AB |
|
6 | + * @license BSD-2-Clause |
|
7 | + * |
|
8 | + * |
|
9 | + * Orignal Copyright: |
|
10 | + * Copyright (c) 2014 Yubico AB |
|
11 | + * All rights reserved. |
|
12 | + * |
|
13 | + * Redistribution and use in source and binary forms, with or without |
|
14 | + * modification, are permitted provided that the following conditions are |
|
15 | + * met: |
|
16 | + * |
|
17 | + * * Redistributions of source code must retain the above copyright |
|
18 | + * notice, this list of conditions and the following disclaimer. |
|
19 | + * |
|
20 | + * * Redistributions in binary form must reproduce the above |
|
21 | + * copyright notice, this list of conditions and the following |
|
22 | + * disclaimer in the documentation and/or other materials provided |
|
23 | + * with the distribution. |
|
24 | + * |
|
25 | + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
|
26 | + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
|
27 | + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
|
28 | + * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
|
29 | + * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
|
30 | + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
|
31 | + * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
|
32 | + * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
|
33 | + * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
|
34 | + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
|
35 | + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
|
36 | + */ |
|
37 | 37 | namespace paul999\u2f; |
38 | 38 | |
39 | 39 | use paul999\u2f\Exceptions\U2fError; |