From e6157e26f2a6e27ca99daa9cceb6fb6547f0107c Mon Sep 17 00:00:00 2001 From: Ralf Eggert Date: Sat, 27 Oct 2018 06:47:23 +0200 Subject: [PATCH] Added more permissions --- src/Response/Card/AskForPermissionsConsent.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Response/Card/AskForPermissionsConsent.php b/src/Response/Card/AskForPermissionsConsent.php index e55aefc..adef1bc 100644 --- a/src/Response/Card/AskForPermissionsConsent.php +++ b/src/Response/Card/AskForPermissionsConsent.php @@ -25,6 +25,10 @@ class AskForPermissionsConsent implements CardInterface public const READ_ALEXA_HOUSEHOLD_LIST = 'read::alexa:household:list'; public const READ_ALEXA_DEVICE_ALL_ADDRESS = 'read::alexa:device:all:address'; public const READ_ALEXA_DEVICE_ALL_ADDRESS_COUNTRY = 'read::alexa:device:all:address:country_and_postal_code'; + public const ALEXA_PROFILE_NAME_READ = 'alexa::profile:name:read'; + public const ALEXA_PROFILE_GIVEN_NAME_READ = 'alexa::profile:given_name:read'; + public const ALEXA_PROFILE_EMAIL_READ = 'alexa::profile:email:read'; + public const ALEXA_PROFILE_MOBILE_NUMBER_READ = 'alexa::profile:mobile_number:read'; /** @var array */ private $permissions = []; @@ -34,7 +38,6 @@ class AskForPermissionsConsent implements CardInterface * * @param array $permissions */ - public function __construct(array $permissions) { $this->setPermissions($permissions);