[ 'offline_access', 'https://outlook.office.com/SMTP.Send', // 'https://outlook.office.com/IMAP.AccessAsUser.All' ], ]; public function __construct(array $options = [], array $collaborators = []) { // Configurazioni specifiche per il provider di Microsoft Azure $config = array_merge($options, [ 'defaultEndPointVersion' => parent::ENDPOINT_VERSION_2_0, 'tenant' => $options['tenant_id'], ]); parent::__construct($config, $collaborators); } public function getOptions() { return self::$options; } public static function getConfigInputs() { return [ 'tenant_id' => [ 'label' => 'Tenant ID', 'type' => 'text', 'required' => true, ], ]; } }