mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-08-07 04:53:15 -04:00
frontend: Add renamed OAuth implementation
This commit is contained in:
8 files changed
+37
-49
No files matched your search
@@ -1,8 +1,8 @@
|
|||||||
#include "moc_auth-base.cpp"
|
#include "Auth.hpp"
|
||||||
#include "window-basic-main.hpp"
|
|
||||||
|
|
||||||
#include <vector>
|
#include <widgets/OBSBasic.hpp>
|
||||||
#include <map>
|
|
||||||
|
#include "moc_Auth.cpp"
|
||||||
|
|
||||||
struct AuthInfo {
|
struct AuthInfo {
|
||||||
Auth::Def def;
|
Auth::Def def;
|
||||||
@@ -1,8 +1,6 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
#include <functional>
|
|
||||||
#include <memory>
|
|
||||||
|
|
||||||
class Auth : public QObject {
|
class Auth : public QObject {
|
||||||
Q_OBJECT
|
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 <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"
|
#define LOGO_URL "https://obsproject.com/assets/images/new_icon_small-r.png"
|
||||||
|
|
||||||
@@ -1,7 +1,8 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
#include <QtNetwork/QTcpServer>
|
|
||||||
|
class QTcpServer;
|
||||||
|
|
||||||
class AuthListener : public QObject {
|
class AuthListener : public QObject {
|
||||||
Q_OBJECT
|
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 <qt-wrappers.hpp>
|
||||||
#include <json11.hpp>
|
#include <ui-config.h>
|
||||||
#include <ctime>
|
|
||||||
#include <sstream>
|
|
||||||
|
|
||||||
#include <obs-app.hpp>
|
#include <json11.hpp>
|
||||||
#include "window-dock-browser.hpp"
|
|
||||||
#include "window-basic-main.hpp"
|
#include "moc_RestreamAuth.cpp"
|
||||||
#include "remote-text.hpp"
|
|
||||||
#include "ui-config.h"
|
|
||||||
#include "obf.h"
|
|
||||||
|
|
||||||
using namespace json11;
|
using namespace json11;
|
||||||
|
|
||||||
@@ -1,8 +1,6 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "auth-oauth.hpp"
|
#include "OAuth.hpp"
|
||||||
|
|
||||||
class BrowserDock;
|
|
||||||
|
|
||||||
class RestreamAuth : public OAuthStreamKey {
|
class RestreamAuth : public OAuthStreamKey {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
@@ -1,22 +1,17 @@
|
|||||||
#include "moc_auth-twitch.cpp"
|
#include "TwitchAuth.hpp"
|
||||||
|
|
||||||
#include <QRegularExpression>
|
#include <dialogs/OAuthLogin.hpp>
|
||||||
#include <QPushButton>
|
#include <docks/BrowserDock.hpp>
|
||||||
#include <QHBoxLayout>
|
#include <utility/RemoteTextThread.hpp>
|
||||||
#include <QVBoxLayout>
|
#include <utility/obf.h>
|
||||||
#include <QUuid>
|
#include <widgets/OBSBasic.hpp>
|
||||||
|
|
||||||
#include <qt-wrappers.hpp>
|
#include <qt-wrappers.hpp>
|
||||||
#include <obs-app.hpp>
|
#include <ui-config.h>
|
||||||
|
|
||||||
#include "window-dock-browser.hpp"
|
#include <QUuid>
|
||||||
#include "window-basic-main.hpp"
|
|
||||||
#include "remote-text.hpp"
|
|
||||||
|
|
||||||
#include <json11.hpp>
|
#include "moc_TwitchAuth.cpp"
|
||||||
|
|
||||||
#include "ui-config.h"
|
|
||||||
#include "obf.h"
|
|
||||||
|
|
||||||
using namespace json11;
|
using namespace json11;
|
||||||
|
|
||||||
@@ -1,14 +1,10 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <QDialog>
|
#include "OAuth.hpp"
|
||||||
#include <QTimer>
|
|
||||||
#include <string>
|
|
||||||
#include <memory>
|
|
||||||
|
|
||||||
#include <json11.hpp>
|
#include <json11.hpp>
|
||||||
#include "auth-oauth.hpp"
|
|
||||||
|
|
||||||
class BrowserDock;
|
#include <QTimer>
|
||||||
|
|
||||||
class TwitchAuth : public OAuthStreamKey {
|
class TwitchAuth : public OAuthStreamKey {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Reference in new issue
Block a user