-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #50 from privacyidea/46-upgrade-upgrade-to-php-80
46 upgrade to php 8.0
- Loading branch information
Showing
20 changed files
with
624 additions
and
565 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,18 @@ | ||
### v1.0.0 27-01-2023 | ||
### v2.0.0 | ||
* Added an optional client parameter to forward the client IP with the server requests (#17) | ||
* Code updated to support PHP8 (#46) | ||
* Tests will be temporarily disabled until modernization of http-mock is complete (#46) | ||
* PrivacyIDEA and PIResponse classes made private (#51) | ||
|
||
### v1.0.0 | ||
* Added a possibility to enroll a new token via challenge (#23) | ||
* Implementation of the preferred client mode (#20) | ||
|
||
### v0.9.3 24-01-2022 | ||
### v0.9.3 | ||
|
||
* Supporting following tokens: OTP, Push, WebAuthn, U2F | ||
* Token enrollment in the application | ||
* Multiple WebAuthn | ||
|
||
### v0.9.0 16-06-2021 | ||
### v0.9.0 | ||
* First Version supporting /validate/check and /validate/triggerchallenge endpoints |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,16 @@ | ||
<?php | ||
/* | ||
* Copyright 2024 NetKnights GmbH - [email protected] | ||
* <p> | ||
* Licensed under the GNU AFFERO GENERAL PUBLIC LICENSE Version 3; | ||
* you may not use this file except in compliance with the License. | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
abstract class AuthenticationStatus | ||
{ | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,17 @@ | ||
<?php | ||
|
||
//namespace PrivacyIdea\PHPClient; | ||
/* | ||
* Copyright 2024 NetKnights GmbH - [email protected] | ||
* <p> | ||
* Licensed under the GNU AFFERO GENERAL PUBLIC LICENSE Version 3; | ||
* you may not use this file except in compliance with the License. | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
class PIBadRequestException extends Exception | ||
{ | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,43 @@ | ||
<?php | ||
|
||
//namespace PrivacyIdea\PHPClient; | ||
/* | ||
* Copyright 2024 NetKnights GmbH - [email protected] | ||
* <p> | ||
* Licensed under the GNU AFFERO GENERAL PUBLIC LICENSE Version 3; | ||
* you may not use this file except in compliance with the License. | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
class PIChallenge | ||
{ | ||
/* @var string Type of the token this challenge is for. */ | ||
public $type = ""; | ||
/* @var string Type of token this challenge is for. */ | ||
public string $type = ""; | ||
|
||
/* @var string Message for this challenge. */ | ||
public $message = ""; | ||
/* @var string Message extracted from this challenge. */ | ||
public string $message = ""; | ||
|
||
/* @var string Image data for this challenge. */ | ||
public $image = ""; | ||
/* @var string Image data extracted from this challenge. */ | ||
public string $image = ""; | ||
|
||
/* @var string TransactionId to reference this challenge in later requests. */ | ||
public $transactionID = ""; | ||
public string $transactionID = ""; | ||
|
||
/* @var string Client mode in which the challenge should be processed. */ | ||
public $clientMode = ""; | ||
public string $clientMode = ""; | ||
|
||
/* @var string Serial of the token this challenge is for. */ | ||
public $serial = ""; | ||
/* @var string Serial of token this challenge is for. */ | ||
public string $serial = ""; | ||
|
||
/* @var string Arbitrary attributes that can be appended to the challenge by the server. */ | ||
public $attributes = ""; | ||
public string $attributes = ""; | ||
|
||
/* @var string JSON format */ | ||
public $webAuthnSignRequest = ""; | ||
/* @var string WebAuthn sign request in JSON format */ | ||
public string $webAuthnSignRequest = ""; | ||
|
||
/* @var string JSON format */ | ||
public $u2fSignRequest = ""; | ||
/* @var string U2F sign request in JSON format */ | ||
public string $u2fSignRequest = ""; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,21 @@ | ||
<?php | ||
|
||
//namespace PrivacyIdea\PHPClient; | ||
/* | ||
* Copyright 2024 NetKnights GmbH - [email protected] | ||
* <p> | ||
* Licensed under the GNU AFFERO GENERAL PUBLIC LICENSE Version 3; | ||
* you may not use this file except in compliance with the License. | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
/** | ||
* Logging interface. This is used to relay the log messages of the PHP-Client to the logger implementation of the project that uses the client. | ||
* Logging interface. This is used to relay the log | ||
* messages of the PHP-Client to the logger | ||
* implementation of the project that uses the client. | ||
*/ | ||
interface PILog | ||
{ | ||
|
Oops, something went wrong.