fix typo in cpp qt client (#11752)

This commit is contained in:
William Cheng 2022-03-01 13:52:41 +08:00 committed by GitHub
parent 9d86d1db5e
commit bdfca5b95f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 16 additions and 16 deletions

View File

@ -922,7 +922,7 @@ void {{classname}}::tokenAvailable(){
_latestWorker->execute(&_latestInput);
}else{
_implicitFlow.removeToken(_latestScope.join(" "));
qDebug() << "Could not retreive a valid token";
qDebug() << "Could not retrieve a valid token";
}
break;
case 2: //authorization flow
@ -932,7 +932,7 @@ void {{classname}}::tokenAvailable(){
_latestWorker->execute(&_latestInput);
}else{
_authFlow.removeToken(_latestScope.join(" "));
qDebug() << "Could not retreive a valid token";
qDebug() << "Could not retrieve a valid token";
}
break;
case 3: //client credentials flow
@ -942,7 +942,7 @@ void {{classname}}::tokenAvailable(){
_latestWorker->execute(&_latestInput);
}else{
_credentialFlow.removeToken(_latestScope.join(" "));
qDebug() << "Could not retreive a valid token";
qDebug() << "Could not retrieve a valid token";
}
break;
case 4: //resource owner password flow
@ -952,7 +952,7 @@ void {{classname}}::tokenAvailable(){
_latestWorker->execute(&_latestInput);
}else{
_credentialFlow.removeToken(_latestScope.join(" "));
qDebug() << "Could not retreive a valid token";
qDebug() << "Could not retrieve a valid token";
}
break;
default:

View File

@ -1185,7 +1185,7 @@ void PFXPetApi::tokenAvailable(){
_latestWorker->execute(&_latestInput);
}else{
_implicitFlow.removeToken(_latestScope.join(" "));
qDebug() << "Could not retreive a valid token";
qDebug() << "Could not retrieve a valid token";
}
break;
case 2: //authorization flow
@ -1195,7 +1195,7 @@ void PFXPetApi::tokenAvailable(){
_latestWorker->execute(&_latestInput);
}else{
_authFlow.removeToken(_latestScope.join(" "));
qDebug() << "Could not retreive a valid token";
qDebug() << "Could not retrieve a valid token";
}
break;
case 3: //client credentials flow
@ -1205,7 +1205,7 @@ void PFXPetApi::tokenAvailable(){
_latestWorker->execute(&_latestInput);
}else{
_credentialFlow.removeToken(_latestScope.join(" "));
qDebug() << "Could not retreive a valid token";
qDebug() << "Could not retrieve a valid token";
}
break;
case 4: //resource owner password flow
@ -1215,7 +1215,7 @@ void PFXPetApi::tokenAvailable(){
_latestWorker->execute(&_latestInput);
}else{
_credentialFlow.removeToken(_latestScope.join(" "));
qDebug() << "Could not retreive a valid token";
qDebug() << "Could not retrieve a valid token";
}
break;
default:

View File

@ -469,7 +469,7 @@ void PFXStoreApi::tokenAvailable(){
_latestWorker->execute(&_latestInput);
}else{
_implicitFlow.removeToken(_latestScope.join(" "));
qDebug() << "Could not retreive a valid token";
qDebug() << "Could not retrieve a valid token";
}
break;
case 2: //authorization flow
@ -479,7 +479,7 @@ void PFXStoreApi::tokenAvailable(){
_latestWorker->execute(&_latestInput);
}else{
_authFlow.removeToken(_latestScope.join(" "));
qDebug() << "Could not retreive a valid token";
qDebug() << "Could not retrieve a valid token";
}
break;
case 3: //client credentials flow
@ -489,7 +489,7 @@ void PFXStoreApi::tokenAvailable(){
_latestWorker->execute(&_latestInput);
}else{
_credentialFlow.removeToken(_latestScope.join(" "));
qDebug() << "Could not retreive a valid token";
qDebug() << "Could not retrieve a valid token";
}
break;
case 4: //resource owner password flow
@ -499,7 +499,7 @@ void PFXStoreApi::tokenAvailable(){
_latestWorker->execute(&_latestInput);
}else{
_credentialFlow.removeToken(_latestScope.join(" "));
qDebug() << "Could not retreive a valid token";
qDebug() << "Could not retrieve a valid token";
}
break;
default:

View File

@ -713,7 +713,7 @@ void PFXUserApi::tokenAvailable(){
_latestWorker->execute(&_latestInput);
}else{
_implicitFlow.removeToken(_latestScope.join(" "));
qDebug() << "Could not retreive a valid token";
qDebug() << "Could not retrieve a valid token";
}
break;
case 2: //authorization flow
@ -723,7 +723,7 @@ void PFXUserApi::tokenAvailable(){
_latestWorker->execute(&_latestInput);
}else{
_authFlow.removeToken(_latestScope.join(" "));
qDebug() << "Could not retreive a valid token";
qDebug() << "Could not retrieve a valid token";
}
break;
case 3: //client credentials flow
@ -733,7 +733,7 @@ void PFXUserApi::tokenAvailable(){
_latestWorker->execute(&_latestInput);
}else{
_credentialFlow.removeToken(_latestScope.join(" "));
qDebug() << "Could not retreive a valid token";
qDebug() << "Could not retrieve a valid token";
}
break;
case 4: //resource owner password flow
@ -743,7 +743,7 @@ void PFXUserApi::tokenAvailable(){
_latestWorker->execute(&_latestInput);
}else{
_credentialFlow.removeToken(_latestScope.join(" "));
qDebug() << "Could not retreive a valid token";
qDebug() << "Could not retrieve a valid token";
}
break;
default: