You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 18, 2024. It is now read-only.
using Newtonsoft.Json;
using System;
using System.Security.Cryptography;
using System.Text;
namespace Helpers
{
public class sso
{
public Object GetUserSSOData()
{
Object user1 = null;
user1 = new
{
id = 66,
name = "Example user",
email = "[email protected]",
picture = "http://example.com/profile.png",
url = "https://example.com"
};
string json = JsonConvert.SerializeObject(user1);
var userData = Convert.ToBase64String(Encoding.UTF8.GetBytes(json));
var hash = GetHashedMessage(userData);
using Newtonsoft.Json;
using System;
using System.Security.Cryptography;
using System.Text;
namespace Helpers
{
public class sso
{
public Object GetUserSSOData()
{
Object user1 = null;
user1 = new
{
id = 66,
name = "Example user",
email = "[email protected]",
picture = "http://example.com/profile.png",
url = "https://example.com"
};
string json = JsonConvert.SerializeObject(user1);
var userData = Convert.ToBase64String(Encoding.UTF8.GetBytes(json));
var hash = GetHashedMessage(userData);
}
sso.zip
The text was updated successfully, but these errors were encountered: