Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
chat
RocketChatMobileEngine
Commits
61f6293e
Commit
61f6293e
authored
Oct 26, 2017
by
armin
Browse files
added samllogin source file
parent
3c5531a7
Changes
2
Hide whitespace changes
Inline
Side-by-side
ddpRequests/ddpsamlloginrequest.cpp
0 → 100644
View file @
61f6293e
#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
);
}
ddpRequests/ddpsamlloginrequest.h
0 → 100644
View file @
61f6293e
#ifndef DDPSAMLLOGINREQUEST_H
#define DDPSAMLLOGINREQUEST_H
#include
"ddpmethodrequest.h"
class
ddpSamlLoginRequest
:
public
DDPMethodRequest
{
public:
ddpSamlLoginRequest
(
QString
pSamlToken
);
};
#endif // DDPSAMLLOGINREQUEST_H
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment