KiCad PCB EDA Suite
Loading...
Searching...
No Matches
KIPLATFORM::SECRETS Namespace Reference

Functions

bool StoreSecret (const wxString &aService, const wxString &aKey, const wxString &aSecret)
 
bool GetSecret (const wxString &aService, const wxString &aKey, wxString &aSecret)
 

Variables

static const SecretSchema schema
 

Function Documentation

◆ GetSecret()

bool KIPLATFORM::SECRETS::GetSecret ( const wxString &  aService,
const wxString &  aKey,
wxString &  aSecret 
)

Definition at line 62 of file unix/secrets.cpp.

References schema.

Referenced by PANEL_GIT_REPOS::TransferDataToWindow().

◆ StoreSecret()

bool KIPLATFORM::SECRETS::StoreSecret ( const wxString &  aService,
const wxString &  aKey,
const wxString &  aSecret 
)

Definition at line 38 of file unix/secrets.cpp.

References schema.

Referenced by PANEL_GIT_REPOS::TransferDataFromWindow().

Variable Documentation

◆ schema

const SecretSchema KIPLATFORM::SECRETS::schema
static
Initial value:
=
{
"org.kicad.kicad", SECRET_SCHEMA_NONE,
{
{ "service", SECRET_SCHEMA_ATTRIBUTE_STRING },
{ "key", SECRET_SCHEMA_ATTRIBUTE_STRING },
{ nullptr, SECRET_SCHEMA_ATTRIBUTE_STRING }
}
}

Definition at line 28 of file unix/secrets.cpp.

Referenced by GetSecret(), and StoreSecret().