mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 02:44:53 +00:00
Reintroduce Webklex IMAP for ticket processing as PHP-IMAP is no longer being developed. This is optional for now and considered beta can be found in cron/ticket_email_parser.php
This commit is contained in:
10
plugins/vendor/illuminate/contracts/Encryption/DecryptException.php
vendored
Normal file
10
plugins/vendor/illuminate/contracts/Encryption/DecryptException.php
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace Illuminate\Contracts\Encryption;
|
||||
|
||||
use RuntimeException;
|
||||
|
||||
class DecryptException extends RuntimeException
|
||||
{
|
||||
//
|
||||
}
|
||||
10
plugins/vendor/illuminate/contracts/Encryption/EncryptException.php
vendored
Normal file
10
plugins/vendor/illuminate/contracts/Encryption/EncryptException.php
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace Illuminate\Contracts\Encryption;
|
||||
|
||||
use RuntimeException;
|
||||
|
||||
class EncryptException extends RuntimeException
|
||||
{
|
||||
//
|
||||
}
|
||||
49
plugins/vendor/illuminate/contracts/Encryption/Encrypter.php
vendored
Normal file
49
plugins/vendor/illuminate/contracts/Encryption/Encrypter.php
vendored
Normal file
@@ -0,0 +1,49 @@
|
||||
<?php
|
||||
|
||||
namespace Illuminate\Contracts\Encryption;
|
||||
|
||||
interface Encrypter
|
||||
{
|
||||
/**
|
||||
* Encrypt the given value.
|
||||
*
|
||||
* @param mixed $value
|
||||
* @param bool $serialize
|
||||
* @return string
|
||||
*
|
||||
* @throws \Illuminate\Contracts\Encryption\EncryptException
|
||||
*/
|
||||
public function encrypt(#[\SensitiveParameter] $value, $serialize = true);
|
||||
|
||||
/**
|
||||
* Decrypt the given value.
|
||||
*
|
||||
* @param string $payload
|
||||
* @param bool $unserialize
|
||||
* @return mixed
|
||||
*
|
||||
* @throws \Illuminate\Contracts\Encryption\DecryptException
|
||||
*/
|
||||
public function decrypt($payload, $unserialize = true);
|
||||
|
||||
/**
|
||||
* Get the encryption key that the encrypter is currently using.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getKey();
|
||||
|
||||
/**
|
||||
* Get the current encryption key and all previous encryption keys.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function getAllKeys();
|
||||
|
||||
/**
|
||||
* Get the previous encryption keys.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function getPreviousKeys();
|
||||
}
|
||||
26
plugins/vendor/illuminate/contracts/Encryption/StringEncrypter.php
vendored
Normal file
26
plugins/vendor/illuminate/contracts/Encryption/StringEncrypter.php
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
|
||||
namespace Illuminate\Contracts\Encryption;
|
||||
|
||||
interface StringEncrypter
|
||||
{
|
||||
/**
|
||||
* Encrypt a string without serialization.
|
||||
*
|
||||
* @param string $value
|
||||
* @return string
|
||||
*
|
||||
* @throws \Illuminate\Contracts\Encryption\EncryptException
|
||||
*/
|
||||
public function encryptString(#[\SensitiveParameter] $value);
|
||||
|
||||
/**
|
||||
* Decrypt the given string without unserialization.
|
||||
*
|
||||
* @param string $payload
|
||||
* @return string
|
||||
*
|
||||
* @throws \Illuminate\Contracts\Encryption\DecryptException
|
||||
*/
|
||||
public function decryptString($payload);
|
||||
}
|
||||
Reference in New Issue
Block a user