18 lines
493 B
C#
18 lines
493 B
C#
using System.Text;
|
|
using Microsoft.IdentityModel.Tokens;
|
|
|
|
namespace TURN.Services.Chess
|
|
{
|
|
public class AuthOptions
|
|
{
|
|
public const string ISSUER = "MyAuthServer";
|
|
public const string AUDIENCE = "MyAuthClient";
|
|
public const string KEY = "gfsdfaverGEahjnhtrsBHSRtfbr564T#t346bdfW3rt4rft";
|
|
|
|
public static SymmetricSecurityKey GetSymmetricSecurityKey()
|
|
{
|
|
return new SymmetricSecurityKey(Encoding.UTF8.GetBytes(KEY));
|
|
}
|
|
}
|
|
}
|