Commit 61f6293e authored by armin's avatar armin
Browse files

added samllogin source file

parent 3c5531a7
#include "ddpsamlloginrequest.h"
#include <QDebug>
ddpSamlLoginRequest::ddpSamlLoginRequest(QString pSamlToken)
{
qDebug()<<"saml token: "<<pSamlToken;
QJsonObject tokenParameter;
tokenParameter["saml"] = true;
tokenParameter["credentialToken"] = pSamlToken;
QJsonArray params = {tokenParameter};
buildRequest( "login", params );
}
#ifndef DDPSAMLLOGINREQUEST_H
#define DDPSAMLLOGINREQUEST_H
#include "ddpmethodrequest.h"
class ddpSamlLoginRequest : public DDPMethodRequest
{
public:
ddpSamlLoginRequest(QString pSamlToken);
};
#endif // DDPSAMLLOGINREQUEST_H
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment