mirror of
https://github.com/lubosz/overte.git
synced 2025-04-27 16:35:28 +02:00
Added loginDomain stub.
This commit is contained in:
parent
d7c0493b7a
commit
cd9f47004b
2 changed files with 7 additions and 0 deletions
interface/src/ui
|
@ -135,6 +135,12 @@ void LoginDialog::login(const QString& username, const QString& password) const
|
|||
DependencyManager::get<AccountManager>()->requestAccessToken(username, password);
|
||||
}
|
||||
|
||||
void LoginDialog::loginDomain(const QString& username, const QString& password, const QUrl domainAuthProvider) const {
|
||||
qDebug() << "Attempting to login " << username << "into a domain through" << domainAuthProvider;
|
||||
// TODO:
|
||||
// DependencyManager::get<DomainAccountManager>()->requestAccessToken(username, password, domainAuthProvider);
|
||||
}
|
||||
|
||||
void LoginDialog::loginThroughOculus() {
|
||||
qDebug() << "Attempting to login through Oculus";
|
||||
if (auto oculusPlatformPlugin = PluginManager::getInstance()->getOculusPlatformPlugin()) {
|
||||
|
|
|
@ -71,6 +71,7 @@ protected slots:
|
|||
Q_INVOKABLE QString oculusUserID() const;
|
||||
|
||||
Q_INVOKABLE void login(const QString& username, const QString& password) const;
|
||||
Q_INVOKABLE void loginDomain(const QString& username, const QString& password, const QUrl domainAuthProvider) const;
|
||||
Q_INVOKABLE void loginThroughSteam();
|
||||
Q_INVOKABLE void linkSteam();
|
||||
Q_INVOKABLE void createAccountFromSteam(QString username = QString());
|
||||
|
|
Loading…
Reference in a new issue