forked from loafle/openapi-generator-original
fix typo in cpp qt client (#11752)
This commit is contained in:
parent
9d86d1db5e
commit
bdfca5b95f
@ -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:
|
||||
|
@ -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:
|
||||
|
@ -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:
|
||||
|
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user