public static PlayerAuthServiceClient CreatePlayerAuthClient(Options.Common options) { return(string.IsNullOrEmpty(options.Environment) ? PlayerAuthServiceClient.Create() : PlayerAuthServiceClient.Create(GetEndpoint(options.Environment), GetTokenCredential(options.Environment))); }
public static SnapshotServiceClient CreateSnapshotClient(Options.Common options) { return(string.IsNullOrEmpty(options.Environment) ? SnapshotServiceClient.Create() : SnapshotServiceClient.Create(GetEndpoint(options.Environment), GetTokenCredential(options.Environment))); }