TreeFrogFramework 2.10
Loading...
Searching...
No Matches
Variables
toauth2client.cpp File Reference
#include "toauth2client.h"
#include "thttpclient.h"
#include "thttputility.h"
#include <QMap>
#include <THttpRequest>
Include dependency graph for toauth2client.cpp:

Variables

const QMap< QString, int > oauth2ErrorCode
 

Variable Documentation

◆ oauth2ErrorCode

const QMap<QString, int> oauth2ErrorCode
Initial value:
= {
{QString("invalid_request"), TOAuth2Client::InvalidRequest},
{QString("invalid_client"), TOAuth2Client::InvalidClient},
{QString("invalid_grant"), TOAuth2Client::InvalidGrant},
{QString("unauthorized_client"), TOAuth2Client::UnauthorizedClient},
{QString("unsupported_grant_type"), TOAuth2Client::UnsupportedGrantType},
{QString("access_denied"), TOAuth2Client::AccessDenied},
{QString("unsupported_response_type"), TOAuth2Client::UnsupportedResponseType},
{QString("invalid_scope"), TOAuth2Client::InvalidScope},
{QString("server_error"), TOAuth2Client::ServerError},
{QString("temporarily_unavailable"), TOAuth2Client::TemporarilyUnavailable},
}
@ InvalidGrant
invalid grant
Definition toauth2client.h:15
@ InvalidClient
invalid client
Definition toauth2client.h:14
@ AccessDenied
access denied
Definition toauth2client.h:18
@ UnsupportedGrantType
unsupported grant type
Definition toauth2client.h:17
@ UnauthorizedClient
unauthorized client
Definition toauth2client.h:16
@ InvalidRequest
invalid request
Definition toauth2client.h:13
@ ServerError
server error
Definition toauth2client.h:21
@ TemporarilyUnavailable
temporarily unavailable
Definition toauth2client.h:22
@ InvalidScope
invalid scope
Definition toauth2client.h:20
@ UnsupportedResponseType
unsupported response type
Definition toauth2client.h:19