mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-04-22 17:36:29 +02:00
Add support for hidding adapter datas
This commit is contained in:
parent
5c69237169
commit
a226139630
11 changed files with 101 additions and 0 deletions
|
@ -44,6 +44,12 @@ interface AdapterInterface
|
|||
*/
|
||||
public static function meta_hidden(): bool;
|
||||
|
||||
/**
|
||||
* Should this adapter data be hidden after creation
|
||||
* this help to prevent API credentials to other service leak if an attacker gain access to RaspiSMS through user credentials.
|
||||
*/
|
||||
public static function meta_hide_data(): bool;
|
||||
|
||||
/**
|
||||
* Name of the adapter.
|
||||
* It should probably be the name of the service it adapt (e.g : Gammu SMSD, OVH SMS, SIM800L, etc.).
|
||||
|
|
|
@ -66,6 +66,15 @@ namespace adapters;
|
|||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Should this adapter data be hidden after creation
|
||||
* this help to prevent API credentials to other service leak if an attacker gain access to RaspiSMS through user credentials.
|
||||
*/
|
||||
public static function meta_hide_data(): bool
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Name of the adapter.
|
||||
* It should probably be the name of the service it adapt (e.g : Gammu SMSD, OVH SMS, SIM800L, etc.).
|
||||
|
|
|
@ -61,6 +61,15 @@ namespace adapters;
|
|||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Should this adapter data be hidden after creation
|
||||
* this help to prevent API credentials to other service leak if an attacker gain access to RaspiSMS through user credentials.
|
||||
*/
|
||||
public static function meta_hide_data(): bool
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Name of the adapter.
|
||||
* It should probably be the name of the service it adapt (e.g : Gammu SMSD, OVH SMS, SIM800L, etc.).
|
||||
|
|
|
@ -119,6 +119,15 @@ class KannelAdapter implements AdapterInterface
|
|||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Should this adapter data be hidden after creation
|
||||
* this help to prevent API credentials to other service leak if an attacker gain access to RaspiSMS through user credentials.
|
||||
*/
|
||||
public static function meta_hide_data(): bool
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Name of the adapter.
|
||||
|
|
|
@ -97,6 +97,15 @@ class OctopushShortcodeAdapter implements AdapterInterface
|
|||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Should this adapter data be hidden after creation
|
||||
* this help to prevent API credentials to other service leak if an attacker gain access to RaspiSMS through user credentials.
|
||||
*/
|
||||
public static function meta_hide_data(): bool
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Name of the adapter.
|
||||
* It should probably be the name of the service it adapt (e.g : Gammu SMSD, OVH SMS, SIM800L, etc.).
|
||||
|
|
|
@ -96,6 +96,16 @@ class OctopushVirtualNumberAdapter implements AdapterInterface
|
|||
return false;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Should this adapter data be hidden after creation
|
||||
* this help to prevent API credentials to other service leak if an attacker gain access to RaspiSMS through user credentials.
|
||||
*/
|
||||
public static function meta_hide_data(): bool
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Name of the adapter.
|
||||
* It should probably be the name of the service it adapt (e.g : Gammu SMSD, OVH SMS, SIM800L, etc.).
|
||||
|
|
|
@ -72,6 +72,15 @@ namespace adapters;
|
|||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Should this adapter data be hidden after creation
|
||||
* this help to prevent API credentials to other service leak if an attacker gain access to RaspiSMS through user credentials.
|
||||
*/
|
||||
public static function meta_hide_data(): bool
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Name of the adapter.
|
||||
* It should probably be the name of the service it adapt (e.g : Gammu SMSD, OVH SMS, SIM800L, etc.).
|
||||
|
|
|
@ -84,6 +84,15 @@ namespace adapters;
|
|||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Should this adapter data be hidden after creation
|
||||
* this help to prevent API credentials to other service leak if an attacker gain access to RaspiSMS through user credentials.
|
||||
*/
|
||||
public static function meta_hide_data(): bool
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Name of the adapter.
|
||||
* It should probably be the name of the service it adapt (e.g : Gammu SMSD, OVH SMS, SIM800L, etc.).
|
||||
|
|
|
@ -71,6 +71,15 @@ namespace adapters;
|
|||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Should this adapter data be hidden after creation
|
||||
* this help to prevent API credentials to other service leak if an attacker gain access to RaspiSMS through user credentials.
|
||||
*/
|
||||
public static function meta_hide_data(): bool
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Name of the adapter.
|
||||
* It should probably be the name of the service it adapt (e.g : Gammu SMSD, OVH SMS, SIM800L, etc.).
|
||||
|
|
|
@ -83,6 +83,15 @@ class TwilioVirtualNumberAdapter implements AdapterInterface
|
|||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Should this adapter data be hidden after creation
|
||||
* this help to prevent API credentials to other service leak if an attacker gain access to RaspiSMS through user credentials.
|
||||
*/
|
||||
public static function meta_hide_data(): bool
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Name of the adapter.
|
||||
* It should probably be the name of the service it adapt (e.g : Gammu SMSD, OVH SMS, SIM800L, etc.).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue