frontend: Add renamed OAuth implementation
This commit is contained in:
parent
09ebf7ddfc
commit
8e4ee1d3fc
8 changed files with 37 additions and 49 deletions
|
|
@ -1,8 +1,8 @@
|
|||
#include "moc_auth-base.cpp"
|
||||
#include "window-basic-main.hpp"
|
||||
#include "Auth.hpp"
|
||||
|
||||
#include <vector>
|
||||
#include <map>
|
||||
#include <widgets/OBSBasic.hpp>
|
||||
|
||||
#include "moc_Auth.cpp"
|
||||
|
||||
struct AuthInfo {
|
||||
Auth::Def def;
|
||||
|
|
@ -1,8 +1,6 @@
|
|||
#pragma once
|
||||
|
||||
#include <QObject>
|
||||
#include <functional>
|
||||
#include <memory>
|
||||
|
||||
class Auth : public QObject {
|
||||
Q_OBJECT
|
||||
|
|
@ -1,12 +1,14 @@
|
|||
#include "moc_auth-listener.cpp"
|
||||
#include "AuthListener.hpp"
|
||||
|
||||
#include <OBSApp.hpp>
|
||||
|
||||
#include <QRegularExpression>
|
||||
#include <QRegularExpressionMatch>
|
||||
#include <QString>
|
||||
#include <QtNetwork/QTcpSocket>
|
||||
#include <qt-wrappers.hpp>
|
||||
|
||||
#include "obs-app.hpp"
|
||||
#include <QRegularExpression>
|
||||
#include <QTcpServer>
|
||||
#include <QTcpSocket>
|
||||
|
||||
#include "moc_AuthListener.cpp"
|
||||
|
||||
#define LOGO_URL "https://obsproject.com/assets/images/new_icon_small-r.png"
|
||||
|
||||
|
|
@ -1,7 +1,8 @@
|
|||
#pragma once
|
||||
|
||||
#include <QObject>
|
||||
#include <QtNetwork/QTcpServer>
|
||||
|
||||
class QTcpServer;
|
||||
|
||||
class AuthListener : public QObject {
|
||||
Q_OBJECT
|
||||
|
|
@ -1,19 +1,17 @@
|
|||
#include "moc_auth-restream.cpp"
|
||||
#include "RestreamAuth.hpp"
|
||||
|
||||
#include <dialogs/OAuthLogin.hpp>
|
||||
#include <docks/BrowserDock.hpp>
|
||||
#include <utility/RemoteTextThread.hpp>
|
||||
#include <utility/obf.h>
|
||||
#include <widgets/OBSBasic.hpp>
|
||||
|
||||
#include <QPushButton>
|
||||
#include <QHBoxLayout>
|
||||
#include <QVBoxLayout>
|
||||
#include <qt-wrappers.hpp>
|
||||
#include <json11.hpp>
|
||||
#include <ctime>
|
||||
#include <sstream>
|
||||
#include <ui-config.h>
|
||||
|
||||
#include <obs-app.hpp>
|
||||
#include "window-dock-browser.hpp"
|
||||
#include "window-basic-main.hpp"
|
||||
#include "remote-text.hpp"
|
||||
#include "ui-config.h"
|
||||
#include "obf.h"
|
||||
#include <json11.hpp>
|
||||
|
||||
#include "moc_RestreamAuth.cpp"
|
||||
|
||||
using namespace json11;
|
||||
|
||||
|
|
@ -1,8 +1,6 @@
|
|||
#pragma once
|
||||
|
||||
#include "auth-oauth.hpp"
|
||||
|
||||
class BrowserDock;
|
||||
#include "OAuth.hpp"
|
||||
|
||||
class RestreamAuth : public OAuthStreamKey {
|
||||
Q_OBJECT
|
||||
|
|
@ -1,22 +1,17 @@
|
|||
#include "moc_auth-twitch.cpp"
|
||||
#include "TwitchAuth.hpp"
|
||||
|
||||
#include <QRegularExpression>
|
||||
#include <QPushButton>
|
||||
#include <QHBoxLayout>
|
||||
#include <QVBoxLayout>
|
||||
#include <QUuid>
|
||||
#include <dialogs/OAuthLogin.hpp>
|
||||
#include <docks/BrowserDock.hpp>
|
||||
#include <utility/RemoteTextThread.hpp>
|
||||
#include <utility/obf.h>
|
||||
#include <widgets/OBSBasic.hpp>
|
||||
|
||||
#include <qt-wrappers.hpp>
|
||||
#include <obs-app.hpp>
|
||||
#include <ui-config.h>
|
||||
|
||||
#include "window-dock-browser.hpp"
|
||||
#include "window-basic-main.hpp"
|
||||
#include "remote-text.hpp"
|
||||
#include <QUuid>
|
||||
|
||||
#include <json11.hpp>
|
||||
|
||||
#include "ui-config.h"
|
||||
#include "obf.h"
|
||||
#include "moc_TwitchAuth.cpp"
|
||||
|
||||
using namespace json11;
|
||||
|
||||
|
|
@ -1,14 +1,10 @@
|
|||
#pragma once
|
||||
|
||||
#include <QDialog>
|
||||
#include <QTimer>
|
||||
#include <string>
|
||||
#include <memory>
|
||||
#include "OAuth.hpp"
|
||||
|
||||
#include <json11.hpp>
|
||||
#include "auth-oauth.hpp"
|
||||
|
||||
class BrowserDock;
|
||||
#include <QTimer>
|
||||
|
||||
class TwitchAuth : public OAuthStreamKey {
|
||||
Q_OBJECT
|
||||
Loading…
Add table
Add a link
Reference in a new issue