LibreOffice Module ucb (master) 1
|
#include <auth_provider.hxx>
Public Member Functions | |
AuthProvider (const css::uno::Reference< css::ucb::XCommandEnvironment > &xEnv, OUString sUrl, OUString sBindingUrl) | |
bool | authenticationQuery (std::string &username, std::string &password) override |
std::string | getRefreshToken (std::string &username) |
bool | storeRefreshToken (const std::string &username, const std::string &password, const std::string &refreshToken) |
Static Public Member Functions | |
static char * | copyWebAuthCodeFallback (const char *url, const char *, const char *) |
static void | setXEnv (const css::uno::Reference< css::ucb::XCommandEnvironment > &xEnv) |
static css::uno::Reference< css::ucb::XCommandEnvironment > | getXEnv () |
Private Attributes | |
const css::uno::Reference< css::ucb::XCommandEnvironment > & | m_xEnv |
OUString | m_sUrl |
OUString | m_sBindingUrl |
Static Private Attributes | |
static css::uno::WeakReference< css::ucb::XCommandEnvironment > | sm_xEnv |
Definition at line 26 of file auth_provider.hxx.
|
inline |
Definition at line 34 of file auth_provider.hxx.
|
override |
Definition at line 27 of file auth_provider.cxx.
References m_sBindingUrl, m_sUrl, m_xEnv, OUSTR_TO_STDSTR, and STD_TO_OUSTR.
Referenced by cmis::RepoContent::getRepositories(), and cmis::Content::getSession().
|
static |
Definition at line 166 of file auth_provider.cxx.
References code, getXEnv(), and OUSTR_TO_STDSTR.
Referenced by cmis::RepoContent::getRepositories().
std::string cmis::AuthProvider::getRefreshToken | ( | std::string & | username | ) |
Definition at line 69 of file auth_provider.cxx.
References getXEnv(), m_sBindingUrl, m_sUrl, OUSTR_TO_STDSTR, and STD_TO_OUSTR.
Referenced by cmis::Content::getSession().
|
static |
Definition at line 161 of file auth_provider.cxx.
References sm_xEnv.
Referenced by copyWebAuthCodeFallback(), getRefreshToken(), and storeRefreshToken().
|
static |
Definition at line 156 of file auth_provider.cxx.
References sm_xEnv.
Referenced by cmis::RepoContent::getRepositories().
bool cmis::AuthProvider::storeRefreshToken | ( | const std::string & | username, |
const std::string & | password, | ||
const std::string & | refreshToken | ||
) |
Definition at line 125 of file auth_provider.cxx.
References getXEnv(), m_sBindingUrl, and STD_TO_OUSTR.
Referenced by cmis::Content::getSession().
|
private |
Definition at line 31 of file auth_provider.hxx.
Referenced by authenticationQuery(), getRefreshToken(), and storeRefreshToken().
|
private |
Definition at line 30 of file auth_provider.hxx.
Referenced by authenticationQuery(), and getRefreshToken().
|
private |
Definition at line 28 of file auth_provider.hxx.
Referenced by authenticationQuery().
|
staticprivate |
Definition at line 29 of file auth_provider.hxx.