Files

13 lines
582 B
C#
Raw Permalink Normal View History

2026-05-12 10:08:00 +08:00
using Microsoft.Extensions.Logging;
using SimApi.Configurations;
2026-05-12 09:39:23 +08:00
using SimApi.Helpers;
2026-05-20 09:38:40 +08:00
namespace SimApi.AuthSDK;
2026-05-12 09:39:23 +08:00
2026-05-20 09:38:40 +08:00
public class SimApiAuthClient(SimApiOptions apiOptions, ILogger<SimApiAuthClient> logger)
2026-05-12 10:08:00 +08:00
: SimApiHttpClient(apiOptions, logger)
2026-05-12 09:39:23 +08:00
{
2026-05-20 10:53:41 +08:00
public override string Server { get; init; } = apiOptions.SimApiAuthCenterOptions.Server ?? string.Empty;
public override string AppId { get; init; } = apiOptions.SimApiAuthCenterOptions.AppId ?? string.Empty;
public override string AppKey { get; init; } = apiOptions.SimApiAuthCenterOptions.AppKey ?? string.Empty;
2026-05-12 09:39:23 +08:00
}