diff --git a/README.md b/README.md index 868c2de4..8bbd648b 100755 --- a/README.md +++ b/README.md @@ -300,7 +300,8 @@ $ ./vendor/bin/phpunit tests ## API Coverage * Activity Details - * [X] RememberMe ID `getRememberMeId()` + * [X] Remember Me ID `getRememberMeId()` + * [X] Parent Remember Me ID `getParentRememberMeId()` * [X] Receipt ID `getReceiptId()` * [X] Timestamp `getTimestamp()` // DateTime Object * [X] Application Profile `getApplicationProfile()` diff --git a/composer.json b/composer.json index 4eb5e340..7d2bc2db 100755 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "yoti/yoti-php-sdk", "description": "Yoti SDK for quickly integrating your PHP backend with Yoti", - "version": "1.2.1", + "version": "2.0.0", "keywords": [ "yoti", "sdk" diff --git a/examples/.env.dev b/examples/.env.dev new file mode 100644 index 00000000..79a10f5f --- /dev/null +++ b/examples/.env.dev @@ -0,0 +1,13 @@ +# This file is a template for defining the environment variables +# Set the application config values here + +YOTI_APP_ID=xxxxxxxxxxxxxxxxxx +YOTI_SCENARIO_ID=xxxxxxxxxxxxxxxx +YOTI_SDK_ID=xxxxxxxxxxxxxxxxxxxxx +# Below is the private key (in .pem format) associated with the Yoti Application you created on Dashboard +YOTI_KEY_FILE_PATH=/path_to_pem_dir/php-sdk-access-security.pem + +# Change the API URLs (optional) +YOTI_CONNECT_API=xxxxxxxxxxxxxxxx +YOTI_QR_URL=xxxxxxxxxxxxxxxx +YOTI_CONNECT_URL=xxxxxxxxxxxxxxxx \ No newline at end of file diff --git a/examples/composer.lock b/examples/composer.lock index 25ba897e..183443eb 100644 --- a/examples/composer.lock +++ b/examples/composer.lock @@ -1,11 +1,10 @@ { "_readme": [ "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", + "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "hash": "7a6c48264e6454ff581a7f0189792926", - "content-hash": "2a81e6ba4478b78c3d08f434b9ed3156", + "content-hash": "5da8436cec4125630cc7875a14bcad6c", "packages": [ { "name": "symfony/dotenv", @@ -62,20 +61,20 @@ "env", "environment" ], - "time": "2017-04-27 07:47:28" + "time": "2017-04-27T07:47:28+00:00" }, { "name": "yoti/yoti-php-sdk", - "version": "1.2.0", + "version": "2.0.0", "source": { "type": "git", "url": "https://github.com/getyoti/yoti-php-sdk.git", - "reference": "59890106c25a19025e1e0914b56e2c38aa979fc5" + "reference": "b214dc5d69216265ba06c9820f85890bb334d61d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/getyoti/yoti-php-sdk/zipball/59890106c25a19025e1e0914b56e2c38aa979fc5", - "reference": "59890106c25a19025e1e0914b56e2c38aa979fc5", + "url": "https://api.github.com/repos/getyoti/yoti-php-sdk/zipball/b214dc5d69216265ba06c9820f85890bb334d61d", + "reference": "b214dc5d69216265ba06c9820f85890bb334d61d", "shasum": "" }, "require": { @@ -91,12 +90,13 @@ "src/phpseclib/bootstrap.php" ], "psr-4": { - "Attrpubapi_v1\\": "src/attrpubapi_v1", - "Compubapi_v1\\": "src/compubapi_v1", + "Attrpubapi\\": "src/Attrpubapi", + "Compubapi\\": "src/Compubapi", "Google\\Protobuf\\": "src/protobuflib/Google/Protobuf", "GPBMetadata\\": "src/protobuflib/GPBMetadata", "phpseclib\\": "src/phpseclib/", - "Yoti\\": "src/Yoti" + "Yoti\\": "src/Yoti", + "YotiSandbox\\": "sandbox/src" } }, "notification-url": "https://packagist.org/downloads/", @@ -131,7 +131,7 @@ "sdk", "yoti" ], - "time": "2018-06-25 09:59:44" + "time": "2019-01-22T16:04:34+00:00" } ], "packages-dev": [], diff --git a/examples/error.php b/examples/error.php index b787eae7..8ec922c3 100644 --- a/examples/error.php +++ b/examples/error.php @@ -6,6 +6,6 @@