Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
qtoauth
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jesus Fernandez
qtoauth
Merge requests
!1
QtOAuth refactor
Code
Review changes
Check out branch
Download
Patches
Plain diff
Closed
QtOAuth refactor
wip
into
master
Overview
0
Commits
26
Changes
41
Closed
Jesus Fernandez
requested to merge
wip
into
master
8 years ago
Overview
0
Commits
26
Changes
41
Expand
QtOAuth refactor
1
0
1
Merge request reports
Compare
master
master (base)
and
latest version
latest version
f1450ad9
26 commits,
8 years ago
41 files
+
1377
−
617
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
41
Search (e.g. *.vue) (Ctrl+P)
QtOAuth/private/qabstractoauth2_p.h
+
24
−
3
Options
@@ -67,7 +67,7 @@ QT_BEGIN_NAMESPACE
class
QNetworkAccessManager
;
class
QAbstractOAuth2Private
:
public
QAbstractOAuthPrivate
class
OAUTH_EXPORT
QAbstractOAuth2Private
:
public
QAbstractOAuthPrivate
{
Q_DECLARE_PUBLIC
(
QAbstractOAuth2
)
@@ -75,9 +75,30 @@ public:
QAbstractOAuth2Private
(
QNetworkAccessManager
*
manager
);
~
QAbstractOAuth2Private
();
QString
verifier
;
static
QString
generateRandomState
();
QAbstractOAuth2
::
Credential
consumer
;
QAbstractOAuth2
::
Credential
token
;
QString
scope
;
QString
apiKey
;
QString
userAgent
=
"qoauth/0.1"
;
struct
OAuth2KeyString
{
static
const
QString
accessToken
;
static
const
QString
clientId
;
static
const
QString
code
;
static
const
QString
error
;
static
const
QString
errorDescription
;
static
const
QString
errorUri
;
static
const
QString
expiresIn
;
static
const
QString
grantType
;
static
const
QString
redirectUri
;
static
const
QString
refreshToken
;
static
const
QString
responseType
;
static
const
QString
scope
;
static
const
QString
state
;
static
const
QString
tokenType
;
};
};
QT_END_NAMESPACE
Loading