Chatterino
Public Member Functions | Static Public Member Functions | List of all members
chatterino::Credentials Class Reference

#include <Credentials.hpp>

Public Member Functions

void get (const QString &provider, const QString &name, QObject *receiver, std::function< void(const QString &)> &&onLoaded)
 
void set (const QString &provider, const QString &name, const QString &credential)
 
void erase (const QString &provider, const QString &name)
 

Static Public Member Functions

static Credentialsinstance ()
 

Member Function Documentation

◆ erase()

void chatterino::Credentials::erase ( const QString &  provider,
const QString &  name 
)
Here is the caller graph for this function:

◆ get()

void chatterino::Credentials::get ( const QString &  provider,
const QString &  name,
QObject *  receiver,
std::function< void(const QString &)> &&  onLoaded 
)
Here is the caller graph for this function:

◆ instance()

Credentials & chatterino::Credentials::instance ( )
static
Here is the caller graph for this function:

◆ set()

void chatterino::Credentials::set ( const QString &  provider,
const QString &  name,
const QString &  credential 
)

On linux, we try to use a keychain but show a message to disable it when it fails. XXX: add said message

Here is the caller graph for this function:

The documentation for this class was generated from the following files: