Taylohtio/SSOExtension/Test/Program.cs

30 lines
734 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Taloyhtio.SSOExtension.CodeFiles;
namespace Test
{
class Program
{
static void Main(string[] args)
{
var c = new LinkCreator();
var pi = new PartnerInfo
{
EncryptionKey = "8db42a57-baea-4dd6-8330-f2fcdce5",
SignatureKey = "676a6ed7-2704-461e-b90e-2e366b62",
Url = "http://example.com"
};
var cr = new Credentials
{
UserName = "test",
Password = "123"
};
string msg;
var link = c.Create("", pi, cr, out msg);
}
}
}