// Copyright Epic Games, Inc. All Rights Reserved.
using Microsoft.IdentityModel.Tokens;
using MongoDB.Bson;
namespace HordeServer.Server
{
///
/// Global server settings
///
public interface IGlobals
{
///
/// Unique instance id of this database
///
ObjectId InstanceId { get; }
///
/// Issuer for JWT keys. Can be overridden by config file.
///
string JwtIssuer { get; }
///
/// The signing key for this server cluster
///
public SecurityKey JwtSigningKey { get; }
///
/// RSA security key for this cluster
///
public RsaSecurityKey RsaSigningKey { get; }
}
}