Files
simapi-net/AuthGate/SimApiAuthGateClient.cs
T

13 lines
585 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;
namespace SimApi.AuthGate;
2026-05-12 10:08:00 +08:00
public class SimApiAuthGateClient(SimApiOptions apiOptions, ILogger<SimApiAuthGateClient> logger)
: SimApiHttpClient(apiOptions, logger)
2026-05-12 09:39:23 +08:00
{
public override string Server { get; init; } = apiOptions.SimApiAuthGateOptions.Server ?? string.Empty;
public override string AppId { get; init; } = apiOptions.SimApiAuthGateOptions.AppId ?? string.Empty;
public override string AppKey { get; init; } = apiOptions.SimApiAuthGateOptions.AppKey ?? string.Empty;
}