LibreOffice Module ucb (master)  1
Public Member Functions | Static Public Member Functions | Private Attributes | Static Private Attributes | List of all members
cmis::AuthProvider Class Reference

#include <auth_provider.hxx>

Inheritance diagram for cmis::AuthProvider:
[legend]
Collaboration diagram for cmis::AuthProvider:
[legend]

Public Member Functions

 AuthProvider (const css::uno::Reference< css::ucb::XCommandEnvironment > &xEnv, const OUString &sUrl, const OUString &sBindingUrl)
 
bool authenticationQuery (std::string &username, std::string &password) override
 

Static Public Member Functions

static char * onedriveAuthCodeFallback (const char *url, const char *, const char *)
 
static char * gdriveAuthCodeFallback (const char *, 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 const m_sUrl
 
OUString const m_sBindingUrl
 

Static Private Attributes

static css::uno::WeakReference< css::ucb::XCommandEnvironment > sm_xEnv
 

Detailed Description

Definition at line 27 of file auth_provider.hxx.

Constructor & Destructor Documentation

cmis::AuthProvider::AuthProvider ( const css::uno::Reference< css::ucb::XCommandEnvironment > &  xEnv,
const OUString &  sUrl,
const OUString &  sBindingUrl 
)
inline

Definition at line 35 of file auth_provider.hxx.

Member Function Documentation

bool cmis::AuthProvider::authenticationQuery ( std::string &  username,
std::string &  password 
)
override

Definition at line 25 of file auth_provider.cxx.

References OUSTR_TO_STDSTR, and STD_TO_OUSTR.

char * cmis::AuthProvider::gdriveAuthCodeFallback ( const char *  ,
const char *  ,
const char *   
)
static

Definition at line 124 of file auth_provider.cxx.

References OUSTR_TO_STDSTR.

Referenced by cmis::RepoContent::getRepositories().

css::uno::Reference< css::ucb::XCommandEnvironment > cmis::AuthProvider::getXEnv ( )
static

Definition at line 74 of file auth_provider.cxx.

char * cmis::AuthProvider::onedriveAuthCodeFallback ( const char *  url,
const char *  ,
const char *   
)
static

Definition at line 79 of file auth_provider.cxx.

References OUSTR_TO_STDSTR.

Referenced by cmis::RepoContent::getRepositories().

void cmis::AuthProvider::setXEnv ( const css::uno::Reference< css::ucb::XCommandEnvironment > &  xEnv)
static

Definition at line 69 of file auth_provider.cxx.

Referenced by cmis::RepoContent::getRepositories().

Member Data Documentation

OUString const cmis::AuthProvider::m_sBindingUrl
private

Definition at line 32 of file auth_provider.hxx.

OUString const cmis::AuthProvider::m_sUrl
private

Definition at line 31 of file auth_provider.hxx.

const css::uno::Reference< css::ucb::XCommandEnvironment>& cmis::AuthProvider::m_xEnv
private

Definition at line 29 of file auth_provider.hxx.

css::uno::WeakReference< css::ucb::XCommandEnvironment > cmis::AuthProvider::sm_xEnv
staticprivate

Definition at line 30 of file auth_provider.hxx.


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